From: kramm Date: Sun, 19 May 2002 13:34:55 +0000 (+0000) Subject: new function swf_SetJPEGBits2(). X-Git-Tag: xpdf-0-92~3 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=403d0c114739d8bc5b83a7f6ab3afe7cc7fb4078;p=swftools.git new function swf_SetJPEGBits2(). --- diff --git a/lib/modules/swfbits.c b/lib/modules/swfbits.c index cff2c9f..85e7c37 100644 --- a/lib/modules/swfbits.c +++ b/lib/modules/swfbits.c @@ -110,6 +110,24 @@ int swf_SetJPEGBitsFinish(JPEGBITS * jpegbits) return 0; } +void swf_SetJPEGBits2(TAG * tag,U16 width,U16 height,RGBA* bitmap, int quality) +{ + JPEGBITS* jpeg; + int y; + jpeg = swf_SetJPEGBitsStart(tag,width,height,quality); + for (y=0;y