Search found 54 matches

by badabou
2012-12-21T10:29:15-07:00
Forum: Users
Topic: Imagemagick fails with the font "Pharmacy"
Replies: 1
Views: 2775

Imagemagick fails with the font "Pharmacy"

Hello, I have a problem with Imagemagick and use the font "Pharmacy" on a LInux server (Debian 6). When I want to write a text with the "+" character, imagemagick fails to create the image. Here is the command : convert -background none -fill "#000000" -gravity Center -...
by badabou
2011-11-23T15:57:29-07:00
Forum: Users
Topic: Imagemagick VS PHP : Create animated GIF much faster
Replies: 6
Views: 22217

Re: Imagemagick VS PHP : Create animated GIF much faster

Here are the original photos if you want to run a test: http://www.myspot.fr/test/photos.7z I do not understand why this is so long, I use this version of imagemagick: Version: ImageMagick 6.5.9-3 2011-11-23 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC Fea...
by badabou
2011-11-22T14:21:41-07:00
Forum: Users
Topic: Imagemagick VS PHP : Create animated GIF much faster
Replies: 6
Views: 22217

Re: Imagemagick VS PHP : Create animated GIF much faster

Here's an animated GIF created with imagemagick (its size is intentionally large -> 4 jpg): # time convert -delay 20 -loop 0 *. jpg out_imagemagick.gif real 0m12.793s user 0m11.325s sys 0m0.784s The time to create this GIF is very long (the server uses is a 16 x 2Ghz AMD !). Result: http://www.myspo...
by badabou
2011-11-22T10:59:44-07:00
Forum: Users
Topic: Imagemagick VS PHP : Create animated GIF much faster
Replies: 6
Views: 22217

Imagemagick VS PHP : Create animated GIF much faster

Hello, Why Imagemagick is so long to create GIF animations ? I use a parallel class coded in PHP that is much much faster to produce animated GIFs. While PHP is an interpreted language ! Is there an option when compiling Imagemagick ? A parameter to pass in the command line ? Some version of imagema...
by badabou
2011-11-04T05:05:13-07:00
Forum: Users
Topic: Retrieve the coordinates corresponding to a certain color
Replies: 2
Views: 5291

Retrieve the coordinates corresponding to a certain color

Hello, Is it possible to retrieve the coordinates x,y (and width,height) of a shape in an image with imagemagick ? Let me explain : There is a function in flash which recovers an area corresponding to a certain color ( getColorBoundsRect ) : http://img151.imageshack.us/img151/9954/92246458.png With ...
by badabou
2010-09-27T04:27:54-07:00
Forum: Developers
Topic: Smoothing effect
Replies: 2
Views: 13304

Smoothing effect

Hello,

I try to reproduce this effect with imagemagick but I do not find a solution.

Is this possible?

Thank you

Image
by badabou
2009-11-05T10:12:02-07:00
Forum: IMagick
Topic: sepiaToneImage not work correctly with imagick 2.3.0
Replies: 0
Views: 4894

sepiaToneImage not work correctly with imagick 2.3.0

$im = new Imagick('anim.gif'); foreach ($im as $f) { $f->sepiaToneImage(80); } header('Content-type: image/gif'); echo $im->getImagesBlob(); exit(); imagick module version 2.3.0 imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator ImageMagick version ImageMagick 6.5.7-1 2009-10-...
by badabou
2009-10-08T01:20:15-07:00
Forum: Users
Topic: Get the number (or perrcentage) of transparent pixels ?
Replies: 7
Views: 15890

Re: Get the number (or perrcentage) of transparent pixels ?

With this 4 images : http://nsa10.casimages.com/img/2009/10/08/091008102832385276.png http://nsa10.casimages.com/img/2009/10/08/091008103336911261.png http://nsa10.casimages.com/img/2009/10/08/091008103514277972.png http://nsa11.casimages.com/img/2009/10/08/091008103405117853.png # convert frame_000...
by badabou
2009-10-06T00:04:29-07:00
Forum: Users
Topic: Get the number (or perrcentage) of transparent pixels ?
Replies: 7
Views: 15890

Re: Get the number (or perrcentage) of transparent pixels ?

You're right but when I do not change the matte value depending on whether there is transparency or not, the final gif file (optimized) has holes transparent pixels across incorrect. Here is the solution I found which seems to work: $result = shell_exec('convert '.$fileMiff.' -channel a -separate -f...
by badabou
2009-10-05T01:01:07-07:00
Forum: Users
Topic: Get the number (or perrcentage) of transparent pixels ?
Replies: 7
Views: 15890

Re: Get the number (or perrcentage) of transparent pixels ?

That's exactly what I wanted. Thank you very much!
by badabou
2009-10-04T13:55:20-07:00
Forum: Users
Topic: Get the number (or perrcentage) of transparent pixels ?
Replies: 7
Views: 15890

Get the number (or perrcentage) of transparent pixels ?

Hello, I would get the number of transparent pixels (or percentage) in an image, is this possible ? In order to know whether I should or not apply a transparent optimization (OptimizeTransparency -layers) to an animated gif (because a gif already transparent do not support this optimization). Thank ...
by badabou
2009-07-03T03:29:59-07:00
Forum: Users
Topic: Retrieve original transparency from a PNG
Replies: 1
Views: 3703

Retrieve original transparency from a PNG

Hello, I need your help experts. I try to find the original transparency of a PNG image which has been replaced by an opaque color. Here is an example : The first image is the original image (with a nice gradual transparency) : http://nsa08.casimages.com/img/2009/07/03/090703123028510271.png The sec...
by badabou
2009-06-15T00:51:41-07:00
Forum: Users
Topic: Particular generation time of imagemagick and Fred script
Replies: 3
Views: 7258

Re: Particular generation time of imagemagick and Fred script

Thank you very much for your responses.
I now understand how to optimize the scripts Fred.
Thank you very much for your script Fred and thank you designers imagemagick.
by badabou
2009-06-05T14:00:40-07:00
Forum: Users
Topic: Particular generation time of imagemagick and Fred script
Replies: 3
Views: 7258

Particular generation time of imagemagick and Fred script

Hello, I have a problem with a script by Fred : http://www.fmwconcepts.com/imagemagick/3Dbox/index.php On the site of lunapic, the generation time of 3d animated cube is less than 2 seconds while on my server (Bi Dual Xeon 8x2Ghz) time is greater than 60 seconds : http://www.lunapic.com/editor/?acti...
by badabou
2009-04-24T04:44:08-07:00
Forum: IMagick
Topic: Error distortImage with Mikko example
Replies: 4
Views: 14645

Re: Error distortImage with Mikko example

Thank you for your reply.

Some details :

My configuration with which I have this problem is :

Windows XP
Imagick module version 2.2.1-dev (php_imagick_dyn-Q16.dll)
ImageMagick 6.5.1-6



When I use the same script on my linux server, it runs at half, there was no transparency (Image attached).