AWS Thinkbox Discussion Forums

Draft 1.4.0 Beta 1 (revision #59071)

Draft 1.4 Beta 1 is now available, and will also be released with the Deadline 7.2 Beta 4.

[size=150]INSTALLATION INFORMATION[/size]
This version of Draft will not work with Deadline 6 or earlier. The installers for Deadline 7.2 include Draft 1.4.0 Beta 1, but you can also (re)install Draft from the attached .zip archives.

To update Draft, all you should need to do is extract the attached Draft .zip file into the root of your Deadline Repository. It will propagate to the slaves when needed.

If you are using Draft 1.3.x or earlier, you will need an updated Draft 1.4 license.

[size=150]What’s New:[/size]

Images

  • Added support for controlling image compression and quality settings.
  • Updated to ImageMagick 6.9.1.

[size=85]Draft_Deadline7_1_4_0_59071_beta1.zip - removed
Draft binaries
(88.11 MiB) Downloaded 4 times[/size]

DraftDocumentation-1.4.0b1.pdf (312 KB)
DraftDocumentation-1.4.0b1.zip (426 KB)

[size=150]Working with Compression and Quality[/size]

Compression and quality are controlled using Draft.ImageInfo class.

  • Draft.ImageInfo can be passed to Draft.Image.ReadFromFile( filename, imageInfo ) to retrieve compression and quality settings.
  • Draft.ImageInfo can be passed to Draft.Image.WriteToFile( filename, imageInfo ) to control compression and quality settings for the written file.

Compression defaults to ‘default’ which corresponds to the file format default. Valid compression values are: ‘default’, ‘none’, ‘jpeg’, ‘lzw’, ‘rle’, ‘zip’, ‘zips’, ‘piz’, ‘pxr24’, ‘b44’, ‘b44a’, ‘dwaa’ and ‘dwab’.

Quality defaults to None. Valid quality values are integer value in the range [0…100].

Usage:

  • To write a DWAA compressed EXR file with quality set to 75 -
imageInfo = Draft.ImageInfo()
imageInfo.compression = 'dwaa'
imageInfo.quality = 75

image = Draft.Image.ReadFromFile( '//path/to/in.exr' )
image.WriteToFile( '//path/to/out.exr', imageInfo=imageInfo )
Privacy | Site terms | Cookie preferences