26 sal_Int32 nColor = pFilterConfigItem->
ReadInt32(
"Color", 0);
31 if (!aBitmap.
Convert(nColorRes))
34 bool bRleCoding = pFilterConfigItem->
ReadBool(
"RLE_Coding",
true);
35 WriteDIB(aBitmap, rStream, bRleCoding);
37 return rStream.
good();
bool BmpWriter(SvStream &rStream, const Graphic &rGraphic, FilterConfigItem *pFilterConfigItem)
bool Convert(BmpConversion eConversion)
Convert bitmap format.
bool ReadBool(const OUString &rKey, bool bDefault)
sal_Int32 ReadInt32(const OUString &rKey, sal_Int32 nDefault)
BitmapEx GetBitmapEx(const GraphicConversionParameters &rParameters=GraphicConversionParameters()) const