Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove images (with transparency/alpha channel) from PDF

Tags:

linux

pdf

How to remove images with alpha channel (transparency) in a PDF file?

I need to remove all images with transparency from a PDF file because it needs to be optimized with pdf2ps and ps2pdf (to reduce filesize).. Postscript doesn't work properly when the PDF contains images with transparency and the PDF will be converted to one big image..

like image 882
clarkk Avatar asked Feb 25 '14 16:02

clarkk


1 Answers

I have not managed to reproduce your problem.
For cons, I did the same treatment to compress my pdf except that I used pdftops instead of pdf2ps.
I hope it will help. Sorry for my english (translate.google)

like image 78
doydoy44 Avatar answered Nov 15 '22 06:11

doydoy44