Re: [Podofo-users] MRC compression support

2017-11-18 Thread zamazan4ik

Thank you for the brief explanation and for the very useful links.

I am not so familiar with PoDoFo. But... is it possible to do something 
similar things as pdfbeams do: create PDF page from set of images 
(background + foreground + text mask)?



18.11.2017 14:47, Matthew Brincke пишет:

Hello all,


zamazan4ik has written on 18 November 2017 at 00:18:

Hello,

Has PoDoFo library support for MRC compression? Are there segmentator in
the library? Or maybe are there some stuff for writing different layers
with different compression algorithms?


the PoDoFo library does not support any segmentation of images (at least
yet), so no, it does not have MRC support.
What is available is that you can have PoDoFo change compression filters
on a per-PdfObject basis (however you need to have enough RAM for storing
the uncompressed stream). Please note that CCITTFax (de)compression is not
implemented yet.

I don't know if it's appropriate to write here (sorry), but I've found an
(reportedly) open-source solution for MRC compression: pdfbeads, a Ruby gem.
See this forum thread: https://forum.diybookscanner.org/viewtopic.php?t=987
(title: MRC compression + text under images - DIY Book Scanner)
For further info, look in the Wikipedia article on "Mixed Raster Content".
Also I found this 
https://engineering.purdue.edu/~bouman/software/Text-Seg/tip30.pdf
(title: Text Segmentation for MRC Document Compression)
  

Thank you.


Best regards, mabri

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


Re: [Podofo-users] MRC compression support

2017-11-18 Thread Matthew Brincke
Hello all,

> zamazan4ik has written on 18 November 2017 at 00:18:
> 
> Hello,
> 
> Has PoDoFo library support for MRC compression? Are there segmentator in 
> the library? Or maybe are there some stuff for writing different layers 
> with different compression algorithms?
> 

the PoDoFo library does not support any segmentation of images (at least
yet), so no, it does not have MRC support.
What is available is that you can have PoDoFo change compression filters
on a per-PdfObject basis (however you need to have enough RAM for storing
the uncompressed stream). Please note that CCITTFax (de)compression is not
implemented yet.

I don't know if it's appropriate to write here (sorry), but I've found an
(reportedly) open-source solution for MRC compression: pdfbeads, a Ruby gem.
See this forum thread: https://forum.diybookscanner.org/viewtopic.php?t=987
(title: MRC compression + text under images - DIY Book Scanner)
For further info, look in the Wikipedia article on "Mixed Raster Content".
Also I found this 
https://engineering.purdue.edu/~bouman/software/Text-Seg/tip30.pdf
(title: Text Segmentation for MRC Document Compression)
 
> Thank you.
> 

Best regards, mabri

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users