org.rococoa.cocoa.appkit
Class NSBitmapImageRep

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSImageRep
          extended by org.rococoa.cocoa.appkit.NSBitmapImageRep
All Implemented Interfaces:
NSCoding, NSCopying, NSObject, ObjCObject

public abstract class NSBitmapImageRep
extends NSImageRep

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NSBitmapImageRep.__bitmapRepFlags
           
static class NSBitmapImageRep._class_
           
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.appkit.NSImageRep
NSImageRep.__repFlags
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
NSCopying._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSBitmapImageRep()
           
 
Method Summary
static NSBitmapImageRep alloc()
           
 NSBitmapImageFileTypeExtensions as_NSBitmapImageRep_NSBitmapImageFileTypeExtensions()
           
abstract  Pointer bitmapData()
          Original signature : -(unsigned char*)bitmapData
native declaration : NSBitmapImageRep.h:115
abstract  int bitmapFormat()
          Original signature : -(NSBitmapFormat)bitmapFormat
native declaration : NSBitmapImageRep.h:124
abstract  NSBitmapImageRep bitmapImageRepByRetaggingWithColorSpace(NSColorSpace newSpace)
          Original signature : -(NSBitmapImageRep*)bitmapImageRepByRetaggingWithColorSpace:(NSColorSpace*)
native declaration : NSBitmapImageRep.h:167
abstract  NSInteger bitsPerPixel()
          Original signature : -(NSInteger)bitsPerPixel
native declaration : NSBitmapImageRep.h:119
abstract  NSInteger bytesPerPlane()
          Original signature : -(NSInteger)bytesPerPlane
native declaration : NSBitmapImageRep.h:121
abstract  NSInteger bytesPerRow()
          Original signature : -(NSInteger)bytesPerRow
native declaration : NSBitmapImageRep.h:120
abstract  boolean canBeCompressedUsing(int compression)
          Original signature : -(BOOL)canBeCompressedUsing:(NSTIFFCompression)
native declaration : NSBitmapImageRep.h:138
abstract  NSObject CGImage()
          Original signature : -(id)CGImage
native declaration : NSBitmapImageRep.h:160
abstract  NSColor colorAtX_y(NSInteger x, NSInteger y)
          Original signature : -(NSColor*)colorAtX:(NSInteger) y:(NSInteger)
native declaration : NSBitmapImageRep.h:153
abstract  void colorizeByMappingGray_toColor_blackMapping_whiteMapping(org.rococoa.cocoa.CGFloat midPoint, NSColor midPointColor, NSColor shadowColor, NSColor lightColor)
          Support for colorization of grayscale images.
abstract  NSColorSpace colorSpace()
          Original signature : -(NSColorSpace*)colorSpace
native declaration : NSBitmapImageRep.h:164
static NSBitmapImageRep createForIncrementalLoad()
          Factory method
static NSBitmapImageRep createWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel(PointerByReference planes, NSInteger width, NSInteger height, NSInteger bps, NSInteger spp, boolean alpha, boolean isPlanar, NSString colorSpaceName, int bitmapFormat, NSInteger rBytes, NSInteger pBits)
          Factory method
static NSBitmapImageRep createWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel(PointerByReference planes, NSInteger width, NSInteger height, NSInteger bps, NSInteger spp, boolean alpha, boolean isPlanar, NSString colorSpaceName, NSInteger rBytes, NSInteger pBits)
          Factory method
static NSBitmapImageRep createWithCIImage(CIImage ciImage)
          Factory method
static NSBitmapImageRep createWithData(NSData data)
          Factory method
abstract  void getBitmapDataPlanes(PointerByReference data)
          Original signature : -(void)getBitmapDataPlanes:(unsigned char**)
native declaration : NSBitmapImageRep.h:116
abstract  void getCompression_factor(IntBuffer compression, FloatBuffer factor)
          Original signature : -(void)getCompression:(NSTIFFCompression*) factor:(float*)
native declaration : NSBitmapImageRep.h:127
abstract  void getCompression_factor(IntByReference compression, FloatByReference factor)
          Deprecated. use the safer methods getCompression_factor(java.nio.IntBuffer, java.nio.FloatBuffer) and getCompression_factor(com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.FloatByReference) instead
static NSBitmapImageRep._class_ getNSClass()
           
abstract  void getPixel_atX_y(NativeSizeByReference p, NSInteger x, NSInteger y)
          Original signature : -(void)getPixel:(NSUInteger[]) atX:(NSInteger) y:(NSInteger)
native declaration : NSBitmapImageRep.h:155
static void getTIFFCompressionTypes_count(PointerByReference list, NativeSizeByReference numTypes)
          Original signature : +(void)getTIFFCompressionTypes:(const NSTIFFCompression**) count:(NSInteger*)
native declaration : NSBitmapImageRep.h:136
static NSArray imageRepsWithData(NSData data)
          some file formats can contain multiple images
Original signature : +(NSArray*)imageRepsWithData:(NSData*)
native declaration : NSBitmapImageRep.h:110
static NSBitmapImageRep imageRepWithData(NSData data)
          Convenience of initWithData:
Original signature : +(id)imageRepWithData:(NSData*)
native declaration : NSBitmapImageRep.h:112
abstract  NSInteger incrementalLoadFromData_complete(NSData data, boolean complete)
          Original signature : -(NSInteger)incrementalLoadFromData:(NSData*) complete:(BOOL)
native declaration : NSBitmapImageRep.h:148
abstract  NSBitmapImageRep initForIncrementalLoad()
          Original signature : -(id)initForIncrementalLoad
native declaration : NSBitmapImageRep.h:147
abstract  NSBitmapImageRep initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel(PointerByReference planes, NSInteger width, NSInteger height, NSInteger bps, NSInteger spp, boolean alpha, boolean isPlanar, NSString colorSpaceName, int bitmapFormat, NSInteger rBytes, NSInteger pBits)
          Original signature : -(id)initWithBitmapDataPlanes:(unsigned char**) pixelsWide:(NSInteger) pixelsHigh:(NSInteger) bitsPerSample:(NSInteger) samplesPerPixel:(NSInteger) hasAlpha:(BOOL) isPlanar:(BOOL) colorSpaceName:(NSString*) bitmapFormat:(NSBitmapFormat) bytesPerRow:(NSInteger) bitsPerPixel:(NSInteger)
native declaration : NSBitmapImageRep.h:103
abstract  NSBitmapImageRep initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel(PointerByReference planes, NSInteger width, NSInteger height, NSInteger bps, NSInteger spp, boolean alpha, boolean isPlanar, NSString colorSpaceName, NSInteger rBytes, NSInteger pBits)
          Original signature : -(id)initWithBitmapDataPlanes:(unsigned char**) pixelsWide:(NSInteger) pixelsHigh:(NSInteger) bitsPerSample:(NSInteger) samplesPerPixel:(NSInteger) hasAlpha:(BOOL) isPlanar:(BOOL) colorSpaceName:(NSString*) bytesPerRow:(NSInteger) bitsPerPixel:(NSInteger)
native declaration : NSBitmapImageRep.h:101
abstract  NSBitmapImageRep initWithCIImage(CIImage ciImage)
          Original signature : -(id)initWithCIImage:(CIImage*)
native declaration : NSBitmapImageRep.h:107
abstract  NSBitmapImageRep initWithData(NSData data)
          Original signature : -(id)initWithData:(NSData*)
native declaration : NSBitmapImageRep.h:113
abstract  boolean isPlanar()
          Original signature : -(BOOL)isPlanar
native declaration : NSBitmapImageRep.h:117
static NSString localizedNameForTIFFCompressionType(int compression)
          Original signature : +(NSString*)localizedNameForTIFFCompressionType:(NSTIFFCompression)
native declaration : NSBitmapImageRep.h:137
static NSBitmapImageRep new_()
           
abstract  NSInteger numberOfPlanes()
          Original signature : -(NSInteger)numberOfPlanes
