Jump to content
You must now use your email address to sign in [click for more info] ×

PNG export (for vector), best Settings? files are unsharp?


Recommended Posts

Hi,

 

My export files seems like they have jpeg compression, they are not sharp.

First I tought it was Instagram who did extra compression or gmail.

But the original files on the HD are not good.

So something goes wrong with the export.

 

It's vector fom Designer.

And I need an export for web.

What are the best PNG settings?

are what's going wrong?

 

Thnx.

 

Link to comment
Share on other sites

  • Staff

Hi Olaf Rubens,

Welcome to Affinity Forums :)

Can you please post a screen capture of your project (on canvas) at 100% zoom and the exported PNG image so we can see what you are talking about?

Are you rescaling the image on export or the exported image have the same dimensions as the document size?

Link to comment
Share on other sites

the standard settings for web are 72 dpi.

DPI settings for web page images mean almost nothing. DPI ("dots per inch") are applicable when printing out a document (& only if the print driver & app settings honor that), but any raster image displayed on a web page will be displayed at a pixel resolution that depends on the browser's settings & capabilities, which you have no control over, & the html tags set for the image, which you may or may not have any control over.

 

Basically, for web pages it is never safe to assume "what you see is what they get," even for SVG or other vector formats. For raster formats (like PNG, JPEG, or GIF), the "best" settings will depend on the complexity of the image & the file size that produces a page load time acceptable to the targeted audience. The file size in turn depends on the color depth & color palette, the compression level & algorithm, etc. applied to the export.

 

In general, more complex images (both in fine detail & number of colors used) require larger pixel dimensions (& thus larger file sizes), but there is no "universal" setting for this.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

the standard settings for web are 72 dpi.

document is 500px on 500px

 

So... what is the issue with these two examples? They look fine to me. Perhaps the anti-aliasing is a tad on the soft side? In that case, export your work at double the resolution, and scale down to half the resolution with a tool that allows you to sample down with the catmulrom algorithm. That will result in razor-sharp looking anti-aliased edges.

 

Affinity does not support catmullrom, though (most design application do not). I use ColorQuantizer for this step, which also happens to result in far smaller files than what you can achieve in Affinity's web export. Color Quantizer is the best PNG optimization tool I am aware of.

Get it here for free: http://x128.ho.ua/color-quantizer.html

 

Not available for Macs :-( But can be run in WINE for Mac - it is worth it. I do this.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.