Search found 11 matches

by rich2449
2011-02-01T17:42:19-07:00
Forum: Bugs
Topic: Magick++ (6.6.7) Geometry bug
Replies: 1
Views: 5158

Magick++ (6.6.7) Geometry bug

Hi there, there is a bug in the file "\Magick++\lib\geometry.cpp", in the function which generates a text string of the current geometry parameters (starts on line 277). // Return geometry string Magick::Geometry::operator std::string() const When generating the x & y offset text an ex...
by rich2449
2010-05-13T08:07:04-07:00
Forum: Users
Topic: Problem composing images with alpha channel
Replies: 1
Views: 4364

Problem composing images with alpha channel

Using the Magick++ api I've created two Magick::Image objects, cleared one to blue, and drawn a red square on the other. Both of these images have been saved out to disk to verify their contents, both are correct. The square is drawn directly into a pixel cache, setting the r,g,b, and opacity for ea...
by rich2449
2010-03-23T07:30:40-07:00
Forum: Magick++
Topic: Magick++ does not write EXIF data?
Replies: 13
Views: 28981

Re: Magick++ does not write EXIF data?

Thank you for the clarification.
by rich2449
2010-03-22T17:25:08-07:00
Forum: Magick++
Topic: Magick++ does not write EXIF data?
Replies: 13
Views: 28981

Magick++ does not write EXIF data?

According to the documentation it looks like I can set EXIF data via the attribute function, however I can't get it to work. Spent the last hour googling around, and can't seem to find anything useful either, only suggestions of using another program to set the EXIF data. Writing image as a JPG, so ...
by rich2449
2010-03-22T15:37:58-07:00
Forum: Users
Topic: Magick++ does not create expected background color
Replies: 4
Views: 10048

Re: Magick++ does not create expected background color

Ah ha! Thank you for the link. It would seem that the image constructor does not set the background color, what color it does set I have no idea. The documentation just states "Construct a blank image canvas of specified size and color". Can anyone shed any light on what "color" ...
by rich2449
2010-03-22T15:17:08-07:00
Forum: Users
Topic: Magick++ does not create expected background color
Replies: 4
Views: 10048

Re: Magick++ does not create expected background color

Setting the background color via

Code: Select all

image.backgroundColor( Magick::Color( 0,0,0 ) );
makes no difference, the background still comes out being 205,205,205?
by rich2449
2010-03-22T15:11:30-07:00
Forum: Users
Topic: how to statically link magick++ on windows
Replies: 1
Views: 4999

Re: how to statically link magick++ on windows

I'm not an expert on image magick, but I would assume that the binary download is exactly what the name suggests, i.e. statically linked, therefore does not contain any external library files in the download. Typically static linking will increase your total build time, not shorten it. It removes de...
by rich2449
2010-03-22T14:59:17-07:00
Forum: Users
Topic: Magick++ does not create expected background color
Replies: 4
Views: 10048

Magick++ does not create expected background color

As far as I can tell from the documentation the following code should produce a black image, with the red pixel in the center. // create image with dimensions of 320x200 pixels, set background color to black Magick::Image image( Magick::Geometry( 320, 200 ), Magick::Color( 0,0,0 ) ); // set pixel ro...
by rich2449
2010-03-18T12:31:45-07:00
Forum: Users
Topic: BlackThresholdImage() use in c++ application
Replies: 4
Views: 9703

Re: BlackThresholdImage() use in c++ application

Thank you!

I agree, from the looks of the code calling modifyImage() should be the only function required.

Thank you again, this is great software!
by rich2449
2010-03-18T12:16:18-07:00
Forum: Users
Topic: BlackThresholdImage() use in c++ application
Replies: 4
Views: 9703

Re: BlackThresholdImage() use in c++ application

Eureka! When using MagicCore functions on Magick++ image objects are any precautions needed to make the image object aware that the underlying image may have changed? From the looks of things, so long as I call modifyImage() before using the MagickCore function I should be fine? Magick::Image test_i...
by rich2449
2010-03-18T11:48:51-07:00
Forum: Users
Topic: BlackThresholdImage() use in c++ application
Replies: 4
Views: 9703

BlackThresholdImage() use in c++ application

What is the correct way to access the function BlackThresholdImage() in a c++ application? I'm starting to use Magick++, which does not appear to have this function. I can see the function in magick\threshold.cpp, but am unsure of the correct method of accessing this function. Googling around has no...