It is currently Tue Jul 02, 2024 3:17 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: A script solution requested: conversion from text-only pdf to ...
PostPosted: Fri Jun 30, 2023 9:35 pm  (#1) 
Offline
GimpChat Member

Joined: Apr 03, 2017
Posts: 7
Full Question: A script solution requested: conversion from text-only pdf to pagewise image files

I have a text-only pdf.

Can a GIMP batch script be designed to open one page at a time, in the increasing order of page numbering, save that page as a low-resolution image, say 50dpi with file name as Filename-PageNumber with a particular file extension of one colour, i.e., black and transparent?

Moreover, advice is also requested on
(1) Whether such files could be saved with .svg extension?
(2) The benefit of svg extension over bmp in this particular case please?

This question has been posted on the either of the gimp-forum.net and gimpchat.com.

Request to post all your suggestions on the gimp-forum.net as all of you are probably subscribed to the either fora, to avoid replication of efforts.

Apologies for posting on the either fora. Only for wider visibility.

Best wishes


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: A script solution requested: conversion from text-only pdf to ...
PostPosted: Sat Jul 01, 2023 1:51 pm  (#2) 
Offline
GimpChat Member

Joined: Sep 26, 2015
Posts: 51
what you should try is Imagemagick. see here
https://stackoverflow.com/questions/715 ... background


Top
 Post subject: [Solved] A script solution requested: conversion from text-only pdf to
PostPosted: Sat Jul 01, 2023 7:50 pm  (#3) 
Offline
GimpChat Member

Joined: Apr 03, 2017
Posts: 7
A solution has been provided by Mr. rich2005 in the other forum.
Solution:
convert -density 50 name.pdf -colorspace Gray  name-gray-%03d.jpg

Thank you, Mr. AdmFubar and Mr. vitforlinux, for posting your suggestions. I really appreciate your intent to support fellow gimp users despite your hectic schedule.


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Requested plugin Christmas Wrapped Text

11

No new posts Dull colors in PDF export--RGB to CMYK conversion problem

10

No new posts script to load text file and create text layer

6

No new posts Attachment(s) create_valentine_day_card.py (Requested by Issabella) updated

16

No new posts Attachment(s) Create a Birthday card plugin (Requested by Jappaloe63)

14



* Login  



Powered by phpBB3 © phpBB Group