Search found 35 matches

by pwnedd
2012-04-10T08:17:11-07:00
Forum: IMagick
Topic: Changes in ImageMagick versions (SVN)?
Replies: 1
Views: 7500

Changes in ImageMagick versions (SVN)?

Sorry to bring this one back up after so long, but, does anyone know how I can tell which MagickWand version number is associated with a particular change in http://www.imagemagick.org/script/changelog.php ? It looks like the change relating to this particular problem is for the commit: 2010-09-13 6...
by pwnedd
2011-09-26T07:19:52-07:00
Forum: Users
Topic: MAGICK_THREAD_LIMIT for multiple ImageMagick commands
Replies: 2
Views: 6317

Re: MAGICK_THREAD_LIMIT for multiple ImageMagick commands

Got it. Thanks for the clarification.
by pwnedd
2011-09-26T06:17:17-07:00
Forum: Users
Topic: MAGICK_THREAD_LIMIT for multiple ImageMagick commands
Replies: 2
Views: 6317

MAGICK_THREAD_LIMIT for multiple ImageMagick commands

Hello,

When running multiple ImageMagick commands simultaneously, would the effect of setting MAGICK_THREAD_LIMIT limit each command individually? Or would all of the commands *together* use no more than MAGICK_THREAD_LIMIT threads?

Thanks
by pwnedd
2011-05-11T13:54:15-07:00
Forum: IMagick
Topic: Change in extentImage behavior for new ImageMagick versions?
Replies: 2
Views: 9096

Change in extentImage behavior for new ImageMagick versions?

Hi all, I have some IMagick code which uses "extentImage" to pad an image and position it at one corning of the new expanded image. When testing on a system with a newer version of ImageMagick , however, the direction the offsets push the image seems to have changed. In both cases I am usi...
by pwnedd
2010-11-25T04:31:02-07:00
Forum: IMagick
Topic: Applying opacity when flattening to JPEG?
Replies: 5
Views: 16411

Re: Applying opacity when flattening to JPEG?

Switching the order doesn't help either :\

I'm using pretty recent versions of both (ImageMagick 6.5.7-8 and IMagick 3.0.0).
by pwnedd
2010-11-24T12:08:55-07:00
Forum: IMagick
Topic: Applying opacity when flattening to JPEG?
Replies: 5
Views: 16411

Re: Applying opacity when flattening to JPEG?

Hi Fred, Thanks for the suggestion. I've tried using both of those methods, however, with no luck., e.g.: Generate a 50% opaque image: convert logo: -type PaletteMatte -channel Alpha -evaluate Divide 2 input.png Or, using IMagick: $logo = new Imagick("logo:"); $logo->setImageType(imagick::...
by pwnedd
2010-11-24T09:02:54-07:00
Forum: IMagick
Topic: Applying opacity when flattening to JPEG?
Replies: 5
Views: 16411

Applying opacity when flattening to JPEG?

Suppose you have an image with an alpha channel and the opacity is set to 50%. Does anyone know how you can "flatten" the image to JPEG so that the image appears to be 50% transparent on a black background? Example: $im = new Imagick("50percent_opacity.png"); $im->setImageFormat(...
by pwnedd
2010-10-24T02:45:05-07:00
Forum: IMagick
Topic: Sharing between IMagick & GD without writing to disk?
Replies: 1
Views: 6971

Re: Sharing between IMagick & GD without writing to disk?

Okay, I found a way. In case anyone else is interested: // Read image into IM $image = new IMagick($input); $image->setImageFormat('PNG'); // Export as a binary string $intermediateStr = $image->getimageblob(); // Import image string into GD $gd = imagecreatefromstring($intermediateStr); // do some ...
by pwnedd
2010-10-22T11:03:20-07:00
Forum: IMagick
Topic: Sharing between IMagick & GD without writing to disk?
Replies: 1
Views: 6971

Sharing between IMagick & GD without writing to disk?

Hi all, Background I have an interesting problem where I would like to be able to work with an image in Imagick, do some processing in GD, and then pass the image back to IMagick before finally writing it to disk. I know this sounds a bit indirect, but there is a reason: GD supports direct palette m...
by pwnedd
2009-12-10T04:59:52-07:00
Forum: Users
Topic: Question about combining two operations involving padding
Replies: 10
Views: 20685

Re: Question about combining two operations involving padding

Perfect!

It's funny: I had read about the -respect-parentheses switch, but at the time I didn't think it was what I needed. I never even though of using "+gravity"!

Thanks a lot for all of your help fmw. This is just what I was looking for :)

Best,
by pwnedd
2009-12-09T15:44:19-07:00
Forum: Users
Topic: Question about combining two operations involving padding
Replies: 10
Views: 20685

Re: Question about combining two operations involving padding

Hmm. still no luck. Result is same as a couple posts above.
by pwnedd
2009-12-09T08:14:23-07:00
Forum: Users
Topic: Question about combining two operations involving padding
Replies: 10
Views: 20685

Re: Question about combining two operations involving padding

Hi fmw, Thanks for the suggestions and for answering my questions. I spent some more time reading up on the links you sent me, and am much more comfortable with the structuring of commands, etc. :) I still have not had any luck unifying the two steps. I tried your suggesting of testing the initial 2...
by pwnedd
2009-12-08T14:42:58-07:00
Forum: Users
Topic: Question about combining two operations involving padding
Replies: 10
Views: 20685

Re: Question about combining two operations involving padding

Thanks for all of the information. convert \( start.png -gravity SouthWest -extent 512x512 \) \ \( mask.png -resize 113% -crop 512x67+604+17 +repage \) \ -alpha off -compose copy_opacity -composite final.png I did try this command, and it was *almost* what I wanted, however, the result seems to appl...
by pwnedd
2009-12-08T12:14:02-07:00
Forum: Users
Topic: Question about combining two operations involving padding
Replies: 10
Views: 20685

Re: Question about combining two operations involving padding

Hi fmw, If this is all you need then try (as the mask image is not important) convert start.png -background none -gravity southwest -extent 512x512 result.png Sorry, I should have been more clear. The masking is an important part of the procedure, even though in the example images it is barely notic...
by pwnedd
2009-12-08T09:52:51-07:00
Forum: Users
Topic: Question about combining two operations involving padding
Replies: 10
Views: 20685

Question about combining two operations involving padding

Hi all, I'm having trouble combining a couple of operations, each of which involves some padding: Command 1: convert \( -resize '113%' -crop 512x67+604+17 mask.png \) -gravity SouthWest -extent 512x512 output1.png Command 2: convert start.png -gravity SouthWest -extent 512x512 output1.png -compose c...