Search found 3 matches

by ichaozai
2016-04-25T02:02:21-07:00
Forum: Users
Topic: Get exception "static planes value not equal to 1" when reading image raw data
Replies: 1
Views: 990

Get exception "static planes value not equal to 1" when reading image raw data

I use Magick++ for some image processing. I read RGBA image raw data produced from another program and encode it to jpeg. Most of time my codes work well, until I got this raw data that throw exception "static planes value not equal to 1". Here is my short, self contained, example code. Sorry for th...
by ichaozai
2014-12-03T00:17:32-07:00
Forum: Magick++
Topic: How can I set the interpolation method when I resize the image?
Replies: 3
Views: 7237

Re: How can I set the interpolation method when I resize the image?

The internal core image struct is opaque to the caller of Magick++, I can't set core image struct's attribute directly.

Finally, I dig into the source code and add a setter function to manipulate the core image sturct for C++ class Magick++::Image to set the interpolation method.
by ichaozai
2014-12-01T23:47:58-07:00
Forum: Magick++
Topic: How can I set the interpolation method when I resize the image?
Replies: 3
Views: 7237

How can I set the interpolation method when I resize the image?

I see there is an option "interpolate" for utility "convert" to specify the interpolation method. I want to resize the image with the bilinear or other algorithm in my own program, but I can't find any API to do this with Magick++ C++ library. How can I set the interpolation method when I resize the...