Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 11-22-2016, 01:34 PM   #1
wmfs
Junior Member
wmfs began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2012
Device: snoy
Conversion of PDF files to ZIP

When you select to convert PDF files to ZIP in Calibre, the file created when un-zipped will create a new directory contain a number of PNG files. However what is interesting is the if the original PDF files contained 'watermarks' these will be removed in the PNG files and a separate PNG created containing only the watermark.

Does anyone anyone how this is achieved?

Bill Seabrook

Last edited by wmfs; 11-22-2016 at 01:54 PM. Reason: added Calibre
wmfs is offline   Reply With Quote
Advert
Old 11-22-2016, 03:16 PM   #2
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 8,763
Karma: 7214669
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@wmfs - I know Imagemagick has that as an optional feature, there are lots of IM based gui and online wrappers out there that can do it. In version 2.57 Kovid replaced IM, IIRC with a Qt equivalent (QtImage/Paint ??), so I guess it can do it too.

BR
BetterRed is offline   Reply With Quote
Old 11-22-2016, 06:58 PM   #3
wmfs
Junior Member
wmfs began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2012
Device: snoy
Looks like you might be right @BetterRed! Using ImageMagick convert with -separate works in much the same way as Calibre, for example

convert -density 400 "myfile.pdf" -separate -resize 25% "myfile.png"

creates several .PNG files if a watermark is found.

Thanks
wmfs is offline   Reply With Quote
Reply

Tags
conversion, pdf, watermarks, zip

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zip to CBZ 'conversion' BetterRed Conversion 6 10-22-2013 09:52 PM
ZIP to MOBI conversion error ToshB Conversion 4 05-10-2012 07:43 AM
Zip to any other format conversion (OS X) Ztrel0cK Conversion 6 02-25-2012 09:34 AM
Converting your PDF files to Kindle using PDF2LRF (Better than Amazon's conversion) guineapiguser Amazon Kindle 33 08-02-2011 06:07 PM
Conversion issue with zip of Warbreaker Mitchll Calibre 6 07-28-2008 06:25 PM


All times are GMT -4. The time now is 03:46 PM.


MobileRead.com is a privately owned, operated and funded community.