[Gridflow-cvs] [svn] commit: r4110 - /trunk/format/jpeg.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Nov 9 17:07:09 EST 2008


Author: matju
Date: Sun Nov  9 17:07:08 2008
New Revision: 4110

Log:
fix bug in jpeg default settings for writing (quality was uninitialised)

Modified:
    trunk/format/jpeg.c

Modified: trunk/format/jpeg.c
==============================================================================
--- trunk/format/jpeg.c (original)
+++ trunk/format/jpeg.c Sun Nov  9 17:07:08 2008
@@ -43,6 +43,7 @@
 		Format::_0_open(0,0,mode,filename);
 		uint32 mask[3] = {0x0000ff,0x00ff00,0xff0000};
 		bit_packing = new BitPacking(is_le(),3,3,mask);
+		quality = 75;
 	}
 	\decl 0 bang ();
 	\decl 0 quality (short quality);



More information about the Gridflow-cvs mailing list