Jump to content
Sign in to follow this  
Stephen Voisey

Integration of something like TinyPNG.com

Recommended Posts

Hey lovely Serif,

 

Would it be possible to integrate a smarter export option for PNG's that are sliced or otherwise exported.

 

The default export produces some pretty hefty PNG file sizes, and at the moment I'm running them through TinyPNG.com after export.

 

Savings are significant. Typically around 60-75% smaller files. So 200kb retina images are being going down to 50kb with no visibly discernible differences (Although optimisation has taken place) (Examples attached).

 

So there is some loss going on, but it is nothing like the sort we used to see with JPEG compression.

 

I know gulp.js also has the option to integrate a similar compression into its workflow, but either way, I'd like to think that there would be a tick box in the export settings to enable this sort of file size crushing by default from the Affinity apps.

 

Thanks for your time.

 

Stephen

 

 

 

post-4490-0-92169200-1427487513_thumb.png

post-4490-0-78144700-1427487525_thumb.png

Share this post


Link to post
Share on other sites

Png 24 is a bitmap, there's no compression. That means every pixel is accounted for exactly. You can interlace it and play with the alpha channel, but that is about it. If they are following the format, then it should be the same as any other file.

Photoshop has a save for web feature which strips some of the overhead, but Affinity is not doing anything wrong. I think the option to save without an alpha channel might help. "Saving without background of selected" didn't change the file size. I think that is a bug, or at the least poorly worded in English. If you are getting 75% savings I find it hard to believe without seeing some screenshots.

Edit: Well I'm surprised. I missed the attached images because they didn't load for me at first. I can't replicate this.

 

I can, but I can't figure out why one has alpha channel and other does not, yet both files say they do.
 

Hey lovely Serif,

 

Would it be possible to integrate a smarter export option for PNG's that are sliced or otherwise exported.

 

The default export produces some pretty hefty PNG file sizes, and at the moment I'm running them through TinyPNG.com after export.

 

Savings are significant. Typically around 60-75% smaller files. So 200kb retina images are being going down to 50kb with no visibly discernible differences (Although optimisation has taken place) (Examples attached).

 

So there is some loss going on, but it is nothing like the sort we used to see with JPEG compression.

 

I know gulp.js also has the option to integrate a similar compression into its workflow, but either way, I'd like to think that there would be a tick box in the export settings to enable this sort of file size crushing by default from the Affinity apps.

 

Thanks for your time.

 

Stephen

Share this post


Link to post
Share on other sites

As shown by the different optimisers, there are many techniques you can use to write the same PNG differently and we can look at this in order to compress files more effectively - but at the cost of speed. That's not a problem. Also, we definitely need to be able to write a non-transparent RGB8 PNG image (24bit) so that's on the way too :)

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.