I've just been using a simple python script which feeds each pnm file to
pnmtops and concat's the output into a huge array which is then feeds to
ps2pdf. Works pretty well and really simple.

On 10/19/06, Kristian Fiskerstrand <n...@kfwebs.net> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Greetings list,
>
> I recently purchased an Epson Perfection 4490 Office W/Document Feeder
> (ADF) and it is working very nicely using iscan (
> http://www.avasys.jp/english/linux_e/dl_scan.html ) .
>
> The reason for getting this scanner in the first place was a discussion
> on this list where it was recommended, so thank you.
>
> Now, I only have one question with regards to it, and that is merging
> multiple images into a single PDF file. When scanning I get files in the
> format somename-####.jpg , .pnm or .png depending on the format I
> specify. and I would very much like to merge them into a single file to
> send out.
>
> I've tried to get this to work using a couple of different approaches.
> Using ImageMagick's convert was one of them, both into PDF directly and
> into PostScript and convert it to PDF using ps2pdf afterwards, but both
> of these approaches were un-successful in the terms of acceptable
> output. I tried adjusting -density and -page but I still don't get
> acceptable output from my 300dpi scans.
>
> In addition I tried a perl script called jpg2pdf, which is supposed to
> generate "albums" from multiple images, but that as well was unsuccessful.
>
> After that I considered creating my own online PDF-service using FPDF (
> http://www.fpdf.org/ ), but the initial testing shows that the cropping
> gets all wrong. That said this is the approach that has gotten me the
> furthest as of yet and that I'm most likely to persue unless someone has
> a good suggestion for me. The downside is of course the transfer of >
> 1MB image files and downloading the resulting PDF file again.
>
> Yours sincerely,
>
> - --
> - ----------------------------
> Kristian Fiskerstrand
> http://www.kfwebs.net
> - ----------------------------
> http://www.scanners-on-linux.com
> http://www.secure-my-email.com
> http://www.secure-my-internet.com
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6-svn4282 (GNU/Linux)
>
> iQIVAwUBRTeZMBbgz41rC5UIAQgDMw//U9RzhuQwHJ7YwKL5wA5/6OHCvcK1XTmZ
> iuAjtYcNW5g7rKUZKpAlkxT9TmhEhSTTFWVpJ8e7MIq5CnmJG07FLUu1CVMRrWDa
> nHzfgw3EqvhUZEzH24Ws2wfOWj1dc+3OAsKnDUC9sl73A+cgvWPQUAD8Ed69qlPw
> 6HkyNcy5ey7HfPyLK1CWQstSq7V7d8HZcF+7iIFExLOF89NN68bcX2/Yuvc0tCz5
> hV5EbjAocX0jbMf9n7zXWla8+acEKlTnxbNZotixiRwAVaGUueXa+075S2+8h7cM
> iFuLD2XFlCWk7dIPkNuS4yIuY1+tUobLuDJaN+SKbiYYDE/9/aPKZU2Y9NSC4vpU
> T8NJyAohEiizj+rQRFWD64NYf4tr5p/qItzACXR1fiqNoZAmJ+e/80J9QvTDRLPq
> vTitz9N5tgiyC19+XkN8CiXVkqf4F1dnt9nAxW6BfrMYwF5HTLvnImiQeqelh77q
> 4246U4UBFW9DFhntR6GY3YIKrIQbX///JvCkaMIEnwgf1Nugb7m12q2LRcillz4T
> aemnxWY1WteiNS5lsCU16JbVDRzHM4IzYWSeHYQwc8b6VGRIEC0fVzhPbS1vNgam
> eCfUqVCpq5vLisYeCRYpnDTtF9bBCMPeUvhiE09dif93yS9CO770kfqJJ3WNW5W7
> D/QhrtiqmrU=
> =zjBG
> -----END PGP SIGNATURE-----
>
>
> --
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-requ...@lists.alioth.debian.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20061019/ff905728/attachment-0001.htm
From n...@kfwebs.net  Thu Oct 19 17:09:53 2006
From: n...@kfwebs.net (Kristian Fiskerstrand)
Date: Thu Oct 19 17:10:34 2006
Subject: [sane-devel] Merging multiple images into PDF
In-Reply-To: <45379930.8030...@kfwebs.net>
References: <45379930.8030...@kfwebs.net>
Message-ID: <4537b161.7000...@kfwebs.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Kristian Fiskerstrand wrote, On 10/19/2006 05:26 PM:
> Now, I only have one question with regards to it, and that is merging
> multiple images into a single PDF file. When scanning I get files in the
> format somename-####.jpg , .pnm or .png depending on the format I
> specify. and I would very much like to merge them into a single file to
> send out.

I ended up just using PHP and FPDF, if anyone wants it they can grab the
file at http://dev.kfwebs.net/convert.phps . I just run it locally as
php -f convert.php and it converts all the *.jpg files in the folder
into a PDF file.

Sorry to disturb.

- --
- ----------------------------
Kristian Fiskerstrand
http://www.kfwebs.net
- ----------------------------
http://www.secure-my-email.com
http://www.secure-my-internet.com


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6-svn4282 (GNU/Linux)

iQIVAwUBRTexYRbgz41rC5UIAQg7ehAAjjQ21J55c78q8pnLd3auWWKQtqRniwB9
FH7DlpGmwD7510cdF+jTR1VRZVNCf4z87fjwlyo9/3QBZGRZocw48u1Rwbd9xMXW
ZozRidjp5L0In+uXg8DWCjZULRjpmZmzQpBTC7sxHfuUBk/Ik1govH995E/Iu6GL
ZElytIfbYYNprsBhiLhd37fNXJKoG53tIjwf46xatw1v2Ss2GGriLdH9Gyz6GrN9
3sbbuYpurCkSksDXC25Yryo0WpNmgbtTLilaEpexHPGiGYBEtN20NNsY0SNc5gcp
dTVzpZZ7S9nDu7wGfHNd1uCBe6J/14rAPpCacbMCHfYARr7IIQJ2DvdwQKVjW6vZ
+jkd2Mtv4C42kKqBlWL/8XGNAxgxhyxybPkODHXj0hdKWRPRhOE24b/OP1WOrf8a
78Oj4GxlVKDhr1FGHiZ4NsHhRnV1pbThC1/lObl6HzbMzbv4+HNMDkRxpulNpKnU
/YraxQddzxHdBM7OXs7P/NwClE6+SC9Ilril8RosT1UwLuTci/eFAQEWeR/E0gJq
CS/KJOG/cqGNh2e/uFmoYxX9xjJlC5583Ro9A0Sx7uGAW7Vtc60LJ+EZ9LJydmT5
XldkB786j9SaBtD+FgVQqWSLOfz33qy9+SkljXGK/3qfA8mIQUoPgaDtfGURaZdQ
gHtx4LXveBM=
=JwhL
-----END PGP SIGNATURE-----

Reply via email to