c4d.bitmaps.ColorProfileConvert
¶
New in version R17.032.
A helper class to convert the
ColorProfile
of
bitmaps
. See also
BaseBitmap.GetPixelCnt()
.
c4d.bitmaps.
ColorProfileConvert
¶
ColorProfileConvert.
__init__
(
)
¶
Return type: | c4d.bitmaps.ColorProfileConvert |
---|---|
Returns: |
The new
ColorProfileConvert
.
|
ColorProfileConvert.
PrepareTransform
(
srccolormode
,
srcprofile
,
dstcolormode
,
dstprofile
,
bgr
)
¶
Parameters: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Return type: |
bool |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Returns: |
True a conversion is necessary, otherwise False . |
ColorProfileConvert.
Convert
(
src
,
dst
,
cnt
,
skipInputComponents
,
skipOutputComponents
)
¶
Converts the color profiles of the pixel data.
Parameters: |
|
---|