Image smoothing cannot be turned off

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Image smoothing cannot be turned off

Post by Timur Born » Fri Feb 10, 2017 5:53 pm

In 319 and 320 image smoothing is permanently turned on, regardless of what is set in Preferences -> Page Display -> Rendering.

I also think that its strength should be toned down a little. While it does a good job at blurring away compression artifacts it also blurs away quite a lot of detail. Something between its current strength and the rather weak smoothing of Acrobat DC should be sufficient.

And of course it should be possible to turn off image smoothing entirely. ;)

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Sun Feb 12, 2017 9:18 am

Is there any registry key or text configuration file where I might be able to override the current behavior? I'd like to turn image smoothing off.

User avatar
Will - Tracker Supp
Site Admin
Posts: 6806
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Image smoothing cannot be turned off

Post by Will - Tracker Supp » Sun Feb 12, 2017 7:55 pm

Hi Timur,

Would Edit --> Preferences --> Page Display --> Rendering --> Image Smoothing do as you need?

Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Mon Feb 13, 2017 1:33 am

No, unfortunately that option does not work. This is what I reported here in the first place. But maybe only the GUI is bugged and I can change the corresponding value manually in the Registry or some config file until it is fixed?

I also wonder why Editor uses such strong smoothing, especially compared to Acrobat? It seems a bit over the top to me, even though it blurrs away JPG compression artifacts nicely.

Willy Van Nuffel
User
Posts: 1389
Joined: Wed Jan 18, 2006 12:10 pm

Re: Image smoothing cannot be turned off

Post by Willy Van Nuffel » Mon Feb 13, 2017 5:12 pm

The best thing you can do, is post an example PDF.

So, everyone can clearly see that activating/deactivating the smooth option actually does not make any difference.

Best regards.

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Wed Feb 15, 2017 9:10 am

It's so easily tested that I didn't think I had to post an example. :P

But here you go: Screenshot using Windows' Magnify function showing a B/W bitmap image PDF viewed in XChange Editor and Acrobat Reader. Both have been set to turn image smoothing off in Preferences, Editor does not comply to the setting.

Curious extra-information: Acrobat uses a half-transluscent hand mouse-cursor. Never noticed that (too small anyway).
Attachments
Image_smoothing_off.7z
(428.51 KiB) Downloaded 36 times

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Thu Feb 16, 2017 3:05 pm

I checked the Registry, "b.SmoothImages" is set to 0 (zero). So it is not only a GUI bug, but the setting itself seems to be ignored by Editor (Viewer works).

User avatar
Will - Tracker Supp
Site Admin
Posts: 6806
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Image smoothing cannot be turned off

Post by Will - Tracker Supp » Thu Feb 16, 2017 3:47 pm

Sorry Timur, this slipped under the radar - Passing this along to the Devs..
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Thu Feb 16, 2017 5:01 pm

Perfect, thanks! :)

User avatar
Patrick-Tracker Supp
Site Admin
Posts: 1668
Joined: Thu Mar 27, 2014 6:14 pm
Location: Vancouver Island
Contact:

Re: Image smoothing cannot be turned off

Post by Patrick-Tracker Supp » Thu Feb 16, 2017 11:45 pm

:)
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Cheers,

Patrick Charest
Tracker Support North America

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Mon Mar 13, 2017 4:40 pm

Not fixed yet in 321. I'll wait for the next build then.

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13548
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Image smoothing cannot be turned off

Post by Tracker Supp-Stefan » Fri Mar 17, 2017 4:02 pm

Hi Timur,

I've made a ticket:
#3854: Editor 321: Image smoothing option not respected.
So that this can be queued up in the list of tasks.

Regards,
Stefan

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Fri Mar 17, 2017 4:46 pm

Great, thanks!

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13548
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Image smoothing cannot be turned off

Post by Tracker Supp-Stefan » Fri Mar 17, 2017 4:47 pm

:)

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Sun Jul 09, 2017 1:24 pm

Unfortunately this isn't fixed properly yet. Image smoothing can be turned off, but as a result the rendering of images is seriously broken. Here is a comparison:
Attachments
Sascha - Magus.pdf
(39.28 KiB) Downloaded 36 times
Xchange_IS_bug.jpg

