Jump to content

Highly increased file size when using transparent color


Recommended Posts

Just happened: I saved a PNG file of size 155px * 198px and with transparent parts and the result is an image with way too high file size (1.3MB, see [...] ).

When replacing that transparency with any color its size is as planned (12KB, see [...] ).

I'm using Paint.NET 4.0.4, just checked Paint.NET 4.0.3 and got the same problem.

Am not sure, if this is a real bug or my fault, just tell me.

Edited by lars-sh

Best regards,
Lars Knickrehm

Link to comment
Share on other sites

For some reason the second file contains a quite large ICC. Maybe you imported the file from an other source.

Paint.NET does not remove all old Metadata. So Paint.NET keeps the ICC if you are saving as 32bit PNG.

Rick may know why there is a difference in behaviour between 32bit and 24bit.

 

Select all, copy, paste to a new image, save as png (auto or 32 bit) will remove the ICC and other chunks not used by Paint.NET.

The resulting size will be 10.9KB.

  • Upvote 3

midoras signature.gif

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...