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
  Scale image to specific size MattRothschild 1 168 Sep 15, 2017 11:13
Last Post: ythgilb
  Request for script chlebna 1 127 Sep 13, 2017 09:35
Last Post: ythgilb
  Request for script - Guillotine + Watermark sunslick 1 193 Sep 4, 2017 08:51
Last Post: ythgilb
  Script-fu: How to create new, addressable layer using gimp-floating-sel-to-layer Bertholom√§us 2 181 Aug 31, 2017 14:32
Last Post: Bertholomäus
  How to modify this script-fu? Zakary81 1 152 Aug 23, 2017 12:48
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS