- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am using Maya to render frames out of Arnold via MEL commandline. This works.
However, the next step in my code is to get ImageMagick to process the output frames. I have run into a problem where it appears that none of the image formats rendered by Arnold seem to conform to their standard as I get errors when reading the files.
For example:
- If I use PNG, I get: ImproperImageHeader 'path/to/file' @ error/png.c/ReadPNGImage/4255
- If I use TIF, I get: Not a TIFF file, bad magic number 20294 (0x4f46). 'path/to/file' @ error/tiff.c/TIFFErrors/652.
- If I use EXR, I get: UnableToOpenBlob 'Cannot read image file "path/to/file". File is not an image file.': No error @ error/exr.c/ReadEXRImage/206.
- If I use JPG, I get: Not a JPEG file: starts with 0x46 0x4f 'path/to/file' @ error/jpeg.c/JPEGErrorHandler/332.
None of the above formats have problems with ImageMagick if I use the Maya software renderer. They are only unreadable by ImageMagick if I render them with Arnold. Another tell that they don't conform is that Windows is not able to make thumbnails for the jpeg's or the png's, nor am I able to open the png/tif/jpg with Photoshop. (XnView is able to open them, interestingly.)
Unfortunately, the remaining formats that Arnold can output are not formats that I would expect ImageMagick to be able to read, so I am stuck!
I have also tried using different bit depths and compression to no avail.
Am I doing something wrong?
Side note: I am using ImageMagick's montage.exe to do the processing.
Solved! Go to Solution.