Staff MEB Posted August 16, 2017 Staff Share Posted August 16, 2017 Hi djburt, You have to thank @MattP (from dev team) for spotting the dpi difference, not me. Anyway, i'm glad to know this is working as intended. Quote A Guide to Learning Affinity Software Link to comment Share on other sites More sharing options...
djburt Posted August 17, 2017 Share Posted August 17, 2017 10 hours ago, MEB said: Hi djburt, You have to thank @MattP (from dev team) for spotting the dpi difference, not me. Anyway, i'm glad to know this is working as intended. Thanks MattP! Quote Link to comment Share on other sites More sharing options...
Junon Posted September 21, 2018 Share Posted September 21, 2018 EDIT: nevermind. Forgot things worked differently on retina. Quote Link to comment Share on other sites More sharing options...
johanna Posted October 8, 2018 Share Posted October 8, 2018 The fact that I couldn't properly export a simple, cropped JPEG was driving me mad, so I spent the good part of today exporting and comparing all possible sorts of combinations of PNGs and JPEGs in order to avoid having to buy another app. This is what I found: If you a) change the canvas size, and b) resize the image (thus resampling the image – resampling is a requirement when resizing) before exporting it, thus resampling the image twice (since resampling is also required during export), the result will be blurry. In simpler terms: canvas resize + image resize = blurry export. If you a) change the canvas size, and b) leave the image unresized and unsampled until you export it (in which step resampling is required), the result will be sharp. In my example, when I chose Nearest Neighbour or Lanczos 3 (non-separable) during export it even became too sharp. If you need to resize the image, you can still do it in the export dialog. This has the added benefit of keeping the original image in its original size. The result will be the same whether the original image is a JPEG or a PNG. The result will be the same whether you change the DPI of the image or not. The result will be the same whether the canvas size is changed before or after the resampling is done. The result will be the same whether the exported image is of the same format as the original or not. With my image, I found that these resampling combinations also kept the image sharp, but all other combinations made it either blurry or too sharp: Bicubic before export + Nearest Neighbour during export Bilinear before export + Nearest Neighbour during export Lanczos 3 (separable) before export + Nearest Neighbour during export Compare attached images: original.jpg Untouched, 300 DPI JPEG. blurry.jpg Canvas enlarged 15 px on each side. Image resized to 72 DPI, which made the height adjust automatically from 4423 px to 1061.5 px. Height manually adjusted to 300 px before image resampled using the Bilinear (default) method. Image exported without size change using the Bilinear (default) resampling method. The method above is the method that a lot of people seem used to from Photoshop. It has always produced sharp results in Photoshop for me. sharp-with-compensated-size.jpg Canvas enlarged 15 px on each side. Image resized to 72 DPI, which made the height adjust automatically from 4423 px to 1061.5 px. Height manually adjusted back to 4423 px before image resampled using the Bilinear (default) method. Image resized from 4423 px to 300 px height in the Export dialog, then exported with Bilinear (default) resampling method. sharp-without-compensated-size.jpg Canvas enlarged 15px on each side. Image resized to 72 DPI, which made the height adjust automatically from 4423 px to 1061.5 px. Image resampled without further height adjustment using the Bilinear (default) method. Image resized from 1061.5 px to 300 px height in the Export dialog, then exported with Bilinear (default) resampling method. In the two small sharp images, the woman by the piano looks exactly the same even when zoomed in closely, but the text is a tiny bit smoother in the one without compensated size. I think which of these two alternatives is the best is a matter of preference from case to case. Quote Link to comment Share on other sites More sharing options...
Fixx Posted October 9, 2018 Share Posted October 9, 2018 13 hours ago, johanna said: I spent the good part of today exporting and comparing all possible sorts of combinations So you say resample at export work but resample with image size command does not (unless combined with export resample)? Remarkable! (Now devs should correct this problem, but meanwhile) if others will confirm this behaviour we should resample only at export. Quote Link to comment Share on other sites More sharing options...
John Rostron Posted October 9, 2018 Share Posted October 9, 2018 I have difficulty understanding your results, mainly because the various images are at different sizes which makes comparison awkward. Three out of four are really too small for proper examination. Because what you are trying to do seems an interesting project, I will try to follow your procedures and see what I come up with. I was intreagued that your forensic medicine laboratory was examining a grand piano. John Quote Windows 10, Affinity Photo 1.10.5 Designer 1.10.5 and Publisher 1.10.5 (mainly Photo), now ex-Adobe CC CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630 Link to comment Share on other sites More sharing options...
John Rostron Posted October 9, 2018 Share Posted October 9, 2018 I have just run your procedures on an image that has been lurking on my PC for many years. After the various resizings, I ended up with three 300px images. Far too small to make any useful comparisons. This is the original image: This has followed the Blurry procedure: This is the Sharpen with Compensation: This is the Sharpen without Compensation: Just for good measure, I took my original and resized to 300px (ignoring the dpi) and using Lanczos Separable: I may run my own trials to create final images of a size that can be compared. John Quote Windows 10, Affinity Photo 1.10.5 Designer 1.10.5 and Publisher 1.10.5 (mainly Photo), now ex-Adobe CC CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630 Link to comment Share on other sites More sharing options...
John Rostron Posted October 9, 2018 Share Posted October 9, 2018 @johanna, I have just seen your post on embedding fonts from a pdf. This would eplain why your output files are so small. John Quote Windows 10, Affinity Photo 1.10.5 Designer 1.10.5 and Publisher 1.10.5 (mainly Photo), now ex-Adobe CC CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630 Link to comment Share on other sites More sharing options...
Alfred Posted October 9, 2018 Share Posted October 9, 2018 3 hours ago, John Rostron said: I was intreagued that your forensic medicine laboratory was examining a grand piano. They must have decided that it offered the potential for some key evidence! johanna, lepr and John Rostron 2 1 Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen) Link to comment Share on other sites More sharing options...
johanna Posted October 9, 2018 Share Posted October 9, 2018 3 hours ago, Fixx said: So you say resample at export work but resample with image size command does not (unless combined with export resample)? Remarkable! (Now devs should correct this problem, but meanwhile) if others will confirm this behaviour we should resample only at export. I think both resample methods work, but resampling twice gives a blurry export when combined with altering the canvas size. And because both resizing the image before export and exporting require resampling, resizing the canvas + resizing the image + exporting = blurry image. My test image is supposed to be a thumbnail on a website. It's not supposed to be readable, but it's supposed to not look awkward. I can at least myself clearly see the difference between the blurry one and any of the sharp ones, small as they are, and so can my client, who's now happy with the sharper image. All is well and I can continue to use Affinity Photo for exports of this kind. By the way, the ad is for a medical research fund. A person gave their grand piano to the fund so that the fund could sell it and use the income to sponsor a lot of awesome medical work. The placement of the piano in the lab is of course just meant to grab the reader's attention. John Rostron and Alfred 2 Quote Link to comment Share on other sites More sharing options...
thewesleyfox Posted March 23, 2019 Share Posted March 23, 2019 Hey... I know this is a fairly old post. But I think I just solved at least my version of this issue. I was simply trying to create a Facebook banner (820px x 312px). Simple high res background, my transparent vector logo, and a few lines of simple text. Every time I would go to export, no matter what format I tried, no matter what I changed regarding the DPI, etc., my text and logo was always pixelated and super unprofessional. After reading on here that it may have had something to do with me using my 2015 MacBook Pro 15" Retina, I started looking for any and all Retina-themed options/toggles. I found one that did the trick. In Export Persona, Slices, Export Preset, choose "Retina PNG-24" (instead of "Single PNG-24"). This resulted in two options for exported files, I chose the "x2" option, and now my image looks beautifully crisp and perfect. I did not have to rasterize anything or convert anything in the design itself. I believe this is a similar fix to one I saw earlier in this thread, advising to bump things up to a 200% view, but I didn't want to redesign anything, and now this is working perfectly. Not sure if you can tell a difference in these graphics (depending on what kind of screen you're viewing on), but I SURE can; and I am very happy to have found an easy solution to this. Hope this helps anyone who may be struggling with the same issue I had. Cheers! Quote Link to comment Share on other sites More sharing options...
SilverSeva Posted September 20, 2021 Share Posted September 20, 2021 Still an issue in 2021. Unbelievable Quote Link to comment Share on other sites More sharing options...
GoshGuest Posted April 5 Share Posted April 5 On 8/16/2017 at 4:16 PM, MEB said: Hi djburt, They are being resampled because the image on right (senior teacher badge) is at 477 dpi while the document is set to 72 dpi. If you right-click on this layer and select Rasterise it will be rasterised to document's dpi (72) and the document will not be resampled on export. Y'all really just don't want to fix this issue, do y'all? R C-R 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.