Search found 27 matches

by whatdoido
2017-09-22T02:45:20-07:00
Forum: Developers
Topic: C++ API graceful handling of MAGICK_TMPDIR becoming full
Replies: 4
Views: 14641

C++ API graceful handling of MAGICK_TMPDIR becoming full

I have a C++ process on Linux that processes a large number of images - when TMPDIR / MAGICK_TMPDIR is full the process crashes with SIGBUS I can make this situation appear more readily by creating a small 1MB tmpfs filesystem and pointing MAGICK_TMPDIR at it - the crash/output is produced with that...
by whatdoido
2012-04-04T06:01:23-07:00
Forum: Magick++
Topic: specifying algorithms for Image::scale()/sample()
Replies: 4
Views: 16878

Re: specifying algorithms for Image::scale()/sample()

Thanks. After the mention of "filters" I revisited the Image documentation and found Image::filterType(...) [/b] and states: "Filter to use when resizing image. The reduction filter employed has a sigificant effect on the time required to resize an image and the resulting quality. The...
by whatdoido
2012-03-31T09:27:21-07:00
Forum: Magick++
Topic: specifying algorithms for Image::scale()/sample()
Replies: 4
Views: 16878

specifying algorithms for Image::scale()/sample()

Hello

is it possible with the Magick++ i/f to specify the scale/resize algorithm? The API only provides ::scale() and ::sample()
by whatdoido
2011-02-18T04:29:28-07:00
Forum: Users
Topic: Extracting preview images from RAW files?
Replies: 0
Views: 4171

Extracting preview images from RAW files?

Hi Nikon NEF and Canon CR2 RAW files contain a number embedded preview jpeg images - one full sized image along with smaller images. Using: convert NEF foo.jpg the output is the small preview image. How does one extract the larger/full sized preview image? I do NOT want IM to perform a conversion of...
by whatdoido
2011-02-06T16:02:53-07:00
Forum: Developers
Topic: no ICC profile conversion perfrmd - Magick::Image::profile()
Replies: 5
Views: 12977

Re: no ICC profile conversion perfrmd - Magick::Image::profi

Actually, forget that. I've just replaced references to "ICM" to "ICC" and that's worked!!

What are the differences between ICM and ICC when specifying this to the Image::profile(..) method?
by whatdoido
2011-02-06T15:56:28-07:00
Forum: Developers
Topic: no ICC profile conversion perfrmd - Magick::Image::profile()
Replies: 5
Views: 12977

Re: no ICC profile conversion perfrmd - Magick::Image::profi

Thanks. I am still having trouble with this. I have a very simple test program Magick::Image magick("adobe.jpg"); magick.renderingIntent(Magick::PerceptualIntent); magick.profile("ICM", Magick::Blob(aRGB, aRGBsz)); const Magick::Blob targetICC(sRGB, sRGBsz); magick.profile("...
by whatdoido
2011-02-06T12:13:52-07:00
Forum: Developers
Topic: no ICC profile conversion perfrmd - Magick::Image::profile()
Replies: 5
Views: 12977

Re: no ICC profile conversion perfrmd - Magick::Image::profi

Thanks. So to clarify, I would need to call Image::profile(..) twice: one to set the ICC profile of the image pre-conversion and then again with the target ICC profile and at this point the conversion will be applied?

How would one specify the rendering intent?
by whatdoido
2011-02-06T11:36:56-07:00
Forum: Developers
Topic: no ICC profile conversion perfrmd - Magick::Image::profile()
Replies: 5
Views: 12977

no ICC profile conversion perfrmd - Magick::Image::profile()

Hi, I am using the C++ API - I have a aRGB jpg loaded into memory and construct a Image object and wish to perform a ICC color profile conversion. Magick::Image magick(argv[1]); uchar_t* profile = NULL; size_t profile_length = 0; // alloc buf space for profile and read target ICC profile from disk ....
by whatdoido
2011-02-02T09:10:13-07:00
Forum: Users
Topic: Howto convert color profile of image in C/C++ API?
Replies: 0
Views: 4181

Howto convert color profile of image in C/C++ API?

[ editted subject to be more targeted ] hi I am wishing to use the Magick C/C++ API to perform ICC color conversions on jpg images, in the same way that convert does: convert -profile ./aRGB.icc ./in-aRGB.jpg \ -profile ./sRGB.icc ./out-sRGB.jpg I have dug around the API/header files and the convert...
by whatdoido
2011-01-24T07:23:26-07:00
Forum: Bugs
Topic: BUG: unable to get ICC profile from jpg / Nikon RAW
Replies: 5
Views: 12972

Re: BUG: unable to get ICC profile from jpg / Nikon RAW

Thanks for the clarification. Given that CNX2 has embedded the ICC in the Exif metadata, is there any (clean or otherwise) way to get at this ICC profile from the IM interfaces? If not, would you be able to point me at the correct code segment that I would possibly try to modify my local IM src so I...
by whatdoido
2011-01-23T01:53:58-07:00
Forum: Bugs
Topic: BUG: unable to get ICC profile from jpg / Nikon RAW
Replies: 5
Views: 12972

Re: BUG: unable to get ICC profile from jpg / Nikon RAW

I think you misunderstood - I am reporting that for this given jpg / nef, IM is not able to give me the blob that is the icc profile. Ive read the docs that say that the icc will only presented as binary as is which is what I want but Convert test.jpg test.icc does not give me the binary icc blob fo...
by whatdoido
2011-01-22T17:13:06-07:00
Forum: Bugs
Topic: BUG: unable to get ICC profile from jpg / Nikon RAW
Replies: 5
Views: 12972

BUG: unable to get ICC profile from jpg / Nikon RAW

hi, I'm using IM 6.6.7-1 on Fedora x64 (built from src). I am trying to programatically extract embedded ICC profiles from my jpgs / Nikon NEFs with the Magick++ i/f via Magick::Image::iccColorProfile(void) However, for jpgs/nefs that contain ICC profiles, the IM tools do not believe there is any pr...