Search found 11 matches

by jaslee
2014-02-10T07:40:24-07:00
Forum: PerlMagick
Topic: How do I strip out PNG metadata using PerlMagick?
Replies: 9
Views: 20288

Re: How do I strip out PNG metadata using PerlMagick?

This worked for me in the end - I just explicitly applied gamma to the image itself to lighten the resulting greyscale image BUT I still needed to strip out the gAMA setting int he header:-

Code: Select all

$image->Set(type=>'grayscale');
$image->Gamma(1.8);
$image->Set('gamma'=>'0');
by jaslee
2014-02-10T06:19:22-07:00
Forum: PerlMagick
Topic: How do I strip out PNG metadata using PerlMagick?
Replies: 9
Views: 20288

Re: How do I strip out PNG metadata using PerlMagick?

Unfortunately I am still getting a darker grayscale (greyscale) image when viewing the output in IE (IE 11 in my case). Only the image created in the command-line version generated the desired grayscale I require - I think the gamma metadata setting was a bit of a red herring - i.e. in my original c...
by jaslee
2014-02-07T09:46:48-07:00
Forum: PerlMagick
Topic: How do I strip out PNG metadata using PerlMagick?
Replies: 9
Views: 20288

Re: How do I strip out PNG metadata using PerlMagick?

Hey thanks for that - it worked, the gamma (or gAMMA as its seem in TweakPNG) meta has been stripped.
by jaslee
2014-02-05T06:00:47-07:00
Forum: PerlMagick
Topic: How do I strip out PNG metadata using PerlMagick?
Replies: 9
Views: 20288

Re: How do I strip out PNG metadata using PerlMagick?

Glad to oblige - I have uploaded a grey image to a temp storage here (28 days expire) : http://www.tiikoni.com/tis/view/?id=05800fd If you view the image in IE and other browsers you will see it is darker in IE - I need to strip out the Gamma metadata to normalize the display consistently with IE. T...
by jaslee
2014-01-29T04:20:42-07:00
Forum: IMagick
Topic: Install for PHP 5.4 on Windows server
Replies: 5
Views: 8477

Re: Install for PHP 5.4 on Windows server

It took me several days to figure out the installation on Imagick on our Windows Server 2008 with PHP 5.3, no kidding. On a Linux server, it literally took a few minutes with "apt-get install..." etc. The big lesson I learned is that it's all about VERSIONS for Windows:- * Version of Imagick dll MUS...
by jaslee
2014-01-16T04:07:45-07:00
Forum: PerlMagick
Topic: How do I strip out PNG metadata using PerlMagick?
Replies: 9
Views: 20288

Re: How do I strip out PNG metadata using PerlMagick?

Searching this forum for answers I got this: http://www.imagemagick.org/discourse-server/viewtopic.php?f=7&t=10176&p=32368&hilit=meta#p32368 ...I'm guessing this is a similar issue of wanting to change met-data (?) so I will probably use the same trick of invoking the command line ImageMagick within...
by jaslee
2014-01-15T10:47:46-07:00
Forum: PerlMagick
Topic: How do I strip out PNG metadata using PerlMagick?
Replies: 9
Views: 20288

How do I strip out PNG metadata using PerlMagick?

Hi, I did a lot of research to find out how to strip out the metadata in an output PNG image - this was due to inconsistent display across browsers (Gamma correction in IE!). This is the command I got to work at the command line using ImageMagick:- convert input.png -define png:include-chunk=none -s...
by jaslee
2012-05-22T08:07:17-07:00
Forum: IMagick
Topic: Imagick with PHP Memcache
Replies: 2
Views: 8353

Re: Imagick with PHP Memcache

No suggestions or advice? I was testing various scenarios :- Scenario 1 Non-Memcached image with compositeImage() i.e. current implementation --> works $img1 = new Imagick('pink.png'); $img1->compositeImage( new Imagick('http://'.$my_dynamic_image.'.png'), imagick::COMPOSITE_COPYOPACITY, 0, 0 ); hea...
by jaslee
2012-05-15T02:50:48-07:00
Forum: IMagick
Topic: Imagick with PHP Memcache
Replies: 2
Views: 8353

Imagick with PHP Memcache

Hi, I have an "on-the-fly" image process which performs alpha compositing of an alpha-transparent image to a colour-filled image. The colour-filled image is static whereas the alpha-transparent images are dynamically called - and there are a lot of them. I use the $img->compositeImage() and currentl...
by jaslee
2010-02-26T04:47:07-07:00
Forum: Users
Topic: Magick++ in an ISAPI extension
Replies: 1
Views: 4036

Re: Magick++ in an ISAPI extension

Replying to my own thread with my experience so far (as noone replied). Doing many a search for the various compiler errors I got trying to include Magick++ into my working ISAPI project in VC++ 2008 Express Edition, I saw many a post by Magick admin to load the Button example and use that as templa...
by jaslee
2010-02-25T06:14:01-07:00
Forum: Users
Topic: Magick++ in an ISAPI extension
Replies: 1
Views: 4036

Magick++ in an ISAPI extension

Hi, Has anyone tried using ImageMagick in an ISAPI extension DLL? I would like to develop some web server application which, when it gets 2 image requests, intercepts the call and does some graphics processing e.g. apply opacity and merge the 2 images to return 1 image. I am using Visual C++ 2008 Ex...