Search found 245 matches

by rmagick
2009-07-10T17:18:45-07:00
Forum: Bugs
Topic: Lots of memory and processor usage with no result
Replies: 3
Views: 8249

Re: Lots of memory and processor usage with no result

If you're using the same version of ImageMagick with RMagick that you're using from the command line, then the same image occupies the same amount of memory no matter how you access it. The difference is that when the command completes and the process terminates all memory associated with the proces...
by rmagick
2009-07-10T17:02:21-07:00
Forum: Users
Topic: Difficult (for me) image processing problem
Replies: 15
Views: 26370

Re: Difficult (for me) image processing problem

In RMagick you can get the effect of +repage by adding true as the last argument to #crop, or by setting the page= attribute to a rectangle object having 0 for the x, y, width, and height attributes. img.page= Rectangle.new(0,0,0,0) For RMagick-specific questions you can usually reach me at rmagick@...
by rmagick
2009-07-04T05:24:59-07:00
Forum: MagickWand
Topic: DrawSkewY oddity in 6.5.4-0
Replies: 5
Views: 18653

Re: DrawSkewY oddity in 6.5.4-0

I'll give that a try. Thanks for the tip.
by rmagick
2009-07-02T14:08:53-07:00
Forum: MagickWand
Topic: DrawSkewY oddity in 6.5.4-0
Replies: 5
Views: 18653

DrawSkewY oddity in 6.5.4-0

The following program tries to replicate the SVG "Skew" example here http://www.w3.org/TR/SVG11/coords.html#TransformMatrixDefined , but the X axis in the skewY coordinate system is wrong. Here's the target image: http://www.w3.org/TR/SVG11/images/coords/Skew.png Here's the output from my test: http...
by rmagick
2009-06-22T14:27:20-07:00
Forum: Users
Topic: ImageMagick for Ruby programmers: RMagick vs. MiniMagick
Replies: 4
Views: 10827

Re: ImageMagick for Ruby programmers: RMagick vs. MiniMagick

All ImageMagick memory allocations and frees are handed off to Ruby. This means that Ruby's GC knows about all the memory that's in use and free and can run garbage collections accordingly. Image objects are just like arrays, hashes, or any other Ruby objects. See my post on the RMagick Hints and Ti...
by rmagick
2009-06-21T09:41:21-07:00
Forum: Users
Topic: ImageMagick for Ruby programmers: RMagick vs. MiniMagick
Replies: 4
Views: 10827

Re: ImageMagick for Ruby programmers: RMagick vs. MiniMagick

RMagick 2.10.0 can use the Ruby garbage collector. You must build it with ImageMagick 6.5.3-10. See my post on the RMagick Hints and Tips Forum on RubyForge: http://rubyforge.org/forum/forum.php?th ... um_id=1618.
by rmagick
2009-04-29T15:56:13-07:00
Forum: MagickWand
Topic: Use fuzz with MagickCompareImageChannels?
Replies: 3
Views: 11933

Re: Use fuzz with MagickCompareImageChannels?

Installed 6.5.1-9. Everything looks fine. Thanks again.
by rmagick
2009-04-28T17:36:19-07:00
Forum: MagickWand
Topic: Use fuzz with MagickCompareImageChannels?
Replies: 3
Views: 11933

Re: Use fuzz with MagickCompareImageChannels?

Thanks! :D
by rmagick
2009-04-28T16:18:08-07:00
Forum: MagickWand
Topic: Use fuzz with MagickCompareImageChannels?
Replies: 3
Views: 11933

Use fuzz with MagickCompareImageChannels?

Is it useful or even possible to set a fuzz value before calling MagickCompareImageChannels? Anthony's examples page clearly shows how to use the -fuzz option in the compare command, but I can't figure out how to specify a value for fuzz before calling MagickCompareImageChannels.
by rmagick
2009-04-09T17:20:44-07:00
Forum: Developers
Topic: How to set colorspace via MagickWand
Replies: 2
Views: 6682

Re: How to set colorspace via MagickWand

Thanks!
by rmagick
2009-04-09T15:08:09-07:00
Forum: Developers
Topic: How to set colorspace via MagickWand
Replies: 2
Views: 6682

How to set colorspace via MagickWand

How do I set the colorspace prior to reading an image using the MagickWand API? I tried using

Code: Select all

MagickSetOption(wand, "colorspace", "rgb")
but I'm not having any luck. I see the MagickSetImageColorspace method, but it's not listed in the HTML doc.
by rmagick
2009-04-02T04:26:22-07:00
Forum: Developers
Topic: Non-verbose version of MagickIdentifyImage?
Replies: 2
Views: 6139

Re: Non-verbose version of MagickIdentifyImage?

Thanks. Can do.
by rmagick
2009-04-01T16:59:17-07:00
Forum: Developers
Topic: Non-verbose version of MagickIdentifyImage?
Replies: 2
Views: 6139

Non-verbose version of MagickIdentifyImage?

A MagickWand API question: If I'm reading the source correctly, the output from MagickIdentifyImage is always the verbose output. Is there a non-verbose version of this method?
by rmagick
2009-03-31T13:59:51-07:00
Forum: Developers
Topic: Cloning and the MagickWand API
Replies: 2
Views: 6350

Re: Cloning and the MagickWand API

Perfect. Thanks! I agree, this code is better than a convenience method.
by rmagick
2009-03-31T10:49:15-07:00
Forum: Developers
Topic: Cloning and the MagickWand API
Replies: 2
Views: 6350

Cloning and the MagickWand API

I've been looking at the MagickWand API and I have two questions. 1. I see the CloneMagickWand method makes an exact copy of a wand. Given a wand with several images, how would I go about creating a new wand that contains a subset of those images? For example, given wand A containing 4 images, creat...