[reportlab-users] Appengine - Reportlab (Get Photo from Model)

Martinho Arantes martinhoarantes at gmail.com
Mon Oct 4 14:57:09 EDT 2010


I understand the limitations of not having PIL installed, but i have this
problem(errors) with JPG also.

I uploaded (demo mode) a .jpg image ang throw me errors.



2010/10/4 Tim Roberts <timr at probo.com>


> Martinho Arantes wrote:

>

> I´m using Google App Engine, Link <https://appengine.google.com/>.

> Google App Engine doesn´t support PIL, but i´ve uploaded Reporlab and is

> working fine, also with images.

>

> I can build a PDF with some values, retrieve values from entities and get

> photos from my source project and print to PDF.

>

> The problem that i´m facing right now is when a user upload a photo,

> isn´t displayed on his PDF.

>

> I´ll show you a short pic tinypic.com/r/2ngeont/7, but the image shown is

> uploaded by me not by the user.

>

>

> Reportlab can handle some JPEGs on its own, because the PDF standard

> understands those directly. If your user is uploading a PNG or a GIF, or if

> you have to do something fancy like scaling, then you need PIL.

>

> --

> Tim Roberts, timr at probo.com

> Providenza & Boekelheide, Inc.

>

>

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at lists2.reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users

>

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20101004/64453ab7/attachment-0001.htm>


More information about the reportlab-users mailing list