Mobile app version of vmapp.org
Login or Join
Sent7350415

: GIMP: PDF export introduces artifacts on edges where there is no background This is a followup question to gimp: Background removal gives gray fringe, when exported as pdf: To reproduce the problem

@Sent7350415

Posted in: #Alpha #BackgroundRemoval #Gimp #Pdf #Png

This is a followup question to gimp: Background removal gives gray fringe, when exported as pdf:

To reproduce the problem you have to follow these five steps:


In GIMP, create a New Fileo with Advanced Options → Color space: RGB color and Fill with: Background color (should be white to see the problem).
Add an alpha channel to your background.
Take the Free Select Tool and select an arbitrary area of the picture like this:


Press delete and you will end up with something like this:


Choose File → Export as... → PDF and open it in your PDF viewer. You will end up with this:




Why does this gray line appear? How can I get rid of it without flattening the image? Note that the gray line also appears, when first exporting the image as PNG and converting it to PDF afterwards. It seems as if the different exporting options have no effect on the outcome.

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent7350415

3 Comments

Sorted by latest first Latest Oldest Best

 

@Ravi4787994

I had the same problem and solved it by creating new layer from visible "New from Visible" and then exported this new layer to pdf. I am not sure if that helps Wamseln but in my case it was enough.

10% popularity Vote Up Vote Down


 

@BetL875

I found a workaround for the malfunction: before exporting to PDF, create a new layer mask for layers that have transparencies - when creating the mask, pick the option "Transfer Layer's Alpha Channel". The layer should look the same. Then, export the image as PDF and check the "Apply layer masks before saving". The transparency specified in the layer mask does not contain the artifacts.

BTW, thank you for opening the bug report.

10% popularity Vote Up Vote Down


 

@Murray976

As soon as you select 'Export as' option in the file menu, you are directed to a dialog box where you specify the name of the file. When you click export you get an option dialog box. Select the Convert bitmaps to vector graphics where possible in export dialog box. Resulting PDF won't have a fringe.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme