Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A script solution requested: conversion from text-only pdf to pagewise image files
#11
Solution received from Mr. Christy, Maintainer, Imagemagick, at https://github.com/ImageMagick/ImageMagi...nt-6354322, with the line:
Code:
convert -density 400 textfile.pdf -fill 'rgb(0,0,139)' -opaque black -resize 25% imagefile%03d.png
`
Solution was also received from Mr. Bob Friesenhahn, GraphicsMagick Maintainer, at https://sourceforge.net/p/graphicsmagick.../37865915/ with the lines:

Code:
convert -density 100 LoopEternal.pdf -colorspace Gray -colorspace rgb -fill blue -colorize 0/0/100  \
-transparent white +adjoin imagecon/image-%03d.png

and

Code:
convert -density 100 LoopEternal.pdf -colorspace Gray -colorspace rgb-fill blue -colorize 0/0/100 \
-fuzz 1% -transparent white +adjoin imagecon/name-%03d.png


I sincerely apologised for having two very kind and empowered individuals, Mr. 'Christy and Mr. Friesenhahn, to work for my single
problem, and creating the situation for them to duplicate their efforts. This was unintended, as I couldn't make out until today, if
there was a difference between the commands "convert" and "gm convert". convert for debian man page said that the command convert belonged to graphicsmagick.

My admiration for Mr. 'Christy and Mr. Friesenhahn knows no bounds, just like I really admire Mr. rich2005.

Thank you, dear all and best wishes,
Rajib
Etc.
Reply


Messages In This Thread
[SOLVED] conversion from text-only pdf to pagewise image files ... - by bkpsusmitaa - 07-04-2023, 03:31 PM

Forum Jump: