Search found 14 matches

by jeffreyg
2015-03-05T00:37:19-07:00
Forum: IMagick
Topic: sRGB to AdobeRGB1998 keep colors
Replies: 2
Views: 8554

Re: sRGB to AdobeRGB1998 keep colors

Hello snibgo, Thank you for the reply. I had to use strip to change the DPI of the image and the size of the image. Couldn't get it working in any other way. I added the sRGB profile first, because you were right that it strips the image profile. $img->stripImage(); $img->setImageUnits(imagick::RESO...
by jeffreyg
2015-03-04T06:07:34-07:00
Forum: IMagick
Topic: sRGB to AdobeRGB1998 keep colors
Replies: 2
Views: 8554

sRGB to AdobeRGB1998 keep colors

Hello, We have a system where the user uploads an image and it automaticly sets a sRGB color profile to the image. When I try to convert these images with Imagick to AdobeRGB1998, the colors are different. It has the correct colorprofile but the original colors are gone. I tried repoducing these ste...
by jeffreyg
2014-02-17T09:09:01-07:00
Forum: IMagick
Topic: Using crop & +repage (split image and save as separate)
Replies: 2
Views: 6554

Re: Using crop & +repage (split image and save as separate)

Thanks for the reply.

I tried your code but it only gives me 1 new image. So your right about that it saves 1 crop and not all 4. I got the top left crop.

And about the 25% I meant 50%, I edited it, thanks.
by jeffreyg
2014-02-17T06:39:49-07:00
Forum: IMagick
Topic: Using crop & +repage (split image and save as separate)
Replies: 2
Views: 6554

Using crop & +repage (split image and save as separate)

Hello, I'm trying to make 4 images from 1 image: http://s16.postimg.org/c4qe7bzxx/input_output.png I used ImageMagick and it works fine. But when I try to type it in Imagick it doesn't work anymore. I get 1 image thats 50x50 pixels, instead of 4 images. This is my ImageMagick code for testing: exec(...
by jeffreyg
2014-02-14T06:01:26-07:00
Forum: IMagick
Topic: Change DPI + resample
Replies: 1
Views: 5190

Re: Change DPI + resample

Found the solution.. New code: $img = new Imagick('input.jpg'); $img->stripImage(); $img->setImageUnits(imagick::RESOLUTION_PIXELSPERINCH); $img->setResolution(100,100); $img->resampleImage(100,100,imagick::FILTER_UNDEFINED,1); $img->writeImage('output.jpg'); $img->destroy(); Old code: $img = new Im...
by jeffreyg
2014-02-14T01:44:27-07:00
Forum: IMagick
Topic: Change DPI + resample
Replies: 1
Views: 5190

Change DPI + resample

I'm trying to change the DPI and of an image to make the output the same as when I change the DPI in Photoshop. I already got it working with ImageMagick, but now I want it to work with Imagick as well. I have to change the DPI of the input image to 100 (because I need to print it). My input image h...
by jeffreyg
2014-02-13T08:37:26-07:00
Forum: Users
Topic: IM annotate/rotate - removes text behind space
Replies: 2
Views: 3152

Re: IM annotate/rotate - removes text behind space

Thanks you actually fixed it. It is indeed PHP. I already tried a bunch of things with quotes and adding slashes to it for escaping. And I used some different quotes as well, but all didn't seem to work. Now it does. So I might have done something wrong..

Thank you very much!
by jeffreyg
2014-02-13T07:49:13-07:00
Forum: Users
Topic: IM annotate/rotate - removes text behind space
Replies: 2
Views: 3152

IM annotate/rotate - removes text behind space

I'm tyring to add some text on the right (east) side of my image. It has to be rotated and all of that works just fine. But for some reason ImageMagick removes every word behind a space. I already tried to remove the spaces and put a bunch of text behind This (Thisdkjlaalkdfsaf) to see if the textfi...
by jeffreyg
2014-02-12T05:27:51-07:00
Forum: IMagick
Topic: Version problem Imagick & ImageMagick
Replies: 5
Views: 9035

Re: Version problem Imagick & ImageMagick

No problem. I will make a quick summery of what I did: The only thing is that I had to downgrade my ImageMagick a bit. I used 6.8.8-1 and now I'm using 6.8.1-8. At least it works for me now with the following specs: Windows: 32-bit Compiler: MSVC9 PHP version: 5.4 ImageMagick version: 6.8.1-8 Q16 Th...
by jeffreyg
2014-02-12T01:49:01-07:00
Forum: IMagick
Topic: Version problem Imagick & ImageMagick
Replies: 5
Views: 9035

Re: Version problem Imagick & ImageMagick

I fixed the problem thanks to this site:

http://www.peewit.fr/imagick/

Shows you the builds of ImageMagick with a working Imagick.dll. Works like a charm now.
by jeffreyg
2014-02-11T08:58:22-07:00
Forum: IMagick
Topic: Version problem Imagick & ImageMagick
Replies: 5
Views: 9035

Re: Version problem Imagick & ImageMagick

Yeah so it seems.. I used pretty much every search term I knew on both google and these forums to find a good solution to get them both working. All thats left that I can find are purple google links with dead-ends. Thanks anyway for your reply. I now know that I'm not the only one experiencing the ...
by jeffreyg
2014-02-11T07:07:26-07:00
Forum: IMagick
Topic: Version problem Imagick & ImageMagick
Replies: 5
Views: 9035

Version problem Imagick & ImageMagick

I'm having a problem with letting both Imagick & ImageMagick working both on my computer. its either one of them working but never both of them. I used these steps to get it working: http://www.imagemagick.org/discourse-server/viewtopic.php?f=18&t=24673 For some reason I can't find the right...
by jeffreyg
2014-02-10T07:37:32-07:00
Forum: Users
Topic: Changing DPI result different quality (PS-IM)
Replies: 2
Views: 3215

Re: Changing DPI result different quality (PS-IM)

Thank you very much! I've added it to my code and with a little bit of trying, the output looks more the same. Now I only have to try to find the right values but I'll manage that.
by jeffreyg
2014-02-10T04:02:15-07:00
Forum: Users
Topic: Changing DPI result different quality (PS-IM)
Replies: 2
Views: 3215

Changing DPI result different quality (PS-IM)

I'm trying to change the DPI of an image to 100. Its a 300 DPI image. When I use Adobe Photoshop I get a different result when I change the DPI (Resolution to 100) then when I'm using ImageMagick with PHP. I'm using ImageMagick-6.8.8-1-Q16-x86 and I used the -dll.-exe installer to get it installed p...