Code: Select all
$im = new Imagick('barcodes.tif');
$im->setFormat('PDF');
$im->writeImage('barcodes.pdf');
I can change the compression to jpeg or something, but it makes the pdf file much larger.
Code: Select all
$im = new Imagick('barcodes.tif');
$im->setFormat('PDF');
$im->writeImage('barcodes.pdf');
xhenxhe wrote:I have group 4 Tiff file (attached) I run the following code to convert it to pdfThe result is an inverse of the original file. Has anyone experienced this. Is there a workaround?Code: Select all
$im = new Imagick('barcodes.tif'); $im->setFormat('PDF'); $im->writeImage('barcodes.pdf');
I can change the compression to jpeg or something, but it makes the pdf file much larger.
Yes, unfortunately it's a requirement I havemkoppanen wrote:By the way are you running Imagick on windows ?
I take that back. I'm using Imagick 2.0.0RC1xhenxhe wrote:I'm testing this in XP / IIS / Imagick 2.0.0 / ImageMagick 6.3.3
You can't currently upgrade your ImageMagick version. We are working on getting dynamic builds and newer version of ImageMagick libraries for Imagick windows builds.xhenxhe wrote:I take that back. I'm using Imagick 2.0.0RC1xhenxhe wrote:I'm testing this in XP / IIS / Imagick 2.0.0 / ImageMagick 6.3.3
I'm not sure how to get the latest DLL for windows or how to update my ImageMagick version. Can you help me with that?
Negate seems to work. I just fear the inconsistencies with Linux & Windows because some of my builds will be on Linux and some on IIS. Too bad I'm not a C programmers so I could help out with this project.mkoppanen wrote:Have you tried negateImage on these images?
If you have time I'm more than glad to have help with that. Do you use IRC (thats the easiest way to get you started) ?xhenxhe wrote:Negate seems to work. I just fear the inconsistencies with Linux & Windows because some of my builds will be on Linux and some on IIS. Too bad I'm not a C programmers so I could help out with this project.mkoppanen wrote:Have you tried negateImage on these images?
Maybe I could help with the documentation since that seems to be lacking right now.