From: Zoltan B. <zb...@du...> - 2007-10-04 18:46:11
|
Hi, there's a problem in RPDF when embedding images. It's because open() defaults to LF->CRLF translation without O_BINARY flag. This makes interpreting PNG and JPG chunk difficult, and actually skips embedding the file stream into the resulting PDF file. The fix is to use O_BINARY in the open() flags, but define it to 0 on sane systems to avoid compilation error. Best regards, Zolt=E1n B=F6sz=F6rm=E9nyi |