[Lazarus] compiling PowerPDF on win32

Michael Van Canneyt michael at freepascal.org
Wed Jan 30 12:27:06 CET 2013



On Wed, 30 Jan 2013, silvioprog wrote:

>       Interesting.
>
>       Do you think the basics could be included in the standard FPC distribution ?
>
>       Michael.
> 
> 
> Perfectly. IMHO, PowerPDF is well modeled, separated by layers. My changes uses pure FCL. :)
> 
> There are some things to be improved in PowerPDF:
> 
> . Native support to PNG images; (I'm working on this)
> . Use a new version of PDF (at least 1.4);
> . FlateDecode support; (I'm studying this right now)
> . Removes LCL dependences; (I'm studying this right now)
> 
> I was thinking of creating a fork and work on it, but if these new changes can be implemented PowerPDF and distributed in FPC, I would be very happy. :)

I would be happy too :-)

> ps. IMHO, this is wrong: https://github.com/jepafi/Free-JPDF-Pascal/blob/master/libjpfpdf.pas#L1681. He promises to support multiple images, but internally it
> converts them all to JPEG, and this causes lose quality in some images.
> PDF supports PNG natively, but need to implement the specification exactly how Adobe explains. Two explains below:

If you can implement the PNG support, then we could add it all to FPC in one go, if the author agrees.

Michael.




More information about the Lazarus mailing list