Converts the image rep to the specified colorspace
Original signature is '- (NSBitmapImageRep *)bitmapImageRepByConvertingToColorSpace:(NSColorSpace *)targetSpace renderingIntent:(NSColorRenderingIntent)renderingIntent'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSBitmapImageRep BitmapImageRepByConvertingToColorSpaceRenderingIntent( NSColorSpace targetSpace, NSColorRenderingIntent renderingIntent )
Public Overridable Function BitmapImageRepByConvertingToColorSpaceRenderingIntent ( _ targetSpace As NSColorSpace, _ renderingIntent As NSColorRenderingIntent _ ) As NSBitmapImageRep
public: virtual NSBitmapImageRep^ BitmapImageRepByConvertingToColorSpaceRenderingIntent( NSColorSpace^ targetSpace, NSColorRenderingIntent renderingIntent )
Parameters
- targetSpace (NSColorSpace)
- The new colorSpace
- renderingIntent (NSColorRenderingIntent)
- The rendering intent specifies how to handle colors that are not located within the target color space. The supported values are NSColorRenderingIntent.
Return Value
An NSBitmapImageRep, or nil, if the conversion fails. If the original NSBitmapImageRep already uses that colorSpace, it is returned as is.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)