#1 Fixes multiple image bug [460609]

open
nobody
None
5
2002-03-18
2002-03-18
Alan Moss
No

I too had a problem putting multiple images on one
page with jpdf. I saw the suggestion submitted by
mreasy and created a patched version of gnujpdf-1.5.
Please accept this for a fix to bug [460609].

I basically changed the drawImage method to store a
vector of PDFImages to be written out together later.
In the dispose method, I add a resource with all the
images together.

This patch is very small and easy to apply. I used
`diff -u' to construct the patch. Use `patch -p0 <
gnujpdf-1.5-1.5a.diff' from the gnujpdf directory to
apply.

Good Luck,
-Alan

Discussion

  • Alan Moss

    Alan Moss - 2002-03-18

    DIFF file to fix bug [460609].

     
  • Alan Moss

    Alan Moss - 2002-03-18

    Logged In: YES
    user_id=294682

    I noticed I forgot to say that this patch only changes
    PDFGraphics.java. No other files need changing in the
    project.

     

Log in to post a comment.