https://bugs.documentfoundation.org/show_bug.cgi?id=150777

--- Comment #7 from V Stuart Foote <[email protected]> ---
(In reply to Tomaz Vajngerl from comment #6)
> What we can do here is to check the original PNG file or store some "origin"
> information into the Bitmap class, and then convert the Bitmap to a palette
> based 1-bit Bitmap (which shouldn't cause any loss of information).

We do keep the original 1bpp image, placing it in the ODF archive's Pictures
directory.

For now though, the resulting PDF is simply larger bcz of embedding an 8bpp
bitmap into a stream. But do we need to generate PDF with 1bpp images? 

Other than size of the PDF what is the justification? I guess for "fidelity" to
the original--but then PDF is a presentation format not an exchange format. The
8bpp grayscale will look better than 1bpp. 

And in this sample we're working with the full image on document canvas--what
happens when the original image has been masked, clipped or otherwise edited
(i.e. image filtered). An 8bpp or 24bpp image is going to be required then,
right?

So unless this is really easy, then reasonable to => WF

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to