Enums


Public Member Functions

  • void *
    getRowPointer (int32_t row) override
  • void
    finalize () override
  • void
    setRow (int32_t, const void *)
  • int32_t
    getWidth () const
  • int32_t
    getHeight () const
  • getColorModel () const
  • getDataType () const
  • getChannelOrder () const
  • bool
    hasAlpha () const

Static Public Member Functions

  • create (DataTargetRef dataTarget, ImageSourceRef imageSource, ImageTarget::Options options, const std::string &extensionData)
  • void
    registerSelf ()
  • void
    translateRgbColorModelToOffsets (ChannelOrder channelOrder, int8_t *red, int8_t *green, int8_t *blue, int8_t *alpha, int8_t *inc)
  • void
    translateGrayColorModelToOffsets (ChannelOrder channelOrder, int8_t *gray, int8_t *alpha, int8_t *inc)
  • bool
    channelOrderHasAlpha (ChannelOrder channelOrder)
  • int8_t
    channelOrderNumChannels (ChannelOrder channelOrder)
  • uint8_t
    dataTypeBytes (DataType dataType)

Protected Member Functions

  • ImageTargetFileWic (DataTargetRef dataTarget, ImageSourceRef imageSource, ImageTarget::Options options, const std::string &extensionData)
  • void
    setupPixelFormat (const GUID &guid)
  • void
    setSize (int32_t width, int32_t height)
  • void
    setColorModel (ColorModel colorModel)
  • void
    setDataType (DataType aDataType)
  • void
    setChannelOrder (ChannelOrder aChannelOrder)

Protected Attributes

  • std::shared_ptr< uint8_t >
    mData
  • int32_t
    mRowBytes
  • mDataTarget
  • const GUID *
    mCodecGUID
  • std::shared_ptr< IWICBitmapEncoder >
    mEncoder
  • std::shared_ptr< IWICBitmapFrameEncode >
    mBitmapFrame
  • int32_t
    mWidth
  • int32_t
    mHeight
  • mColorModel
  • mDataType
  • mChannelOrder