User avatar
Will - Tracker Supp
Site Admin
Posts: 6806
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Image smoothing cannot be turned off

Post by Will - Tracker Supp » Tue Jul 11, 2017 10:44 am

Hi Timur,

Thanks for that - This looks to be a stroke adjust issue, to myself and my colleagues. I've added this to the existing ticket (RT-146), but please note that this is a long-term fix, as it's quite complex.

Thanks,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Tue Jul 11, 2017 1:42 pm

It's noteworthy that it doesn't happen with all images, but when it happens it always seems to compress the image to half its width to the left side and then just display noisy lines on the right half. I have full page size images where the whole right side is made up of those lines while the image is compressed to the left.

Overall image rendering still seems to be Editor's biggest weakness. I am running a 8 core / 16 thread behemoth, but still have to wait for image to be displayed in Editor. This becomes most apparent when quickly flipping pages in synchronous mode. Mind you, it still seems faster than Adobe Reader, even more so in asynchronous mode.

User avatar
Will - Tracker Supp
Site Admin
Posts: 6806
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Image smoothing cannot be turned off

Post by Will - Tracker Supp » Tue Jul 11, 2017 2:44 pm

Hi Timur,

The images that this affects can very greatly and to people such as myself (i.e. not a developer), it's not always clear what the difference really is. The Dev. Team are working to fix this, but it will unfortunately take time.

I'll pass the comments along and will see if there's any way that issues with the rendering engine can be further expidited, but I suspect that they are already seen as a very high priority and are likely being fixed as quickly as is possible.

Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Tue Jul 25, 2017 2:14 am

Turns out that the current bug with turning off image smoothing not only causes visual problems, but also leads to irregular crashes (mostly when zooming in on such an image).

User avatar
Will - Tracker Supp
Site Admin
Posts: 6806
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Image smoothing cannot be turned off

Post by Will - Tracker Supp » Tue Jul 25, 2017 7:16 am

Hi Timur,

I'm not able to reproduce the crash with the files here. Is there a different file that you're seeing the crash with?

Thanks,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Tue Jul 25, 2017 8:51 am

I sent you two files via e-mail with a link to this thread. This is a single page with background images underneath the text printed from Adobe Reader DC to X-Change Standard. The resulting PDF files includes seriously broken background image areas that make my Editor crash reproducibly when I zoom in on that area while image smoothing is turned off (you can also see the broken image while smoothed images are rendered for the first time).

The same files also demonstrates a font embedding flaws of X-Change Standard: https://www.tracker-software.com/forum3 ... m.php?f=39

User avatar
Will - Tracker Supp
Site Admin
Posts: 6806
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Image smoothing cannot be turned off

Post by Will - Tracker Supp » Tue Jul 25, 2017 9:11 am

Hi Timur,

Thanks for that - I've tested here and can reproduce the crash myself, so I created ticket RT-3975 to track the problem. Sincere apologies for that!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Tue Aug 15, 2017 11:56 am

Fixed a rendering issue when image smoothing is disabled. (T# 3975)
Thanks for this fix. Curiously I had to disable "Smooth Line Art" at least once in order for "Smooth Images" to be disabled as well (the option was disabled, but image smoothing still happened). Once I did that images no longer are anti-aliased and no more display errors seem to happen.

User avatar
Patrick-Tracker Supp
Site Admin
Posts: 1668
Joined: Thu Mar 27, 2014 6:14 pm
Location: Vancouver Island
Contact:

Re: Image smoothing cannot be turned off

Post by Patrick-Tracker Supp » Tue Aug 15, 2017 5:54 pm

Hi Timur,

Thank you for reporting that. We will keep our eyes on it, though I suspect it is some cached settings.

Cheers!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Cheers,

Patrick Charest
Tracker Support North America

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Sat Aug 26, 2017 8:34 pm

I noticed again that image smoothing was enabled in a file. In order to disable it I had to disable "Smooth Line Art" again.

User avatar
Will - Tracker Supp
Site Admin
Posts: 6806
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Image smoothing cannot be turned off

Post by Will - Tracker Supp » Tue Aug 29, 2017 7:25 am

Hi Timur,

I can't reproduce that - Can you send a sample document? If I already have a sample that you see this with, let me know which and I'll try again.

Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Tue Aug 29, 2017 9:36 am

I don't think that this depends on the specific document. Last time it happened with a newly created (printed to PDF) document. Today I tried all three ways of recreating this, printed via X-Change, via Primo and using the internal PDF creation of the software used. None of these reproduced the issue.

It seems to happen rather sporadically. Next time it happens I will try to find the corresponding registry key to see if Editor doesn't save its setting correctly or maybe the key gets corrupted (wrong security).

User avatar
Will - Tracker Supp
Site Admin
Posts: 6806
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Image smoothing cannot be turned off

Post by Will - Tracker Supp » Tue Aug 29, 2017 9:40 am

Hi Timur,

It's not so much about how the document was created, but the actual images themselves. It may be that they appear to be standard images, but are actually line art.

However, if it works with e.g. DocA.pdf once, then doesn't work with that same document without disabling 'Smooth Line Art' the next time, then that's unlikely to be the case.

Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Tue Aug 29, 2017 9:49 am

I think you misunderstood. The images are bitmap images and are affected by "Smooth Images". The problem is that sporadically these bitmap images are anti-aliased even when "Smooth Images" is disabled.

When this happens then switching "Smooth Images" on and off again does not do anything, just like before you fixed that in an earlier release. When this happens I have to disable "Smooth Line Art" once in order to make the "Smooth Images" option work again. After that I can enable "Smooth Line Art" again and the "Smooth Images" option will still work as intended and will also adhere to enabling/disabling it again.

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Thu Aug 31, 2017 9:04 pm

I just had a case where anti-aliasing happened again, despite "Image Smoothing" being disabled. This file had never been opened with "Image Smoothing" enabled before (created only today). This time I only had to enabled/disabled "Image Smoothing" to fix it, no need to switch "Smooth Line Art".

Unfortunately I forgot to check the registry. Where is that key saved again?
Editor_AA_bug_01.png
Editor_AA_bug_02.png

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Thu Aug 22, 2019 9:59 pm

Time to return to this thread. I did not specifically test image smoothing in document view lately, but image smoothing still is applied to images that are copied or saved out of XChange.

Adobe Reader does not smooth images that are copied out of it, even when smoothing is enabled via its rendering preferences. Likewise XChange should not smooth images that are copied/saved, but unfortunately it still does, regardless of preference settings.

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Tue Sep 03, 2019 1:56 pm

My current workaround is to use PDF Tools for extracting unblurred images, but obviously this is not very convenient when you only need single images out of a large PDF file.

Ivan - Tracker Software
Site Admin
Posts: 3609
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Image smoothing cannot be turned off

Post by Ivan - Tracker Software » Wed Sep 04, 2019 3:39 pm

The reason why images are copied 'smoothed' because we copy 'transformed' image, not the original one.
For example, when an image is rotated by 45 degrees, copied one will be rotated too.

We will add a command to copy an image as is, as we have for editing.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Wed Sep 04, 2019 5:52 pm

Ah, I understand. In that case it might be enough to just use the same option that is used for save/edit. Until then I will use the EDIT function instead.

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 2516
Joined: Wed Jan 03, 2018 6:52 pm

Re: Image smoothing cannot be turned off

Post by TrackerSupp-Daniel » Wed Sep 04, 2019 6:11 pm

I hope it helps for the time being! :D
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

Timur Born
User
Posts: 617
Joined: Tue Jun 26, 2012 1:50 pm

Re: Image smoothing cannot be turned off

Post by Timur Born » Wed Sep 04, 2019 6:16 pm

Yes, it's much better than extracting all images via PDF Tools when only single images are needed. Thanks for pointing me to said option.

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 2516
Joined: Wed Jan 03, 2018 6:52 pm

Re: Image smoothing cannot be turned off

Post by TrackerSupp-Daniel » Wed Sep 04, 2019 6:31 pm

:D
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

Post Reply