Page 1 of 1

converting form tif to dpx 10 log in C wand

Posted: 2009-04-28T14:27:45-07:00
by jgbas67
Hello! I´m trying to convert some images from tif (16 bits linear) to dpx (10 bit log). The problem is that im new here... I´m using C wand, and my program works, but i´ve some doubts. For the moment i´m trying the this:

MagickSetFormat(magickwand, "dpx")
MagickSetDepth(magickwand, 10)

This generates a dpx image, but i´m not sure about the format...
My other question is how to set the dpx properties (like dpx:mp.format) and dpx settings (like reference-black).

thanks in advance!

Re: converting form tif to dpx 10 log in C wand

Posted: 2009-04-28T16:45:04-07:00
by magick

Re: converting form tif to dpx 10 log in C wand

Posted: 2009-04-29T01:46:05-07:00
by jgbas67
yes, I´ve red that page, but it explains how to do on the command line. I still don´t know how to do with wand.
I´m developing a C software, so i need to use the wand functions (i found it in the API, but i don´t understand at all...)

thanks!

Re: converting form tif to dpx 10 log in C wand

Posted: 2009-04-29T04:47:11-07:00
by magick
Use MagickSetOption(), for example:
  • MagickSetOption(wand,"dpx:television.time.code","10:00:02:15");

Re: converting form tif to dpx 10 log in C wand

Posted: 2009-04-30T04:17:10-07:00
by jgbas67
now my program sets the properties correctly, thanks!
but i still don´t know hoy to set the dpx settings. I´ve red http://www.imagemagick.org/script/comma ... ns.php#set; but i´ve the same problem, i want to do with wand. Some attributes are simple (like MagickSetColorspace), but i can´t found others like set reference white or set display gamma. where can i found this functions?? is it possiible to do with wand?


thanks in advance.