CocoaDev

Edit AllPages

An NSValueTransformer that enables bindings to use Jpeg2000 compression rather than just the raw TIFF data.

I’ve hand tuned the compression parameter to show no compression artifacts for my test images. You may wish to increase it. � BryanWoods

// Jpeg2kValueTransformer @interface Jpeg2kValueTransformer : NSValueTransformer

@end

// Jpeg2kValueTransformer.m #import “Jpeg2kValueTransformer.h”

@implementation Jpeg2kValueTransformer

@end

Note that NSJPEG2000FileType is only available in Mac OS X v10.4 and later.


Some notes