native declaration : NSBitmapImageRep.h:122
abstract  NSInteger samplesPerPixel()
          Original signature : -(NSInteger)samplesPerPixel
native declaration : NSBitmapImageRep.h:118
abstract  void setColor_atX_y(NSColor color, NSInteger x, NSInteger y)
          Original signature : -(void)setColor:(NSColor*) atX:(NSInteger) y:(NSInteger)
native declaration : NSBitmapImageRep.h:152
abstract  void setCompression_factor(int compression, float factor)
          Original signature : -(void)setCompression:(NSTIFFCompression) factor:(float)
native declaration : NSBitmapImageRep.h:128
abstract  void setPixel_atX_y(NativeSizeByReference p, NSInteger x, NSInteger y)
          Original signature : -(void)setPixel:(NSUInteger[]) atX:(NSInteger) y:(NSInteger)
native declaration : NSBitmapImageRep.h:156
abstract  NSData TIFFRepresentation()
          Original signature : -(NSData*)TIFFRepresentation
native declaration : NSBitmapImageRep.h:130
static NSData TIFFRepresentationOfImageRepsInArray_usingCompression_factor(NSArray array, int comp, float factor)
          Original signature : +(NSData*)TIFFRepresentationOfImageRepsInArray:(NSArray*) usingCompression:(NSTIFFCompression) factor:(float)
native declaration : NSBitmapImageRep.h:134
static NSData TIFFRepresentationOfImageRepsInArray(NSArray array)
          Original signature : +(NSData*)TIFFRepresentationOfImageRepsInArray:(NSArray*)
native declaration : NSBitmapImageRep.h:133
abstract  NSData TIFFRepresentationUsingCompression_factor(int comp, float factor)
          Original signature : -(NSData*)TIFFRepresentationUsingCompression:(NSTIFFCompression) factor:(float)
native declaration : NSBitmapImageRep.h:131
 
Methods inherited from class org.rococoa.cocoa.appkit.NSImageRep
bitsPerSample, canInitWithData, canInitWithPasteboard, CGImageForProposedRect_context_hints, colorSpaceName, draw, hasAlpha, imageFileTypes, imagePasteboardTypes, imageRepClassForData, imageRepClassForFileType, imageRepClassForPasteboardType, imageRepClassForType, imageRepsWithContentsOfFile, imageRepsWithContentsOfURL, imageRepsWithPasteboard, imageRepWithContentsOfFile, imageRepWithContentsOfURL, imageRepWithPasteboard, imageTypes, imageUnfilteredFileTypes, imageUnfilteredPasteboardTypes, imageUnfilteredTypes, isOpaque, pixelsHigh, pixelsWide, registeredImageRepClasses, registerImageRepClass, setAlpha, setBitsPerSample, setColorSpaceName, setOpaque, setPixelsHigh, setPixelsWide, setSize, size, unregisterImageRepClass
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
copyWithZone
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSBitmapImageRep

public NSBitmapImageRep()
Method Detail

as_NSBitmapImageRep_NSBitmapImageFileTypeExtensions

public NSBitmapImageFileTypeExtensions as_NSBitmapImageRep_NSBitmapImageFileTypeExtensions()

initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel

public abstract NSBitmapImageRep initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel(PointerByReference planes,
                                                                                                                                                                        NSInteger width,
                                                                                                                                                                        NSInteger height,
                                                                                                                                                                        NSInteger bps,
                                                                                                                                                                        NSInteger spp,
                                                                                                                                                                        boolean alpha,
                                                                                                                                                                        boolean isPlanar,
                                                                                                                                                                        NSString colorSpaceName,
                                                                                                                                                                        NSInteger rBytes,
                                                                                                                                                                        NSInteger pBits)
Original signature : -(id)initWithBitmapDataPlanes:(unsigned char**) pixelsWide:(NSInteger) pixelsHigh:(NSInteger) bitsPerSample:(NSInteger) samplesPerPixel:(NSInteger) hasAlpha:(BOOL) isPlanar:(BOOL) colorSpaceName:(NSString*) bytesPerRow:(NSInteger) bitsPerPixel:(NSInteger)
native declaration : NSBitmapImageRep.h:101


createWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel

public static NSBitmapImageRep createWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel(PointerByReference planes,
                                                                                                                                                                        NSInteger width,
                                                                                                                                                                        NSInteger height,
                                                                                                                                                                        NSInteger bps,
                                                                                                                                                                        NSInteger spp,
                                                                                                                                                                        boolean alpha,
                                                                                                                                                                        boolean isPlanar,
                                                                                                                                                                        NSString colorSpaceName,
                                                                                                                                                                        NSInteger rBytes,
                                                                                                                                                                        NSInteger pBits)
Factory method

See Also:
initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel(com.sun.jna.ptr.PointerByReference, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger, boolean, boolean, org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger)

initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel

public abstract NSBitmapImageRep initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel(PointerByReference planes,
                                                                                                                                                                                     NSInteger width,
                                                                                                                                                                                     NSInteger height,
                                                                                                                                                                                     NSInteger bps,
                                                                                                                                                                                     NSInteger spp,
                                                                                                                                                                                     boolean alpha,
                                                                                                                                                                                     boolean isPlanar,
                                                                                                                                                                                     NSString colorSpaceName,
                                                                                                                                                                                     int bitmapFormat,
                                                                                                                                                                                     NSInteger rBytes,
                                                                                                                                                                                     NSInteger pBits)
Original signature : -(id)initWithBitmapDataPlanes:(unsigned char**) pixelsWide:(NSInteger) pixelsHigh:(NSInteger) bitsPerSample:(NSInteger) samplesPerPixel:(NSInteger) hasAlpha:(BOOL) isPlanar:(BOOL) colorSpaceName:(NSString*) bitmapFormat:(NSBitmapFormat) bytesPerRow:(NSInteger) bitsPerPixel:(NSInteger)
native declaration : NSBitmapImageRep.h:103

Parameters:
bitmapFormat - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSBitmapFormat

createWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel

public static NSBitmapImageRep createWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel(PointerByReference planes,
                                                                                                                                                                                     NSInteger width,
                                                                                                                                                                                     NSInteger height,
                                                                                                                                                                                     NSInteger bps,
                                                                                                                                                                                     NSInteger spp,
                                                                                                                                                                                     boolean alpha,
                                                                                                                                                                                     boolean isPlanar,
                                                                                                                                                                                     NSString colorSpaceName,
                                                                                                                                                                                     int bitmapFormat,
                                                                                                                                                                                     NSInteger rBytes,
                                                                                                                                                                                     NSInteger pBits)
Factory method

See Also:
initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel(com.sun.jna.ptr.PointerByReference, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger, boolean, boolean, org.rococoa.cocoa.foundation.NSString, int, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger)

initWithCIImage

public abstract NSBitmapImageRep initWithCIImage(CIImage ciImage)
Original signature : -(id)initWithCIImage:(CIImage*)
native declaration : NSBitmapImageRep.h:107


createWithCIImage

public static NSBitmapImageRep createWithCIImage(CIImage ciImage)
Factory method

See Also:
initWithCIImage(org.rococoa.cocoa.quartzcore.CIImage)

imageRepsWithData

public static NSArray imageRepsWithData(NSData data)
some file formats can contain multiple images
Original signature : +(NSArray*)imageRepsWithData:(NSData*)
native declaration : NSBitmapImageRep.h:110


imageRepWithData

public static NSBitmapImageRep imageRepWithData(NSData data)
Convenience of initWithData:
Original signature : +(id)imageRepWithData:(NSData*)
native declaration : NSBitmapImageRep.h:112


initWithData

public abstract NSBitmapImageRep initWithData(NSData data)
Original signature : -(id)initWithData:(NSData*)
native declaration : NSBitmapImageRep.h:113


createWithData

public static NSBitmapImageRep createWithData(NSData data)
Factory method

See Also:
initWithData(org.rococoa.cocoa.foundation.NSData)

bitmapData

public abstract Pointer bitmapData()
Original signature : -(unsigned char*)bitmapData
native declaration : NSBitmapImageRep.h:115


getBitmapDataPlanes

public abstract void getBitmapDataPlanes(PointerByReference data)
Original signature : -(void)getBitmapDataPlanes:(unsigned char**)
native declaration : NSBitmapImageRep.h:116


isPlanar

public abstract boolean isPlanar()
Original signature : -(BOOL)isPlanar
native declaration : NSBitmapImageRep.h:117


samplesPerPixel

public abstract NSInteger samplesPerPixel()
Original signature : -(NSInteger)samplesPerPixel
native declaration : NSBitmapImageRep.h:118


bitsPerPixel

public abstract NSInteger bitsPerPixel()
Original signature : -(NSInteger)bitsPerPixel
native declaration : NSBitmapImageRep.h:119


bytesPerRow

public abstract NSInteger bytesPerRow()
Original signature : -(NSInteger)bytesPerRow
native declaration : NSBitmapImageRep.h:120


bytesPerPlane

public abstract NSInteger bytesPerPlane()
Original signature : -(NSInteger)bytesPerPlane
native declaration : NSBitmapImageRep.h:121


numberOfPlanes

public abstract NSInteger numberOfPlanes()
Original signature : -(NSInteger)numberOfPlanes
native declaration : NSBitmapImageRep.h:122


bitmapFormat

public abstract int bitmapFormat()
Original signature : -(NSBitmapFormat)bitmapFormat
native declaration : NSBitmapImageRep.h:124


getCompression_factor

@Deprecated
public abstract void getCompression_factor(IntByReference compression,
                                                      FloatByReference factor)
Deprecated. use the safer methods getCompression_factor(java.nio.IntBuffer, java.nio.FloatBuffer) and getCompression_factor(com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.FloatByReference) instead

Original signature : -(void)getCompression:(NSTIFFCompression*) factor:(float*)
native declaration : NSBitmapImageRep.h:127

Parameters:
compression - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression

getCompression_factor

public abstract void getCompression_factor(IntBuffer compression,
                                           FloatBuffer factor)
Original signature : -(void)getCompression:(NSTIFFCompression*) factor:(float*)
native declaration : NSBitmapImageRep.h:127


setCompression_factor

public abstract void setCompression_factor(int compression,
                                           float factor)
Original signature : -(void)setCompression:(NSTIFFCompression) factor:(float)
native declaration : NSBitmapImageRep.h:128

Parameters:
compression - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression

TIFFRepresentation

public abstract NSData TIFFRepresentation()
Original signature : -(NSData*)TIFFRepresentation
native declaration : NSBitmapImageRep.h:130


TIFFRepresentationUsingCompression_factor

public abstract NSData TIFFRepresentationUsingCompression_factor(int comp,
                                                                 float factor)
Original signature : -(NSData*)TIFFRepresentationUsingCompression:(NSTIFFCompression) factor:(float)
native declaration : NSBitmapImageRep.h:131

Parameters:
comp - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression

TIFFRepresentationOfImageRepsInArray

public static NSData TIFFRepresentationOfImageRepsInArray(NSArray array)
Original signature : +(NSData*)TIFFRepresentationOfImageRepsInArray:(NSArray*)
native declaration : NSBitmapImageRep.h:133


TIFFRepresentationOfImageRepsInArray_usingCompression_factor

public static NSData TIFFRepresentationOfImageRepsInArray_usingCompression_factor(NSArray array,
                                                                                  int comp,
                                                                                  float factor)
Original signature : +(NSData*)TIFFRepresentationOfImageRepsInArray:(NSArray*) usingCompression:(NSTIFFCompression) factor:(float)
native declaration : NSBitmapImageRep.h:134

Parameters:
comp - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression

getTIFFCompressionTypes_count

public static void getTIFFCompressionTypes_count(PointerByReference list,
                                                 NativeSizeByReference numTypes)
Original signature : +(void)getTIFFCompressionTypes:(const NSTIFFCompression**) count:(NSInteger*)
native declaration : NSBitmapImageRep.h:136


localizedNameForTIFFCompressionType

public static NSString localizedNameForTIFFCompressionType(int compression)
Original signature : +(NSString*)localizedNameForTIFFCompressionType:(NSTIFFCompression)
native declaration : NSBitmapImageRep.h:137

Parameters:
compression - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression

canBeCompressedUsing

public abstract boolean canBeCompressedUsing(int compression)
Original signature : -(BOOL)canBeCompressedUsing:(NSTIFFCompression)
native declaration : NSBitmapImageRep.h:138

Parameters:
compression - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression

colorizeByMappingGray_toColor_blackMapping_whiteMapping

public abstract void colorizeByMappingGray_toColor_blackMapping_whiteMapping(org.rococoa.cocoa.CGFloat midPoint,
                                                                             NSColor midPointColor,
                                                                             NSColor shadowColor,
                                                                             NSColor lightColor)
Support for colorization of grayscale images. Maps the image such that:
Gray value of midPoint -> midPointColor, black -> shadowColor, white -> lightColor.
Works on images with 8-bit SPP; thus either 8-bit gray or 24-bit color (with optional alpha).
Original signature : -(void)colorizeByMappingGray:(CGFloat) toColor:(NSColor*) blackMapping:(NSColor*) whiteMapping:(NSColor*)
native declaration : NSBitmapImageRep.h:144


initForIncrementalLoad

public abstract NSBitmapImageRep initForIncrementalLoad()
Original signature : -(id)initForIncrementalLoad
native declaration : NSBitmapImageRep.h:147


createForIncrementalLoad

public static NSBitmapImageRep createForIncrementalLoad()
Factory method

See Also:
initForIncrementalLoad()

incrementalLoadFromData_complete

public abstract NSInteger incrementalLoadFromData_complete(NSData data,
                                                           boolean complete)
Original signature : -(NSInteger)incrementalLoadFromData:(NSData*) complete:(BOOL)
native declaration : NSBitmapImageRep.h:148


setColor_atX_y

public abstract void setColor_atX_y(NSColor color,
                                    NSInteger x,
                                    NSInteger y)
Original signature : -(void)setColor:(NSColor*) atX:(NSInteger) y:(NSInteger)
native declaration : NSBitmapImageRep.h:152


colorAtX_y

public abstract NSColor colorAtX_y(NSInteger x,
                                   NSInteger y)
Original signature : -(NSColor*)colorAtX:(NSInteger) y:(NSInteger)
native declaration : NSBitmapImageRep.h:153


getPixel_atX_y

public abstract void getPixel_atX_y(NativeSizeByReference p,
                                    NSInteger x,
                                    NSInteger y)
Original signature : -(void)getPixel:(NSUInteger[]) atX:(NSInteger) y:(NSInteger)
native declaration : NSBitmapImageRep.h:155


setPixel_atX_y

public abstract void setPixel_atX_y(NativeSizeByReference p,
                                    NSInteger x,
                                    NSInteger y)
Original signature : -(void)setPixel:(NSUInteger[]) atX:(NSInteger) y:(NSInteger)
native declaration : NSBitmapImageRep.h:156


CGImage

public abstract NSObject CGImage()
Original signature : -(id)CGImage
native declaration : NSBitmapImageRep.h:160


colorSpace

public abstract NSColorSpace colorSpace()
Original signature : -(NSColorSpace*)colorSpace
native declaration : NSBitmapImageRep.h:164


bitmapImageRepByRetaggingWithColorSpace

public abstract NSBitmapImageRep bitmapImageRepByRetaggingWithColorSpace(NSColorSpace newSpace)
Original signature : -(NSBitmapImageRep*)bitmapImageRepByRetaggingWithColorSpace:(NSColorSpace*)
native declaration : NSBitmapImageRep.h:167


alloc

public static NSBitmapImageRep alloc()

new_

public static NSBitmapImageRep new_()

getNSClass

public static NSBitmapImageRep._class_ getNSClass()


Copyright © 2009. All Rights Reserved.