X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=lib%2Frfxswf.h;h=6fd2f3f99c30204d5c3d9988f38fe05c2d3dc086;hb=a0c23e11cb8ea79e4fabd9d491d1716412746df4;hp=a86943d2f27b63464998d41607a63f3cf746b3dd;hpb=f488558c3d223c79bd1cef81a6a044354ce2a671;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index a86943d..6fd2f3f 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -723,6 +723,8 @@ int swf_SetJPEGBits3(TAG * tag,U16 width,U16 height,RGBA* bitmap, int quality); RGBA* swf_JPEG2TagToImage(TAG*tag, int*width, int*height); void swf_RemoveJPEGTables(SWF*swf); +void swf_SaveJPEG(char*filename, RGBA*pixels, int width, int height, int quality); + #define BYTES_PER_SCANLINE(width) ((width+3)&0xfffffffc) #define BMF_8BIT 3 // Bitmap formats