[reportlab-users] Appengine - Reportlab (Get Photo from Model)
Tim Roberts
timr at probo.com
Mon Oct 4 14:21:05 EDT 2010
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
> <http://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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20101004/02b03e40/attachment.htm>
More information about the reportlab-users
mailing list