Author Topic: Save png as jpg  (Read 2838 times)

0 Members and 1 Guest are viewing this topic.

kevins

  • Member
  • **
  • Posts: 2
    • View Profile
Save png as jpg
« on: 2014-02-23 20:11:31 »
I'm having a problem that when saving png's to jpg's the backgroug is going from transparent to black. I have one image that when saved the background that was removed before saving as png returned.

Daan van Rooijen

  • Administrator
  • Sr. Member
  • *****
  • Posts: 938
    • View Profile
Save png as jpg
« Reply #1 on: 2014-02-23 22:45:20 »
> I'm having a problem that when saving png's to jpg's the backgroug is going from transparent to black. I have one image that when saved the background that was removed before saving as png returned.

Regular JPGs can't have transparent parts - every pixel must have an actual RGB color. So, when your PNG file had an alpha channel (i.e. a transparent section, often used in clipart, stock photos, etc), it will be replaced by a color. I believe the color used is "Background color for delete and cut" as defined under Options | Viewing | Editing.
I'm volunteering as a moderator - I do not work for Cerious Software, Inc.

kevins

  • Member
  • **
  • Posts: 2
    • View Profile
Save png as jpg
« Reply #2 on: 2014-02-24 10:27:52 »
>>I believe the color used is "Background color for delete and cut" as defined under Options | Viewing | Editing.

I do have this set as White but still getting black background

Here is an example Image


When I save as jpg I get this, I'd need white background.

Daan van Rooijen

  • Administrator
  • Sr. Member
  • *****
  • Posts: 938
    • View Profile
Save png as jpg
« Reply #3 on: 2014-02-24 20:37:31 »
Thanks for the sample pic. Yes, it seems like ThumbsPlus 9 doesn't use any of the configured colors but instead replaces the alpha channel by black..
I'm volunteering as a moderator - I do not work for Cerious Software, Inc.