Carl Karsten wrote:
I saw some mention of that in the IM docs. any idea why .tostring doesn't
work?
the tostring method returns pixel data as a packed array, not data in an
image interchange file format.
(tostring/fromstring is a common data interchange protocol for array-
style objects in
Fredrik Lundh wrote:
Carl Karsten wrote:
I saw some mention of that in the IM docs. any idea why .tostring doesn't
work?
the tostring method returns pixel data as a packed array, not data in an
image interchange file format.
(tostring/fromstring is a common data interchange protocol
Carl Karsten wrote:
I am trying to convert a pdf (data in string, not disk file) to a png. This
will be run in a django view on a server (PyCon's even) so it would be good
if
it didn't hit the disk as much. Shouldn't I be able to use .tostring if I
can
use .save?
use cStringIO.
Douglas Bagnall wrote:
Carl Karsten wrote:
I am trying to convert a pdf (data in string, not disk file) to a png. This
will be run in a django view on a server (PyCon's even) so it would be good
if
it didn't hit the disk as much. Shouldn't I be able to use .tostring if I
can
use