How do I store ImageMagick output in an array / sql-db?
Posted: 2009-05-12T14:00:58-07:00
Hi all,
I'm new here and very much interested in ImageMagick. I've been working for the last few days on converting a pdf file to jpg's. I've come a long way, however I can't seem to control the output of imagemagick.
This is the php-script I use to convert the files:
exec("convert -density 200x200 -quality 100 -resize 800x1024 $filepath $convertpath_large");
The files are stored in the right directory. The file name are stores in a mysql-db, however I can't seem to count the number of output-files. Any help would be very welcome.
Before posting, I took my time on this forum and reading myself up on the subject with the help of books, but I feel like everyone already knows how to manage the output, except for me. (I can't find any topic about handling the output). As you can see, I'm kinda stuck, I hope to find some help here or tips in the right direction.
Thanks for reading
I'm new here and very much interested in ImageMagick. I've been working for the last few days on converting a pdf file to jpg's. I've come a long way, however I can't seem to control the output of imagemagick.
This is the php-script I use to convert the files:
exec("convert -density 200x200 -quality 100 -resize 800x1024 $filepath $convertpath_large");
The files are stored in the right directory. The file name are stores in a mysql-db, however I can't seem to count the number of output-files. Any help would be very welcome.
Before posting, I took my time on this forum and reading myself up on the subject with the help of books, but I feel like everyone already knows how to manage the output, except for me. (I can't find any topic about handling the output). As you can see, I'm kinda stuck, I hope to find some help here or tips in the right direction.
Thanks for reading