Jump to content

PNG file size


Recommended Posts

I newer noticed that. But I have noticed that if I need to make a PNG file smaller, it sometimes can be done by opening it in IrfanView, and saving it again. I naturally assume it looses some quality.

My DA: http://leif-j.deviantart.com/

--------------

Some people seek justice so persistent, that they will do great injustice themselves.

Link to comment
Share on other sites

PNG is lossless, you won't lose quality.

This could just be a consequence of Paint.NET saving PNG's as 32-bit (24-bit RGB + 8-bit alpha/transparency), even if the image is opaque.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

There is something going on here...

I took a PNG file that I had created in PDN earlier (part of a comic snipped from a jpeg) and once I was done doing everything, it's filesize when saved as a PNG was 18473 bytes.

Later, I opened the file and saved it (without changing anything except the pathname) and it was 19067 bytes. Subsequently saving the file gave the same result; it did not continue to increase in size.

I noticed the files had metadata added saying Paint.NET v3.0. The original did not have that.

But that leaves about 580 bytes unaccounted for.

Also, for those not afraid of the command line, I've found pngUtils which can help shrink your PNG files. Most useful was pngquant which can take your 24-bit PNG file and make it an 8-bit pallette indexed file.

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.

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.

×
×
  • Create New...