NSJPEGFileType / JPEG writer
17 Nov
2000
17 Nov
'00
7:01 p.m.
Using the following code: [[[[screenCapture representations] objectAtIndex:0] representationUsingType:NSJPEGFileType properties:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithFloat:1.0], NSImageCompressionFactor, nil]] writeToFile:[@"~/screen.jpeg" stringByExpandingTildeInPath] atomically:NO]; I get this error: 2000-11-17 17:51:26.088 ScreenServerX[1053] JPEG writer requires compacted components (bits/component * components/pixel = bits/pixel) Any help would be highly appreciated.
9120
Age (days ago)
9120
Last active (days ago)
0 comments
1 participants
participants (1)
-
J. Anderson Thompson