i use convert to export all the pages of a pdf to images (one image per page). sometimes the pdf documents have transparent background, but i don't want to have this in the images. in okular (on linux mint 18) the background is white. how can i set up that convert exports the images with the same background color that okular displays. i use convert with servicemenus in kde, so the command line is always the same. the solution should work also for pdf documents without transparent background.
is there a settings in the pdf file where the pdf viewer reads out the color of the background or is it set in the okular settings, so that transparent background is always displayed white?
this is the command line:
Code: Select all
convert input -compress zip +adjoin output.tiff