Staff MEB Posted August 16, 2017 Staff 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
djburt Posted August 17, 2017 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
Junon Posted September 21, 2018 Posted September 21, 2018 EDIT: nevermind. Forgot things worked differently on retina. Quote
johanna Posted October 8, 2018 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
Fixx Posted October 9, 2018 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
John Rostron Posted October 9, 2018 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 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050
John Rostron Posted October 9, 2018 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 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050
John Rostron Posted October 9, 2018 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 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050
Alfred Posted October 9, 2018 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! lepr, johanna 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.5.1 (iPad 7th gen)
johanna Posted October 9, 2018 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. Alfred and John Rostron 2 Quote
thewesleyfox Posted March 23, 2019 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
SilverSeva Posted September 20, 2021 Posted September 20, 2021 Still an issue in 2021. Unbelievable Quote
GoshGuest Posted April 5, 2024 Posted April 5, 2024 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
EvaWebdev Posted January 29 Posted January 29 I am having this issue as well. I created an image from 1248px by 792px. 72 dpi. When exporting different layers as webp or jpg, they both produce the same blurry images. Even gif does so. Is there still no solution?! Please don’t tell me I need to make a screenshot of the layered file in Affinity on my laptop with razor sharp display and crop it in Preview?! 🤔 (Attached screenshots should be sharp ) (Not sure why they expand to 100% with in this forum) Quote
R C-R Posted January 29 Posted January 29 3 minutes ago, EvaWebdev said: I am having this issue as well. I created an image from 1248px by 792px. 72 dpi. When exporting different layers as webp or jpg, they both produce the same blurry images. Even gif does so. Are you using Affinity Designer or Affinity Photo? Do the documents have any vector object layers or is every layer a pixel one? Is everything pixel aligned (whole pixel values for X, Y, W, & H values in the Transform panel)? Keep in mind that all bitmap (pixel) file formats like JPEG or GIF will apply antialiasing to any objects that do not fit exactly into full pixels, which will look like burring on edges. Quote All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
EvaWebdev Posted January 29 Posted January 29 On 3/23/2019 at 1:52 AM, thewesleyfox said: … 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 tried to follow your instruction. Something weird happened. I choose the Retina PNG-24. Then I exported the img to .png and .webp. Look what happened. Left the webp. Right the png, the letters have been eaten. Quote
EvaWebdev Posted January 29 Posted January 29 7 minutes ago, R C-R said: Are you using Affinity Designer or Affinity Photo? Do the documents have any vector object layers or is every layer a pixel one? Is everything pixel aligned (whole pixel values for X, Y, W, & H values in the Transform panel)? Keep in mind that all bitmap (pixel) file formats like JPEG or GIF will apply antialiasing to any objects that do not fit exactly into full pixels, which will look like burring on edges. Thanks for your reaction R C-R. I use Affinity Photo. (I am a former Photoshop CS6 user.) The layered Affinity Photo file contains pasted screenshots. Some of them rasterized. The screenshots are scaled and moved with the cursor, by whole pixels. This was never a problem in Photoshop. Quote
R C-R Posted January 29 Posted January 29 9 minutes ago, EvaWebdev said: The layered Affinity Photo file contains pasted screenshots. Some of them rasterized. The screenshots are scaled and moved with the cursor, by whole pixels. Are not all of them rasterized (bitmap) pixel layers? What else could they be? How specifically have they been scaled? Can you at least show us a screenshot of the Layers panel, ideally showing all the layers? Quote All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
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.