Post Reply 

Script-fu script to conversion pdf to image

Feb 5, 2012, 00:21
Post: #16
RE: Script-fu script to conversion pdf to image
(Feb 4, 2012 20:36)4ever Wrote:  Well It works! I don't use -resample, but -density instead and the quality is very high.

Also why I get such wide margin all around the document? It is really wide. The PDF does not have margin. In the JPEG it would cost much of filesize. I guess the margin is 30% of the width and 30% of the height. Is it possible to reduce the space?

And in case that there would be more pages to send to files how to do it?

Thanks
Actually you should use PNG for these images. And the file size penalty of an empty margin is negligible.

For the other question, I'm pretty sure there is an answer but I would just be reading the ImageMagick docs for you. ImageMagick also has a forum with people who know IM inside out.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Feb 5, 2012, 00:30 (This post was last modified: Feb 5, 2012 11:37 by 4ever.)
Post: #17
RE: Script-fu script to conversion pdf to image
I look for cropping of images and I found this wonderful topic, where all necessary examples of the conversion are presented:
http://ubuntuforums.org/archive/index.php/t-391467.html

Also I found, that png get much more better quality then jpeg, because it looks it is more intelligent in keeping pixel/color information then jpeg. But though Well compressed JPG at 400 resolution and quality from 34 to 40% gets still very good quality and less size. And what more! This compressed JPEG (big file) will be read much more faster by reader/viewer.

I will write it down here:
Image (not cropped!) 13228px x 9354px x32b
PNG size is 7.605 kb (I think it was 80% instead 100%) but decreasing quality has no sense because the files get bigger! Next PNG with quality cca 40% was 8MB. Loading of this image takes almost 5 seconds!

The same density and size in JPEG:
in 100% quality takes 5.554kB only.
In 34% (=4/12) quality takes 4.549kB only!
These images are read rapidly fast and take cca 1/3 of a second!

Edit:
The command to crop margins I used was -shave 1600x1600 and
the resulting size is 4Mb. This is great.
Find all posts by this user
Quote this message in a reply
Feb 6, 2012, 06:22
Post: #18
RE: Script-fu script to conversion pdf to image
I think you can visit doremisoft.com for pdf to image converter for mac.Good luck to get the right guide.
Doremisoft PDF to Image Converter For Mac

I'm very glad to share my pdf tools for you.PDF to Word Converter For Mac
PDF to Epub Converter For Mac
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Dividing and printing a large image RayArdia 1 51 Aug 9, 2017 07:22
Last Post: ythgilb
  Late binding / COM for opening an image into GIMP? i73 2 61 Aug 4, 2017 17:39
Last Post: i73
  Need help in running a gui script-fu via command line eyalzek 2 224 Oct 4, 2014 14:05
Last Post: eyalzek
  Color menuitems in script or plugin Barbie 4 380 Sep 29, 2014 09:51
Last Post: paynekj
  script-fu ok in gimp, not in commad line dominique 1 261 Sep 28, 2014 03:18
Last Post: dominique

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS