Revision: 14285
http://sourceforge.net/p/skim-app/code/14285
Author: hofman
Date: 2024-06-01 15:22:44 +0000 (Sat, 01 Jun 2024)
Log Message:
-----------
let system choose bitmap format
Modified Paths:
--------------
trunk/NSBitmapImageRep_SKExtensions.m
Modified: trunk/NSBitmapImageRep_SKExtensions.m
===================================================================
--- trunk/NSBitmapImageRep_SKExtensions.m 2024-06-01 15:15:08 UTC (rev
14284)
+++ trunk/NSBitmapImageRep_SKExtensions.m 2024-06-01 15:22:44 UTC (rev
14285)
@@ -234,7 +234,7 @@
NSBitmapImageRep *bmpImageRep = [[self alloc] initWithBitmapDataPlanes:NULL
pixelsWide:(NSInteger)(size.width * scale)
pixelsHigh:(NSInteger)(size.height * scale)
bitsPerSample:8 samplesPerPixel:4 hasAlpha:YES isPlanar:NO
- colorSpaceName:NSCalibratedRGBColorSpace
bitmapFormat:NSAlphaFirstBitmapFormat
+ colorSpaceName:NSCalibratedRGBColorSpace
bytesPerRow:0 bitsPerPixel:0];
bmpImageRep = [bmpImageRep
bitmapImageRepByRetaggingWithColorSpace:[NSColorSpace sRGBColorSpace]];
[bmpImageRep setSize:size];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit