Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exported jpg different than what GIMP shows
#1
Hello! I spent the last few hours adding an alpha channel and removing the bordering white from an image. When I exported in GIMP as a jpg, the end file still has the white. I do not know enough to tell if this is a jpg issue, a GIMP issue, or a user (me) issue.

If this is an issue with jpg files, how can I work around this, as I need jpg? I can try other image formats, but would prefer jpg because LibreOffice Writer doesn't like png format.

I am using GIMP 2.10.38 on Windows 11.

Attached is the exported jpg file. I can't seem to be able to attach a second image, so I will attempt to reply with that.


Attached Files Thumbnail(s)
   
Reply
#2
(Today, 09:32 AM)Sygon_Paul Wrote: Hello! I spent the last few hours adding an alpha channel and removing the bordering white from an image. When I exported in GIMP as a jpg, the end file still has the white. I do not know enough to tell if this is a jpg issue, a GIMP issue, or a user (me) issue.

If this is an issue with jpg files, how can I work around this, as I need jpg? I can try other image formats, but would prefer jpg because LibreOffice Writer doesn't like png format.

I am using GIMP 2.10.38 on Windows 11.

Attached is the exported jpg file. I can't seem to be able to attach a second image, so I will attempt to reply with that.

Are there any transparent areas in your image? If so GIMP will save these as the background colour when you export to jpg.
Reply
#3
The Jpeg format doesn't support transparency, plain and simple. This is a format restriction, not a Gimp one.  When you export to Jpeg, transparent parts are replaced/filled by the background color.

No problem using PNGs with LO writer (24.2.7) though... What version are you using?
Reply
#4
Same as other posts: Export image formats that support transparency:  png / tif /psd

LO version 7.6

   
Reply
#5
Thank you for the replies. About two hours after I asked, I discovered that jpg doesn't support transparency. I also learned I was doing something wrong in LibreOffice, and I can use png files. It wasn't wasted time, as I discovered a few tools in GIMP to remove the white box frame behind the image. Unfortunately, those tools washed out some white in the main part, so I removed the white background by hand.

There may be a better idea, but what I have now is working as intended, even if it took me three and a half hours.
Reply


Forum Jump: