org.rococoa.cocoa.appkit
Class NSBitmapImageRep
java.lang.Object
org.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSImageRep
org.rococoa.cocoa.appkit.NSBitmapImageRep
- All Implemented Interfaces:
- NSBitmapImageFileTypeExtensions, ABActionDelegate, AMWorkflowControllerDelegate, IMVideoDataSource, NSAccessibility, NSAccessibilityAdditions, NSAnimationDelegate, NSApplicationScriptingDelegation, NSArchiverCallback, NSBrowserDelegate, NSClassDescriptionPrimitives, NSCoderMethods, NSColorPanelResponderMethod, NSComboBoxCellDataSource, NSComboBoxDataSource, NSComboBoxNotifications, NSComparisonMethods, NSConnectionDelegateMethods, NSControlSubclassDelegate, NSControlSubclassNotifications, NSCopyLinkMoveHandler, NSDatePickerCellDelegate, NSDelayedPerforming, NSDeprecatedKeyValueCoding, NSDeprecatedKeyValueObservingCustomization, NSDeprecatedMethods, NSDictionaryControllerKeyValuePair, NSDistantObjectRequestMethods, NSDistributedObjects, NSDraggingDestination, NSDraggingSource, NSDrawerDelegate, NSDrawerNotifications, NSEditor, NSEditorRegistration, NSErrorRecoveryAttempting, NSExceptionHandlerDelegate, NSFileManagerFileOperationAdditions, NSFontManagerDelegate, NSFontManagerResponderMethod, NSFontPanelValidationAdditions, NSImageDelegate, NSKeyedArchiverDelegate, NSKeyedArchiverObjectSubstitution, NSKeyedUnarchiverDelegate, NSKeyedUnarchiverObjectSubstitution, NSKeyValueBindingCreation, NSKeyValueCoding, NSKeyValueObserverNotification, NSKeyValueObserverRegistration, NSKeyValueObserving, NSKeyValueObservingCustomization, NSLayoutManagerDelegate, NSMenuDelegate, NSMenuValidation, NSMetadataQueryDelegate, NSNetServiceBrowserDelegateMethods, NSNetServiceDelegateMethods, NSNibAwaking, NSOutlineViewDataSource, NSOutlineViewDelegate, NSOutlineViewNotifications, NSPasteboardOwner, NSPlaceholders, NSPortDelegateMethods, NSRuleEditorDelegateMethods, NSSavePanelDelegate, NSScriptClassDescription, NSScripting, NSScriptingComparisonMethods, NSScriptKeyValueCoding, NSScriptObjectSpecifiers, NSSoundDelegateMethods, NSSpeechRecognizerDelegate, NSSpeechSynthesizerDelegate, NSSpellServerDelegate, NSSplitViewDelegate, NSStreamDelegateEventExtensions, NSTabViewDelegate, NSTextDelegate, NSTextViewDelegate, NSThreadPerformAdditions, NSTokenFieldCellDelegate, NSTokenFieldDelegate, NSToolbarDelegate, NSToolbarNotifications, NSURLClient, NSURLConnectionDelegate, NSURLDownloadDelegate, NSWindowDelegate, NSWindowNotifications, NSXMLParserDelegateEventAdditions, QTCaptureDecompressedVideoOutputDelegate, QTCaptureFileOutputDelegate, QTCaptureVideoPreviewOutputDelegate, QTCaptureViewDelegate, QTMovieDelegate, QTMovieViewDelegate, SFAuthorizationViewDelegate, SFCertificatePanelDelegate, SFChooseIdentityPanelDelegate, WebDownloadDelegate, WebFrameLoadDelegate, WebJavaPlugIn, WebPlugIn, WebPlugInContainer, WebPolicyDelegate, WebResourceLoadDelegate, WebScripting, WebUIDelegate, WebViewEditingDelegate, NSCoding, NSCopying, NSObject
public abstract class NSBitmapImageRep
- extends NSImageRep
- implements NSBitmapImageFileTypeExtensions
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.
Method Summary |
static NSBitmapImageRep |
alloc()
|
abstract ByteByReference |
bitmapData()
|
abstract int |
bitmapFormat()
|
abstract int |
bitsPerPixel()
|
abstract int |
bytesPerPlane()
|
abstract int |
bytesPerRow()
|
abstract boolean |
canBeCompressedUsing(int compression)
Original signature : -(BOOL)canBeCompressedUsing:(NSTIFFCompression)
|
abstract NSObject |
CGImage()
|
abstract NSColor |
colorAtX_y(int x,
int y)
|
abstract void |
colorizeByMappingGray_toColor_blackMapping_whiteMapping(float midPoint,
NSColor midPointColor,
NSColor shadowColor,
NSColor lightColor)
Support for colorization of grayscale images. |
static NSBitmapImageRep |
createForIncrementalLoad()
Factory method
|
static NSBitmapImageRep |
createWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel(PointerByReference planes,
int width,
int height,
int bps,
int spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
int bitmapFormat,
int rBytes,
int pBits)
Factory method
|
static NSBitmapImageRep |
createWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel(PointerByReference planes,
int width,
int height,
int bps,
int spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
int rBytes,
int pBits)
Factory method
|
static NSBitmapImageRep |
createWithCIImage(CIImage ciImage)
Factory method
|
static NSBitmapImageRep |
createWithData(NSData data)
Factory method
|
abstract void |
getBitmapDataPlanes(PointerByReference data)
|
abstract void |
getCompression_factor(int compression,
FloatBuffer factor)
Original signature : -(void)getCompression:(NSTIFFCompression*) factor:(float*)
|
abstract void |
getCompression_factor(int compression,
FloatByReference factor)
Deprecated. use the safer method getCompression_factor(int, java.nio.FloatBuffer) instead
|
abstract void |
getPixel_atX_y(IntBuffer p,
int x,
int y)
|
abstract void |
getPixel_atX_y(IntByReference p,
int x,
int y)
Deprecated. use the safer method getPixel_atX_y(java.nio.IntBuffer, int, int) instead |
static void |
getTIFFCompressionTypes_count(PointerByReference list,
IntBuffer numTypes)
|
static void |
getTIFFCompressionTypes_count(PointerByReference list,
IntByReference numTypes)
Deprecated. use the safer method getTIFFCompressionTypes_count(com.sun.jna.ptr.PointerByReference, java.nio.IntBuffer) instead |
static NSArray |
imageRepsWithData(NSData data)
Original signature : +(NSArray*)imageRepsWithData:(NSData*)
some file formats can contain multiple images |
static NSBitmapImageRep |
imageRepWithData(NSData data)
Original signature : +(id)imageRepWithData:(NSData*)
Convenience of initWithData: |
abstract int |
incrementalLoadFromData_complete(NSData data,
boolean complete)
|
abstract NSBitmapImageRep |
initForIncrementalLoad()
|
abstract NSBitmapImageRep |
initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel(PointerByReference planes,
int width,
int height,
int bps,
int spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
int bitmapFormat,
int rBytes,
int 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)
|
abstract NSBitmapImageRep |
initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel(PointerByReference planes,
int width,
int height,
int bps,
int spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
int rBytes,
int pBits)
|
abstract NSBitmapImageRep |
initWithCIImage(CIImage ciImage)
|
abstract NSBitmapImageRep |
initWithData(NSData data)
|
abstract boolean |
isPlanar()
|
static NSString |
localizedNameForTIFFCompressionType(int compression)
Original signature : +(NSString*)localizedNameForTIFFCompressionType:(NSTIFFCompression)
|
abstract int |
numberOfPlanes()
|
abstract int |
samplesPerPixel()
|
abstract void |
setColor_atX_y(NSColor color,
int x,
int y)
|
abstract void |
setCompression_factor(int compression,
float factor)
Original signature : -(void)setCompression:(NSTIFFCompression) factor:(float)
|
abstract void |
setPixel_atX_y(IntBuffer p,
int x,
int y)
|
abstract void |
setPixel_atX_y(IntByReference p,
int x,
int y)
Deprecated. use the safer method setPixel_atX_y(java.nio.IntBuffer, int, int) instead |
abstract NSData |
TIFFRepresentation()
|
static NSData |
TIFFRepresentationOfImageRepsInArray_usingCompression_factor(NSArray array,
int comp,
float factor)
Original signature : +(NSData*)TIFFRepresentationOfImageRepsInArray:(NSArray*) usingCompression:(NSTIFFCompression) factor:(float)
|
static NSData |
TIFFRepresentationOfImageRepsInArray(NSArray array)
|
abstract NSData |
TIFFRepresentationUsingCompression_factor(int comp,
float factor)
Original signature : -(NSData*)TIFFRepresentationUsingCompression:(NSTIFFCompression) factor:(float)
|
Methods inherited from class org.rococoa.cocoa.appkit.NSImageRep |
bitsPerSample, canInitWithData, canInitWithPasteboard, 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 |
copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardInvocation, id, init, isKindOfClass, isKindOfClass, methodSignatureForSelector, mutableCopy, release, retain, retainCount |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
autorelease, class_, conformsToProtocol, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebUIDelegate |
webView_contextMenuItemsForElement_defaultMenuItems, webView_createWebViewModalDialogWithRequest, webView_createWebViewWithRequest, webView_dragDestinationActionMaskForDraggingInfo, webView_dragDestinationActionMaskForDraggingInfo, webView_makeFirstResponder, webView_mouseDidMoveOverElement_modifierFlags, webView_printFrameView, webView_runBeforeUnloadConfirmPanelWithMessage_initiatedByFrame, webView_runJavaScriptAlertPanelWithMessage_initiatedByFrame, webView_runJavaScriptAlertPanelWithMessage, webView_runJavaScriptConfirmPanelWithMessage_initiatedByFrame, webView_runJavaScriptConfirmPanelWithMessage, webView_runJavaScriptTextInputPanelWithPrompt_defaultText_initiatedByFrame, webView_runJavaScriptTextInputPanelWithPrompt_defaultText, webView_runOpenPanelForFileButtonWithResultListener, webView_runOpenPanelForFileButtonWithResultListener, webView_setResizable, webView_setStatusBarVisible, webView_setStatusText, webView_setToolbarsVisible, webView_shouldPerformAction_fromSender, webView_validateUserInterfaceItem_defaultValidation, webView_validateUserInterfaceItem_defaultValidation, webView_willPerformDragDestinationAction_forDraggingInfo, webView_willPerformDragDestinationAction_forDraggingInfo, webViewAreToolbarsVisible, webViewClose, webViewContentRect, webViewFirstResponder, webViewFocus, webViewFooterHeight, webViewFrame, webViewHeaderHeight, webViewIsResizable, webViewIsStatusBarVisible, webViewRunModal, webViewShow, webViewStatusText, webViewUnfocus |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSBrowserDelegate |
browser_acceptDrop_atRow_column_dropOperation, browser_acceptDrop_atRow_column_dropOperation, browser_canDragRowsWithIndexes_inColumn_withEvent, browser_createRowsForColumn_inMatrix, browser_isColumnValid, browser_namesOfPromisedFilesDroppedAtDestination_forDraggedRowsWithIndexes_inColumn, browser_nextTypeSelectMatchFromRow_toRow_inColumn_forString, browser_numberOfRowsInColumn, browser_selectCellWithString_inColumn, browser_selectRow_inColumn, browser_shouldShowCellExpansionForRow_column, browser_shouldSizeColumn_forUserResize_toWidth, browser_shouldTypeSelectForEvent_withCurrentSearchString, browser_sizeToFitWidthOfColumn, browser_titleOfColumn, browser_typeSelectStringForRow_inColumn, browser_validateDrop_proposedRow_column_dropOperation, browser_validateDrop_proposedRow_column_dropOperation, browser_willDisplayCell_atRow_column, browser_writeRowsWithIndexes_inColumn_toPasteboard, browserColumnConfigurationDidChange, browserDidScroll, browserWillScroll |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueCoding |
dictionaryWithValuesForKeys, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, setNilValueForKey, setValue_forKey, setValue_forKeyPath, setValue_forUndefinedKey, setValuesForKeysWithDictionary, validateValue_forKey_error, validateValue_forKeyPath_error, valueForKey, valueForKeyPath, valueForUndefinedKey |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewDelegate |
outlineView_dataCellForTableColumn_item, outlineView_didClickTableColumn, outlineView_didDragTableColumn, outlineView_heightOfRowByItem, outlineView_isGroupItem, outlineView_mouseDownInHeaderOfTableColumn, outlineView_nextTypeSelectMatchFromItem_toItem_forString, outlineView_selectionIndexesForProposedSelection, outlineView_shouldCollapseItem, outlineView_shouldEditTableColumn_item, outlineView_shouldExpandItem, outlineView_shouldSelectItem, outlineView_shouldSelectTableColumn, outlineView_shouldShowCellExpansionForTableColumn_item, outlineView_shouldTrackCell_forTableColumn_item, outlineView_shouldTypeSelectForEvent_withCurrentSearchString, outlineView_typeSelectStringForTableColumn_item, outlineView_willDisplayCell_forTableColumn_item, outlineView_willDisplayOutlineCell_forTableColumn_item, selectionShouldChangeInOutlineView |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebViewEditingDelegate |
undoManagerForWebView, webView_doCommandBySelector, webView_shouldApplyStyle_toElementsInDOMRange, webView_shouldBeginEditingInDOMRange, webView_shouldChangeTypingStyle_toStyle, webView_shouldDeleteDOMRange, webView_shouldEndEditingInDOMRange, webView_shouldInsertNode_replacingDOMRange_givenAction, webView_shouldInsertText_replacingDOMRange_givenAction, webViewDidBeginEditing, webViewDidChange, webViewDidChangeSelection, webViewDidChangeTypingStyle, webViewDidEndEditing |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebFrameLoadDelegate |
webView_didCancelClientRedirectForFrame, webView_didChangeLocationWithinPageForFrame, webView_didClearWindowObject_forFrame, webView_didCommitLoadForFrame, webView_didFailLoadWithError_forFrame, webView_didFailProvisionalLoadWithError_forFrame, webView_didFinishLoadForFrame, webView_didReceiveIcon_forFrame, webView_didReceiveServerRedirectForProvisionalLoadForFrame, webView_didReceiveTitle_forFrame, webView_didStartProvisionalLoadForFrame, webView_willCloseFrame, webView_windowScriptObjectAvailable |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTokenFieldDelegate |
tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenField_displayStringForRepresentedObject, tokenField_editingStringForRepresentedObject, tokenField_hasMenuForRepresentedObject, tokenField_menuForRepresentedObject, tokenField_readFromPasteboard, tokenField_representedObjectForEditingString, tokenField_shouldAddObjects_atIndex, tokenField_styleForRepresentedObject, tokenField_writeRepresentedObjects_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSXMLParserDelegateEventAdditions |
parser_didEndElement_namespaceURI_qualifiedName, parser_didEndMappingPrefix, parser_didStartElement_namespaceURI_qualifiedName_attributes, parser_didStartMappingPrefix_toURI, parser_foundAttributeDeclarationWithName_forElement_type_defaultValue, parser_foundCDATA, parser_foundCharacters, parser_foundComment, parser_foundElementDeclarationWithName_model, parser_foundExternalEntityDeclarationWithName_publicID_systemID, parser_foundIgnorableWhitespace, parser_foundInternalEntityDeclarationWithName_value, parser_foundNotationDeclarationWithName_publicID_systemID, parser_foundProcessingInstructionWithTarget_data, parser_foundUnparsedEntityDeclarationWithName_publicID_systemID_notationName, parser_parseErrorOccurred, parser_resolveExternalEntityName_systemID, parser_validationErrorOccurred, parserDidEndDocument, parserDidStartDocument |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDraggingDestination |
concludeDragOperation, concludeDragOperation, draggingEnded, draggingEnded, draggingEntered, draggingEntered, draggingExited, draggingExited, draggingUpdated, draggingUpdated, performDragOperation, performDragOperation, prepareForDragOperation, prepareForDragOperation, wantsPeriodicDraggingUpdates |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewDataSource |
outlineView_acceptDrop_item_childIndex, outlineView_acceptDrop_item_childIndex, outlineView_child_ofItem, outlineView_isItemExpandable, outlineView_itemForPersistentObject, outlineView_namesOfPromisedFilesDroppedAtDestination_forDraggedItems, outlineView_numberOfChildrenOfItem, outlineView_objectValueForTableColumn_byItem, outlineView_persistentObjectForItem, outlineView_setObjectValue_forTableColumn_byItem, outlineView_sortDescriptorsDidChange, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_writeItems_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSURLDownloadDelegate |
download_decideDestinationWithSuggestedFilename, download_didCancelAuthenticationChallenge, download_didCreateDestination, download_didFailWithError, download_didReceiveAuthenticationChallenge, download_didReceiveDataOfLength, download_didReceiveResponse, download_shouldDecodeSourceDataOfMIMEType, download_willResumeWithResponse_fromByte, download_willSendRequest_redirectResponse, downloadDidBegin, downloadDidFinish |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSAccessibility |
accessibilityActionDescription, accessibilityActionNames, accessibilityAttributeNames, accessibilityAttributeValue_forParameter, accessibilityAttributeValue, accessibilityFocusedUIElement, accessibilityIsAttributeSettable, accessibilityIsIgnored, accessibilityParameterizedAttributeNames, accessibilityPerformAction, accessibilitySetValue_forAttribute |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTextViewDelegate |
textView_clickedOnLink_atIndex, textView_clickedOnLink, textView_doCommandBySelector, textView_menu_forEvent_atIndex, textView_shouldChangeTextInRanges_replacementStrings, textView_shouldChangeTypingAttributes_toAttributes, textView_willChangeSelectionFromCharacterRanges_toCharacterRanges, textView_willDisplayToolTip_forCharacterAtIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writeCell_atIndex_toPasteboard_type, textView_writeCell_atIndex_toPasteboard_type, textViewDidChangeSelection, textViewDidChangeTypingAttributes, undoManagerForTextView |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTokenFieldCellDelegate |
tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenFieldCell_displayStringForRepresentedObject, tokenFieldCell_editingStringForRepresentedObject, tokenFieldCell_hasMenuForRepresentedObject, tokenFieldCell_menuForRepresentedObject, tokenFieldCell_readFromPasteboard, tokenFieldCell_representedObjectForEditingString, tokenFieldCell_shouldAddObjects_atIndex, tokenFieldCell_styleForRepresentedObject, tokenFieldCell_writeRepresentedObjects_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSWindowNotifications |
windowDidBecomeKey, windowDidBecomeMain, windowDidChangeScreen, windowDidChangeScreenProfile, windowDidDeminiaturize, windowDidEndSheet, windowDidExpose, windowDidMiniaturize, windowDidMove, windowDidResignKey, windowDidResignMain, windowDidResize, windowDidUpdate, windowWillBeginSheet, windowWillClose, windowWillMiniaturize, windowWillMove |
NSBitmapImageRep
public NSBitmapImageRep()
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,
int width,
int height,
int bps,
int spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
int rBytes,
int pBits)
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,
int width,
int height,
int bps,
int spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
int rBytes,
int pBits)
- Factory method
- See Also:
initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel(com.sun.jna.ptr.PointerByReference, int, int, int, int, boolean, boolean, org.rococoa.cocoa.foundation.NSString, int, int)
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,
int width,
int height,
int bps,
int spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
int bitmapFormat,
int rBytes,
int 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)
- 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,
int width,
int height,
int bps,
int spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
int bitmapFormat,
int rBytes,
int pBits)
- Factory method
- See Also:
initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel(com.sun.jna.ptr.PointerByReference, int, int, int, int, boolean, boolean, org.rococoa.cocoa.foundation.NSString, int, int, int)
initWithCIImage
public abstract NSBitmapImageRep initWithCIImage(CIImage ciImage)
createWithCIImage
public static NSBitmapImageRep createWithCIImage(CIImage ciImage)
- Factory method
- See Also:
initWithCIImage(org.rococoa.cocoa.quartzcore.CIImage)
imageRepsWithData
public static NSArray imageRepsWithData(NSData data)
- Original signature :
+(NSArray*)imageRepsWithData:(NSData*)
some file formats can contain multiple images
imageRepWithData
public static NSBitmapImageRep imageRepWithData(NSData data)
- Original signature :
+(id)imageRepWithData:(NSData*)
Convenience of initWithData:
initWithData
public abstract NSBitmapImageRep initWithData(NSData data)
createWithData
public static NSBitmapImageRep createWithData(NSData data)
- Factory method
- See Also:
initWithData(org.rococoa.cocoa.foundation.NSData)
bitmapData
public abstract ByteByReference bitmapData()
getBitmapDataPlanes
public abstract void getBitmapDataPlanes(PointerByReference data)
isPlanar
public abstract boolean isPlanar()
samplesPerPixel
public abstract int samplesPerPixel()
bitsPerPixel
public abstract int bitsPerPixel()
bytesPerRow
public abstract int bytesPerRow()
bytesPerPlane
public abstract int bytesPerPlane()
numberOfPlanes
public abstract int numberOfPlanes()
bitmapFormat
public abstract int bitmapFormat()
getCompression_factor
@Deprecated
public abstract void getCompression_factor(int compression,
FloatByReference factor)
- Deprecated. use the safer method
getCompression_factor(int, java.nio.FloatBuffer)
instead
- Original signature :
-(void)getCompression:(NSTIFFCompression*) factor:(float*)
- Parameters:
compression
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression
getCompression_factor
public abstract void getCompression_factor(int compression,
FloatBuffer factor)
- Original signature :
-(void)getCompression:(NSTIFFCompression*) factor:(float*)
- Parameters:
compression
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression
setCompression_factor
public abstract void setCompression_factor(int compression,
float factor)
- Original signature :
-(void)setCompression:(NSTIFFCompression) factor:(float)
- Parameters:
compression
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression
TIFFRepresentation
public abstract NSData TIFFRepresentation()
TIFFRepresentationUsingCompression_factor
public abstract NSData TIFFRepresentationUsingCompression_factor(int comp,
float factor)
- Original signature :
-(NSData*)TIFFRepresentationUsingCompression:(NSTIFFCompression) factor:(float)
- Parameters:
comp
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression
TIFFRepresentationOfImageRepsInArray
public static NSData TIFFRepresentationOfImageRepsInArray(NSArray array)
TIFFRepresentationOfImageRepsInArray_usingCompression_factor
public static NSData TIFFRepresentationOfImageRepsInArray_usingCompression_factor(NSArray array,
int comp,
float factor)
- Original signature :
+(NSData*)TIFFRepresentationOfImageRepsInArray:(NSArray*) usingCompression:(NSTIFFCompression) factor:(float)
- Parameters:
comp
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression
getTIFFCompressionTypes_count
@Deprecated
public static void getTIFFCompressionTypes_count(PointerByReference list,
IntByReference numTypes)
- Deprecated. use the safer method
getTIFFCompressionTypes_count(com.sun.jna.ptr.PointerByReference, java.nio.IntBuffer)
instead
- Original signature :
+(void)getTIFFCompressionTypes:(const NSTIFFCompression**) count:(NSInteger*)
getTIFFCompressionTypes_count
public static void getTIFFCompressionTypes_count(PointerByReference list,
IntBuffer numTypes)
localizedNameForTIFFCompressionType
public static NSString localizedNameForTIFFCompressionType(int compression)
- Original signature :
+(NSString*)localizedNameForTIFFCompressionType:(NSTIFFCompression)
- Parameters:
compression
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression
canBeCompressedUsing
public abstract boolean canBeCompressedUsing(int compression)
- Original signature :
-(BOOL)canBeCompressedUsing:(NSTIFFCompression)
- Parameters:
compression
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression
colorizeByMappingGray_toColor_blackMapping_whiteMapping
public abstract void colorizeByMappingGray_toColor_blackMapping_whiteMapping(float 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*)
initForIncrementalLoad
public abstract NSBitmapImageRep initForIncrementalLoad()
createForIncrementalLoad
public static NSBitmapImageRep createForIncrementalLoad()
- Factory method
- See Also:
initForIncrementalLoad()
incrementalLoadFromData_complete
public abstract int incrementalLoadFromData_complete(NSData data,
boolean complete)
setColor_atX_y
public abstract void setColor_atX_y(NSColor color,
int x,
int y)
colorAtX_y
public abstract NSColor colorAtX_y(int x,
int y)
getPixel_atX_y
@Deprecated
public abstract void getPixel_atX_y(IntByReference p,
int x,
int y)
- Deprecated. use the safer method
getPixel_atX_y(java.nio.IntBuffer, int, int)
instead
- Original signature :
-(void)getPixel:(NSUInteger[]) atX:(NSInteger) y:(NSInteger)
getPixel_atX_y
public abstract void getPixel_atX_y(IntBuffer p,
int x,
int y)
setPixel_atX_y
@Deprecated
public abstract void setPixel_atX_y(IntByReference p,
int x,
int y)
- Deprecated. use the safer method
setPixel_atX_y(java.nio.IntBuffer, int, int)
instead
- Original signature :
-(void)setPixel:(NSUInteger[]) atX:(NSInteger) y:(NSInteger)
setPixel_atX_y
public abstract void setPixel_atX_y(IntBuffer p,
int x,
int y)
CGImage
public abstract NSObject CGImage()
alloc
public static NSBitmapImageRep alloc()