Support for compressed images - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Support for compressed images

Support for compressed images 3 years 8 months ago #9244

  • mzuber23
  • mzuber23's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
The current support for embedding JPEG/JPX/JPEG 2k images is nice, but it results in extremely large PDFs unless an unacceptable level of compression is used in generating those files. From my brief research, PDFs support a number of compression algorithms for images including:

CCITT G3/G4 – used for monochrome images
JPEG – a lossy algorithm that is used for images
JPEG2000 – a more modern alternative to JPEG, which is also used for compressing images
Flate – used for compressing text as well as images
JBIG2 – an alternative to CCITT compression for monochrome images
LZW – used for compressing text as well as images but getting replaced by Flate
RLE – used for monochrome images
ZIP – used for grayscale or color images

It would be really great if some or all of the following things could be supported in the future:
  • Support for adding an image using a PNG file
  • Support for compression using ZIP for color images and CCITT G4 or JBIG2 for monochrome images
  • API changes to allow images to be compressed as part of the NewImage functions and/or the ability to provide an array of data for a compressed lossless image (i.e. PNG)
  • Support for monochrome/grayscale images through an API call where you just pass an array of pixel data instead of having to use JPEG data

Is there any chance these can be added? If purchasing support would result in these being added sooner (or at all), please let me know, as I think the PDF creation would benefit greatly from these additions.

Thanks,
Mike

Please Log in or Create an account to join the conversation.

Last edit: by mzuber23.

Support for compressed images 3 years 8 months ago #9258

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 575
  • Karma: 6
  • Thank you received: 47
Dear Mike,
we're evaluating how to handle many requests like your.
Our library is, first of all, a rendering engine and we're continuously looking for a trade off that could continuously improve the tool not increasing too much it's size.

Actually we could exclude to include in the common library as many compressor as you are requesting.

I'll update you as soon as we will have relevant news for you.
The following user(s) said Thank You: mzuber23

Please Log in or Create an account to join the conversation.

Last edit: by support.
  • Page:
  • 1
Powered by Kunena Forum