Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unwanted Tiff Conversion from Mono16 - Mono8 sources with GraphicsExportSetExifEnabled



Dear QuickTime / Apple Engineers;

Before I spend the time filing both a bug report and an enhancement request, I'd like to know if this is not "intended" behavior or not (i.e. from 20 years of past Mac / QuickTime dev experience -  intended behavior never gets changed, like RGG24 support on the Mac in ARGB32 GWorlds).

I'm working on a Microscopy Clients app that can create, save and manipulate RGB48, Mono16, ARGB32, RGB24 and Mono8 images. They have an internal meta data format that we add in to Tiff files when we save them out. It works fine internally and externally with other apps, however there is a silent issue with QuickTime that I can't work around when QuickTime creates Tiff Files.

QuickTime will silently changes the tiff ouptut format when we add in a call to GraphicsExportSetExifEnabled() for Mono8 and Mono16 images. If we pass in a Mono16 or Mono8 source image, we always get RGB24 tiffs out (on multiple Mac, x86 and PowerPC, OSX 10.4, 10.4, 10.5, QT 7 and up) . No errors are reported in any calls to do the export and it just silently ignores what we want to do.

If I strip out the EXIF code (i.e. removing GraphicsExportSetExifEnabled and GraphicsExportSetMetaData) it all works fine so that if I pass in a RGB48, Mono16, ARGB32, RGB24 or Mono8 source then I get the exact depth TIFF  out I wanted with no conversion. We are not creating "kQTTIFFCompression_PackBits" tiffs either, which I'm aware of does not work for all Tiffs.

So is the above by design or not?

On another note.

In another scientific Application (our own products), using "kQTTIFFCompression_PackBits" for creating RGB48 or Mono16 tiff does absolutely nothing and it is ignored (no error messages etc.) . Is that by design too?

Thanks in advance..

Milton J. Aupperle
President
ASC - Aupperle Services and Contracting
Mac Software (Drivers, Components and Application) Specialist
#1005 - 815 14th Avenue. S.W.
Calgary Alberta T2R0N5
1-(403)-229-9456
www.outcastsoft.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.