Ok, that completely worked. I thought I had tried that but I guess I didn't.
Yes, I am converting PDF files so that's why I'm using the numbering and I wanted them to all be 2 digits. This is perfect.
The -scene works but yours works as well.
Again, many MANY thanks!
Search found 12 matches
- 2015-07-06T21:25:43-07:00
- Forum: IMagick
- Topic: PHP CMYK to sRGB - JPG Images not keeping true colors
- Replies: 19
- Views: 28765
- 2015-07-06T21:00:06-07:00
- Forum: Users
- Topic: Output wild card use in PHP exec
- Replies: 1
- Views: 1872
Output wild card use in PHP exec
Maybe you can help me with one more thing. I'm trying to dynamically name my files with numbering but I can't get the wildcards to work. This is my EXEC code: $new_file = $dir_name . '/' . $file_name_base . '_Page_'; $cmd = '/usr/local/bin/convert ' . ' -density ' . $compression . ' -profile ...
- 2015-07-06T19:56:48-07:00
- Forum: IMagick
- Topic: PHP CMYK to sRGB - JPG Images not keeping true colors
- Replies: 19
- Views: 28765
Re: PHP CMYK to sRGB - JPG Images not keeping true colors
So I followed all your advice (tho I don't know how to do manual builds of mac/linux programs). I followed your instructions, and got imagemagick installed. I can see the lcms and other things are showing up. Following the command line options and using color profiles, I was able to get this to ...
- 2015-07-06T17:29:23-07:00
- Forum: IMagick
- Topic: PHP CMYK to sRGB - JPG Images not keeping true colors
- Replies: 19
- Views: 28765
Re: PHP CMYK to sRGB - JPG Images not keeping true colors
I'm doing it from homebrew. And I keep trying to uninstall and reinstall IM with LCMS2 but even though it appears to work, the delegates never update.
- 2015-07-06T17:17:12-07:00
- Forum: IMagick
- Topic: PHP CMYK to sRGB - JPG Images not keeping true colors
- Replies: 19
- Views: 28765
Re: PHP CMYK to sRGB - JPG Images not keeping true colors
I've always done everything with homebrew. I just uninstalled and reinstalled IM with Little-cms. Same problem. Ill give your suggestion a try!
- 2015-07-06T17:12:50-07:00
- Forum: IMagick
- Topic: PHP CMYK to sRGB - JPG Images not keeping true colors
- Replies: 19
- Views: 28765
Re: PHP CMYK to sRGB - JPG Images not keeping true colors
Doing what you suggested: convert -versions Version: ImageMagick 6.9.1-7 Q16 x86_64 2015-07-06 http://www.imagemagick.org Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher DPC Modules Delegates (built-in): bzlib freetype ...
- 2015-07-06T17:11:52-07:00
- Forum: IMagick
- Topic: PHP CMYK to sRGB - JPG Images not keeping true colors
- Replies: 19
- Views: 28765
Re: PHP CMYK to sRGB - JPG Images not keeping true colors
I have Mac OS as well. When I run convert -list configure | grep -i "delegates", I see
DELEGATES bzlib mpeg freetype jng jpeg lzma png tiff xml zlib
However, LCMS 2 is definitely installed.
DELEGATES bzlib mpeg freetype jng jpeg lzma png tiff xml zlib
However, LCMS 2 is definitely installed.
- 2015-07-06T17:03:48-07:00
- Forum: IMagick
- Topic: PHP CMYK to sRGB - JPG Images not keeping true colors
- Replies: 19
- Views: 28765
Re: PHP CMYK to sRGB - JPG Images not keeping true colors
I've been thinking of migrating to the PHP exec() formatted code but I have everything written the other way. I'll play around with it. Also, I'll see about getting my PDF posted. question: do you know how I can install and confirm the installation of LCMS. I'm getting the impression that could be ...
- 2015-07-06T16:48:24-07:00
- Forum: IMagick
- Topic: PHP CMYK to sRGB - JPG Images not keeping true colors
- Replies: 19
- Views: 28765
Re: PHP CMYK to sRGB - JPG Images not keeping true colors
Already tried that many times with many profiles. Also, tried creating my own CMYK jpg and using commandline to change it to RGB and the color changed just like before. Ill play around with the profiles so more but this seems to be a fundamental problem with how Imagemagick is transposing CMYK ...
- 2015-07-06T16:27:14-07:00
- Forum: IMagick
- Topic: PHP CMYK to sRGB - JPG Images not keeping true colors
- Replies: 19
- Views: 28765
Re: PHP CMYK to sRGB - JPG Images not keeping true colors
I even attempted to run my code to change the exported CMYK jpgs to RGB using Imagemagick on the command line (setting color space to RGB) and the output is exactly the same as if I run my php code.
- 2015-07-06T16:19:02-07:00
- Forum: IMagick
- Topic: PHP CMYK to sRGB - JPG Images not keeping true colors
- Replies: 19
- Views: 28765
Re: PHP CMYK to sRGB - JPG Images not keeping true colors
I changed my code to this:
$img = new imagick();
$img->setResolution(300, 300);
$img->setImageColorspace(Imagick::COLORSPACE_SRGB);
$img->readImage($file_name);
and I get this:
Can not process empty Imagick object
It seems to only work after I read the images in
$img = new imagick();
$img->setResolution(300, 300);
$img->setImageColorspace(Imagick::COLORSPACE_SRGB);
$img->readImage($file_name);
and I get this:
Can not process empty Imagick object
It seems to only work after I read the images in
- 2015-07-06T13:54:50-07:00
- Forum: IMagick
- Topic: PHP CMYK to sRGB - JPG Images not keeping true colors
- Replies: 19
- Views: 28765
PHP CMYK to sRGB - JPG Images not keeping true colors
Hi all, I've been trying to convert CMYK images from a PDF to sRGB for web display (since they're smaller). I get perfect color rendering when the output is CMYK, but when using sRGB colorspace ($img->setImageColorspace(Imagick::COLORSPACE_SRGB)) I do not get true colors. Essentially, everything ...