Saving DPX in original format

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
naicigam
Posts: 3
Joined: 2011-11-23T09:33:38-07:00
Authentication code: 8675308

Saving DPX in original format

Post by naicigam »

Hello! I am new to Magick++ and I can say it is a very confortable API to use =o)
However I am facing an issue I hope you can help me with.
I am loading several DPX files and saving them using the following code:

Code: Select all

image.read("image.dpx");
image.write("image_copy.dpx");
I have tried with several files and image_copy.dpx is always different from the original image, so I would like to know if there is a way of saving the DPX file in the original format.

Thanks in advance!
Juan M.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Saving DPX in original format

Post by magick »

Post a URL to your original DPX image and its copy. Let us know how they differ. We'll download and inspect the original and its copy and try to account for any differences.
naicigam
Posts: 3
Joined: 2011-11-23T09:33:38-07:00
Authentication code: 8675308

Re: Saving DPX in original format

Post by naicigam »

Thanks for the quick response. You can download the two files from: http://www.megaupload.com/?d=S6P3I67W.
sample.dpx is the original and sample_magick.dpx is the one saved by Magick++.

I will let you know if I can gather more information.

Cheers!
Juan M.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Saving DPX in original format

Post by magick »

We can reproduce the problem you posted and will have a patch in the next point release of ImageMagick hopefully within a few days. Thanks.
naicigam
Posts: 3
Joined: 2011-11-23T09:33:38-07:00
Authentication code: 8675308

Re: Saving DPX in original format

Post by naicigam »

Thank you very much for the hard work! =o)

Cheers!
Juan M.
Post Reply