------------------------------------------------------------------------ r4220 | hhenkel | 2011-04-28 22:56:59 +0200 (Thu, 28 Apr 2011) | 8 lines Changed paths: M /trunk/source/texk/web2c/luatexdir/image/writeimg.h M /trunk/source/texk/web2c/luatexdir/image/writeimg.w M /trunk/source/texk/web2c/luatexdir/image/writejpg.w M /trunk/source/texk/web2c/luatexdir/image/writepng.w M /trunk/source/texk/web2c/luatexdir/pdf/pdfgen.h New function read_file_to_buf() for writepng() and writejpg(); this was a slow pdf_out(pdf, xgetc(f)) before. Move PNG image processing from read_png() to write_png(), to avoid trouble with potential file closing/re-opening. Change "PNG copy" condition again, replace checked_gamma value comparison by logic and new flag. Allow also copying pixels of size > 8 bit, test with PNG Suite ok. ------------------------------------------------------------------------ r4221 | hhenkel | 2011-04-29 00:06:30 +0200 (Fri, 29 Apr 2011) | 2 lines Changed paths: M /trunk/source/texk/web2c/luatexdir/image/writejp2.w M /trunk/source/texk/web2c/luatexdir/image/writejpg.w add read_file_to_buf() also to writejp2.w ------------------------------------------------------------------------ r4222 | hhenkel | 2011-04-29 00:33:37 +0200 (Fri, 29 Apr 2011) | 2 lines Changed paths: M /trunk/source/texk/web2c/luatexdir/image/epdf.h M /trunk/source/texk/web2c/luatexdir/image/pdftoepdf.cc speed up copyStreamStream() ------------------------------------------------------------------------ r4223 | hhenkel | 2011-04-29 08:22:30 +0200 (Fri, 29 Apr 2011) | 2 lines Changed paths: M /trunk/source/texk/web2c/luatexdir/image/writeimg.w forgot pdf->last_byte ------------------------------------------------------------------------
participants (1)
-
root@mail.boekplan.nl