summaryrefslogtreecommitdiff
path: root/glcdgraphics/extformats.c
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2011-06-23 16:47:55 +0200
committermrwastl <mrwastl@users.sourceforge.net>2011-06-23 16:47:55 +0200
commitd7b7ae09a995d8ceab70a9d7904a7b9e25beba00 (patch)
tree215fb2c970a2115b6c38499c8b21c7ccbeb0300b /glcdgraphics/extformats.c
parent99a603c7e73df46d1f7c4c5bef0825b90450e69e (diff)
downloadgraphlcd-base-d7b7ae09a995d8ceab70a9d7904a7b9e25beba00.tar.gz
graphlcd-base-d7b7ae09a995d8ceab70a9d7904a7b9e25beba00.tar.bz2
more bug fixes for WrapText() (should now be UTF8-proof too); deactivate imagemagick quantising (sometimes led to erraneous images)
Diffstat (limited to 'glcdgraphics/extformats.c')
-rw-r--r--glcdgraphics/extformats.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/glcdgraphics/extformats.c b/glcdgraphics/extformats.c
index 75d3693..666c954 100644
--- a/glcdgraphics/extformats.c
+++ b/glcdgraphics/extformats.c
@@ -74,13 +74,9 @@ bool cExtFormatFile::Load(cImage & image, const string & fileName)
for (it = extimages.begin(); it != extimages.end(); ++it) {
bool ignoreImage = false;
- //if (colors != 0){
- //(*it).opacity(OpaqueOpacity);
- //(*it).backgroundColor( Color ( 0,0,0,0) );
- (*it).quantizeColorSpace( RGBColorspace );
- (*it).quantizeColors( 256*256*256 /*colors*/ );
- (*it).quantize();
- //}
+ //(*it).quantizeColorSpace( RGBColorspace );
+ //(*it).quantizeColors( 256*256*256 /*colors*/ );
+ //(*it).quantize();
if (firstImage) {
width = (uint16_t)((*it).columns());