Dear Python Org,
It wanted to know if already PIL's
version is available for Python 3.2.3.
Thanks.
Gonzalo
--
http://mail.python.org/mailman/listinfo/python-list
Am 30.05.2012 05:09, schrieb Paul Rubin:
> Kind of a long shot, but are there known problems in calling PIL from
> multiple threads? I'm getting weird intermittent core dumps from my
> app, no idea what's causing them, but PIL is the only C module I'm
> using, and I
Kind of a long shot, but are there known problems in calling PIL from
multiple threads? I'm getting weird intermittent core dumps from my
app, no idea what's causing them, but PIL is the only C module I'm
using, and I do see some mention on the interwebs that there might
be an
Well, it looks like I cannot remove PIL with control panel remove/add.
The dialog just flashes when I push the button. I tried on an old
program not in use, and it did respond as one would want.
My guess is that I should not have started with removing Python 2.5.2
first. How do I get out of
Hi all,
I am using python 3.2 on an amd64 Gentoo system. I was trying to
compile an unofficial version of PIL to work in 3.2 that I found here:
http://www.lfd.uci.edu/~gohlke/pythonlibs
Anyway, when I run the setup.py to compile the source, it doesn't pick
up tkinter, zlib, or fre
t; As far as I know, I did not see any difference in output on windows, linux
>> and mac os x
>> as long as the code used the same ttf file and PIL versions. (but I'll
>> double check now
>> and see if I remember this correctly).
>
> To follow up on myself
On 4-8-2011 21:30, Irmen de Jong wrote:
> As far as I know, I did not see any difference in output on windows, linux
> and mac os x
> as long as the code used the same ttf file and PIL versions. (but I'll double
> check now
> and see if I remember this correctly).
To follo
s production. And run
the tests
there.
> The second (more import issue) is, that the images should look the same
> whether created on a Windows or Linux host.
>
> I didn't know that PIL delegated font rendering to the underlying OS,
> but thought it contains its own rendering.
rary would be appropriate and would yield the same
>> result independent of the OS (assuming the versions of the python
>> libraries are the same)
>> Images should be pixel identical independent on the platform on which
>> the image is created.
>>
>> I made som
Gelonida N wrote:
> I wondered what library would be appropriate and would yield the same
> result independent of the OS (assuming the versions of the python
> libraries are the same)
> Images should be pixel identical independent on the platform on which
> the image is created.
Short answer: you
ssuming the versions of the python
> libraries are the same)
> Images should be pixel identical independent on the platform on which
> the image is created.
>
> I made some attempts with PIL (Image / ImageFont / ImageDraw),
> but have difficulties getting the same font under Li
d what library would be appropriate and would yield the same
result independent of the OS (assuming the versions of the python
libraries are the same)
Images should be pixel identical independent on the platform on which
the image is created.
I made some attempts with PIL (Image / ImageFont / ImageDraw)
cess:
>
> build/temp.linux-x86_64-2.4/libImaging/ZipEncode.o -L/usr/local/lib
> -L/usr/lib -ljpeg
> -lz -o build/lib.linux-x86_64-2.4/_imaging.so
[...]
>
> $ python selftest.py
> *** The _imaging C module is not installed
>
Don't know why the build seems to fail. PIL
Am 09.05.2011 08:22, schrieb Nico Grubert:
> $ python selftest.py
> *** The _imaging C module is not installed
It works for me after an inplace installation of the C extensions with
"python setup.py build_ext -i". With build_ext -i the C extension is
installed inside the source tree so selftest ca
usr/lib/libpthread.a when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
----
PIL
On 06-05-11 15:56, Nico Grubert wrote:
However, running the selftest still fails:
$ python selftest.py
*** The _imaging C module is not installed
I had this happening to me as well someday.
I recall that first installing it (python setup.py install), and then
rerunning selftest, solved that
> PIL will compile and install if you don't have some development
> libraries and then simply not work or not work up to full steam when
> used.
>
> To avoid this, you need to install the appropriate libraries, among
> which are:
>
> libjpeg-devel
> freetype-d
@Michel
use PIL downloaded from here: http://www.lfd.uci.edu/~gohlke/pythonlibs/
regards
2011/5/6 Christian Heimes :
> Am 06.05.2011 01:48, schrieb Michel Claveau - MVP:
>> Re!
>>
>> And why the problem no exist with PIL 1.1.6? (only 1.1.7)
>> Is that the versi
Am 06.05.2011 01:48, schrieb Michel Claveau - MVP:
> Re!
>
> And why the problem no exist with PIL 1.1.6? (only 1.1.7)
> Is that the version 1.1.6 does not use these libraries?
PIL 1.1.6 also uses its internal C library to speed things up.
For Windows you should use the precompi
On Fri, 2011-05-06 at 01:45 +0200, Michel Claveau - MVP wrote:
> Hi!
>
> > you need to install the appropriate libraries, among which are:
> > libjpeg-devel
> > freetype-devel
> > libpng-devel
>
> OK, but where can I find it? I want use PIL with Python unde
Re!
And why the problem no exist with PIL 1.1.6? (only 1.1.7)
Is that the version 1.1.6 does not use these libraries?
@+
--
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
> you need to install the appropriate libraries, among which are:
> libjpeg-devel
> freetype-devel
> libpng-devel
OK, but where can I find it? I want use PIL with Python under Windows,
and I can't compile C's sources.
Should I replace PIL by ImageMagick?
@-salutati
Oh I forgot to say, after installing these libraries, you will need to
re-compile (install) PIL.
-a
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 2011-05-05 at 15:35 +0200, Nico Grubert wrote:
> Hi there
>
> I am having trouble to install PIL 1.1.7 on CentOS.
>
> I read and followed the instructions from
> http://effbot.org/zone/pil-imaging-not-installed.htm
>
> However, I still get the "The _imag
Hi there
I am having trouble to install PIL 1.1.7 on CentOS.
I read and followed the instructions from
http://effbot.org/zone/pil-imaging-not-installed.htm
However, I still get the "The _imaging C module is not installed" error
if I run the selftest:
$ python selftest.py
*** The
t;, "credits" or "license" for more information.
>>> from PIL import ImageGrab
>>> ImageGrab.grab().save("screen_capture.jpg", "JPEG")
>>> import os
>>> os.listdir(os.getcwd())
['.appcfg_cookies', '.a
On 5/1/2011 9:00 PM, Chris Rebert wrote:
I would think to a file named "screen_capture.jpg" in the current
working directory. What that is for IDLE, I don't know.
At least on windows with 3.2, if one just starts up the shell, it is in
the Pythonxy directory. If one runs a file from an edit wi
On Sun, May 1, 2011 at 1:50 PM, PyNewbie wrote:
> Hi,
>
> I'm new with Python and PIL. I have a very simple question regarding an image
> capture function I'm attempting.
>
> Here is the code:
>
>
>>>> from PIL import ImageGrab
>>
Hi,
I'm new with Python and PIL. I have a very simple question regarding an image
capture function I'm attempting.
Here is the code:
>>> from PIL import ImageGrab
>>> ImageGrab.grab().save("screen_capture.jpg", "JPEG")
Question: I can
Python 2.7
Fedora 14
import Image fails in CGI script due to
https://bugzilla.redhat.com/show_bug.cgi?id=582009
How do I make it work?
I have searched the web for days and can't figure out how to apply the
many patches discussed.
Thanks.
Sandipan
--
http://mail.python.org/mailman/listinfo/python-
Image code to a separate
>> module
>
>This is a classic problem known as namespace clobbering.
>
>It is best to *avoid* the recommendations made in many libraries of
>from foo import *, because that will clobber any names in your
>namespace that happen to match names in the
On Mon, 2011-02-07 at 15:54 -0800, rantingrick wrote:
> On Feb 7, 5:35 pm, Richard Holmes wrote:
>
> > Thanks, Ben. It turns out that I imported both Image and Tkinter and
> > Tkinter has an Image class that masked the Image class in the Image
> > module. I solved the problem by moving the Image
s “namespace clobbering”.
It is best to *avoid* the recommendations made in many libraries of
‘from foo import *’, because that will clobber any names in your
namespace that happen to match names in the ‘foo’ module.
Rather, import Tkinter and PIL as distinct namespaces::
>>> import PIL
On Feb 7, 5:35 pm, Richard Holmes wrote:
> Thanks, Ben. It turns out that I imported both Image and Tkinter and
> Tkinter has an Image class that masked the Image class in the Image
> module. I solved the problem by moving the Image code to a separate
> module
Yes an another great example of why
On Tue, 08 Feb 2011 09:47:32 +1100, Ben Finney
wrote:
>Richard Holmes writes:
>
>> I'm trying to create an image for use in Tkinter. If I understand the
>> PIL documentation correctly, I first need to import Image, then
>> create an instance of the Image class an
Richard Holmes writes:
> On Mon, 07 Feb 2011 17:28:45 -0500, Corey Richardson
> wrote:
> >This is good:
> >
> >import Image
> >im = Image.open(foo)
> Uh, thanks, Corey, but that's what I'm doing. See Traceback:
Without code, we can't see what you're doing.
Please post a minimal working example
On Mon, 07 Feb 2011 17:28:45 -0500, Corey Richardson
wrote:
>On 02/07/2011 05:27 PM, Richard Holmes wrote:
>> I'm trying to create an image for use in Tkinter. If I understand the
>> PIL documentation correctly, I first need to import Image, then
>> create an instance o
Richard Holmes writes:
> I'm trying to create an image for use in Tkinter. If I understand the
> PIL documentation correctly, I first need to import Image, then
> create an instance of the Image class and call 'open' (this according
> to the documentation). When I try
On 02/07/2011 05:27 PM, Richard Holmes wrote:
> I'm trying to create an image for use in Tkinter. If I understand the
> PIL documentation correctly, I first need to import Image, then
> create an instance of the Image class and call 'open'
Don't do that. Th
I'm trying to create an image for use in Tkinter. If I understand the
PIL documentation correctly, I first need to import Image, then
create an instance of the Image class and call 'open' (this according
to the documentation). When I try to do this using the model in the
docum
I'm sorry, by admin site below, I mean Django Admin site.
Hi,
I am struggling with this for the past 2 days: first I got the above error,
& googled around to find that I needed the libjpeg module as well, so I
re-installed the lot, first libjpeg & then PIL; got a couple errors like
Hi,
I am struggling with this for the past 2 days: first I got the above error,
& googled around to find that I needed the libjpeg module as well, so I
re-installed the lot, first libjpeg & then PIL; got a couple errors like
JPEG decoder not available etc, fixed that. Now it passes the
- Mensaje reenviado
> De: Emile van Sebille
> Para: python-list@python.org
> Asunto: Re: Alternative to PIL in Python 3.1
> Fecha: Tue, 14 Dec 2010 16:39:19 -0800
>
> On 12/14/2010 3:17 PM craf said...
> > Hi.
> >
> > I wonder if anyone know
On 12/14/2010 3:17 PM craf said...
Hi.
I wonder if anyone knows any alternative to PIL library, as this does
not work with Python 3.1.
Thanks in advance
Regards.
Cristian
You might try the 1.1.6 port referenced here:
http://www.mail-archive.com/image-sig@python.org/msg02404.html
Emile
Hi.
I wonder if anyone knows any alternative to PIL library, as this does
not work with Python 3.1.
Thanks in advance
Regards.
Cristian
--
http://mail.python.org/mailman/listinfo/python-list
robos85 wrote:
>
>Hi, I try to enlarge original image.
>I have image in size: 100x100 and I want to make it 120x120.
>But resize() doesn't make it bigger. Is there any method for that?
"resize" does not change the image. Instead, it returns the resized image.
If you don't need the original any m
robos85 writes:
> Hi, I try to enlarge original image.
> I have image in size: 100x100 and I want to make it 120x120.
> But resize() doesn't make it bigger. Is there any method for that?
You have to use i.transform()
-- Alain.
--
http://mail.python.org/mailman/listinfo/python-list
Hi, I try to enlarge original image.
I have image in size: 100x100 and I want to make it 120x120.
But resize() doesn't make it bigger. Is there any method for that?
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
On Fri, Nov 12, 2010 at 12:00:55PM -0800, Brett
Bowman wrote:
> MRAB -
> I've tried worker threads, and it kills the
> thread only and not the program as a whole. I
> could use that as a work-around, but I would
> prefer something more direct, in case other
> problems arise.
Looks like th
On 11/12/2010 12:00 PM, Brett Bowman wrote:
> Steve Holden -
> A traceback sounds like a great idea, but I don't know how to go about
> it, or know what is involved. Could you suggest a tutorial I could follow?
>
The traceback is the listing of modules and line numbers that you
normally get when
On 11/12/2010 12:00 PM Brett Bowman said...
FATAL PDF disallows copying
I ran into something like this about six months ago. IIRC, I was able
to detect this setting (using reportlab I think), but a quick look to
rediscover what I did specifically didn't yield anything useful.
I'm pretty su
On 11/12/10 2:00 PM, Brett Bowman wrote:
> A whoops, good catch. I meant to say gfx and swftools. I'm using PIL to
> modify the images once I get a PNG from swftools, and I mis-spoke.
There is nothing you can do to catch the error. swftools is not written to be
used as a Python lib
ay gfx and swftools. I'm using PIL to
modify the images once I get a PNG from swftools, and I mis-spoke.
The code in question is:
import gfx
print "1"
doc = gfx.open("pdf", MY_FILE)
print "2"
page1 = doc.getPage(1)
On 2010-11-11 14:28 , Brett Bowman wrote:
I'm trying to parse some basic details and a thumbnail from ~12,000 PDFs for my
company, but a few hundred of them are copy protected. To make matters worse, I
can't seem to trap the error it causes: whenever it happens PIL throws a "FATA
matters worse, I can't seem to trap the error it causes: whenever it happens
> PIL throws a "FATAL PDF disallows copying" message and dies. An automated
> way to snap a picture of the PDFs would be ideal, but I'd settle for a way
> to skip over them without crashing
On 11/11/2010 12:28 PM Brett Bowman said...
I'm trying to parse some basic details and a thumbnail from ~12,000 PDFs for
my company, but a few hundred of them are copy protected. To make matters
worse, I can't seem to trap the error it causes: whenever it happens PIL
throws a
On 11/11/2010 3:28 PM, Brett Bowman wrote:
> I'm trying to parse some basic details and a thumbnail from ~12,000 PDFs
> for my company, but a few hundred of them are copy protected. To make
> matters worse, I can't seem to trap the error it causes: whenever it
> happens P
On 11/11/2010 20:28, Brett Bowman wrote:
I'm trying to parse some basic details and a thumbnail from ~12,000 PDFs
for my company, but a few hundred of them are copy protected. To make
matters worse, I can't seem to trap the error it causes: whenever it
happens PIL throws a "FATA
On Nov 11, 2010, at 3:28 PM, Brett Bowman wrote:
> I'm trying to parse some basic details and a thumbnail from ~12,000 PDFs for
> my company, but a few hundred of them are copy protected. To make matters
> worse, I can't seem to trap the error it causes: whenever it hap
I'm trying to parse some basic details and a thumbnail from ~12,000 PDFs for
my company, but a few hundred of them are copy protected. To make matters
worse, I can't seem to trap the error it causes: whenever it happens PIL
throws a "FATAL PDF disallows copying" message and
Hello!
(*** sorry for my bad english***)
I have the message (title), but only with PIL 1.1.7 (Windows XP, Vista
or 7 (32 bits or 64 bits)).
I tried:
_imaging.pyd exist in C:\Python26\Lib\site-packages\PIL
OK
python -v
>>> import Image
OK
sys.path contain C:\Python26\Lib\site
On 9/3/10 4:35 AM, jc.lopes wrote:
Does anyone knows what is the proper way to submit a bug report to
pythonware PIL?
http://mail.python.org/mailman/listinfo/image-sig
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible b
On Sep 3, 10:35 am, "jc.lopes" wrote:
> Does anyone knows what is the proper way to submit a bug report to
> pythonware PIL?
>
> thanks
> JC Lopes
The Python Image SIG list http://mail.python.org/mailman/listinfo/image-sig
"Free Support: If you don't have a
Does anyone knows what is the proper way to submit a bug report to
pythonware PIL?
thanks
JC Lopes
--
http://mail.python.org/mailman/listinfo/python-list
On 26 Aug., 13:16, steph wrote:
> Hi group,
>
> I've written a small application that puts images into a pdf document.
> It works ok, but my problem is that the pdf-files become quite huge,
> bigger than the original jpegs. The problem seems to arise because I
> use PIL
Hi group,
I've written a small application that puts images into a pdf document.
It works ok, but my problem is that the pdf-files become quite huge,
bigger than the original jpegs. The problem seems to arise because I
use PIL to resize the pictures - and the images seem to get
uncompress
>
> Is the file, which you claim is UTF-8 encoded, actually UTF-8 encoded?
> If you're not sure, explicitly tell your text editor to save the file as
> UTF-8, and then try again.
I feel like an idiot... haven't used Python for some time... my editor was
set for utf-8 on PHP projects and other...
On 08/06/2010 04:37 PM, alejandro wrote:
>
>> # the last tuple is the background color
>> img = Image.new("RGBA",(300, 50), (0, 0, 0, 0))
> Thank you for this....
>
>> # I think that the PIL can cope with unicode, so add a u-prefix here:
>> text = u&
s the output of my script on your computer?
$ python -V
Python 2.6.4
$ python -c "import Image; print Image.VERSION"
1.1.6
$ cat draw_text.py
# encoding:utf-8
from PIL import Image
import ImageDraw
import ImageFont
img = Image.new("RGBA",(300, 50), (0, 0, 0, 0))
draw = Ima
>
> Make sure that
>
> # encoding:utf-8
>
> is the first line of your script, details and fineprint here:
>
> http://www.python.org/dev/peps/pep-0263/
>
> Peter
Tryed that...
What was the output of my script on your computer?
--
http://mail.python.org/mailman/listinfo/python-list
alejandro wrote:
>> # the last tuple is the background color
>> img = Image.new("RGBA",(300, 50), (0, 0, 0, 0))
> Thank you for this
>
>> # I think that the PIL can cope with unicode, so add a u-prefix here:
>> text = u"proba test �"
> # the last tuple is the background color
> img = Image.new("RGBA",(300, 50), (0, 0, 0, 0))
Thank you for this
> # I think that the PIL can cope with unicode, so add a u-prefix here:
> text = u"proba test ¾æèð¹"
> draw.text((20,8), text ,font=arial, fil
alejandro wrote:
> Can please someone run this little script that should output characters
> like � in an image.
> If it does it correctly can you tell me what OS, python version & PIL
> version you have?
> Or better if someone can tell me why this is not working properly
Can please someone run this little script that should output characters like
¾æè¹ð in an image.
If it does it correctly can you tell me what OS, python version & PIL
version you have?
Or better if someone can tell me why this is not working properly on my PC?
(Win XP, PIL 1.1.6., Python
As we seem to be at an impasse with respect to PIL and xpm, I know gimp
does support saving as xpm and that gimp has a python language console.
Perhaps parvini_na...@yahoo.com, could look to the gimp mailing list for
help?
Steven
On Tue, 03 Aug 2010 01:56:20 -0700, Chris Rebert wrote:
>
On Tue, Aug 3, 2010 at 1:45 AM, Navid Parvini wrote:
> Dear All,
>
> I want to convert a .png file to .xpm using PIL. I used the following command:
> Image.open( "t1.png").save("a1.xpm"). But it doesn't work and I could not
> convert it.
>
> Would y
I don't think yours is a permitted conversion[1]. It seems that PIL supports
xpm format only for reading, but I could be wrong.
Regards.
[1] http://www.daniweb.com/forums/thread260074.html
On Tue, Aug 3, 2010 at 10:45 AM, Navid Parvini wrote:
> Dear All,
>
> I want to convert
On Tue, Aug 3, 2010 at 6:45 PM, Navid Parvini wrote:
> I want to convert a .png file to .xpm using PIL. I used the following
> command:
> Image.open( "t1.png").save("a1.xpm"). But it doesn't work and I could not
> convert it.
>
> Would you please hel
Dear All,
I want to convert a .png file to .xpm using PIL. I used the following command:
Image.open( "t1.png").save("a1.xpm"). But it doesn't work and I could not
convert it.
Would you please help me and let me know that how can I convert/save .xpm files
in PIL.
Than
Hi
I was using the PIL. I found it pretty useful.
I was wondering if you could please let me know, whether I could change the
image size. What I mean is if suppose I have 100 points having the same
latitude and longitude, the point on the map appears (for instance as a red
circle). My question to
2010/7/7 durumdara :
> Hi!
>
> I have an environment under Python 2.6 (WinXP). That is based on PIL,
> wxPython/PyWin32.
>
> In the project's pages I see official installer for only PyWin32.
>
> I don't know that PIL or wxPython supports Python 3 or not. May wi
> I don't know that PIL or wxPython supports Python 3 or not. May with
> some trick these packages are working.
>
> Does anybody know about it?
> Can I replace my Py2.6 without lost PIL/wxPython?
PIL currently does not support python 3 but release 1.1.7 will in the
future.
Hi!
I have an environment under Python 2.6 (WinXP). That is based on PIL,
wxPython/PyWin32.
In the project's pages I see official installer for only PyWin32.
I don't know that PIL or wxPython supports Python 3 or not. May with
some trick these packages are working.
Does anybody kno
Am 24.06.2010 14:39, schrieb Michel Claveau - MVP:
> Hi!
>
> With PIL-1.1.7.win32-py2.6 and Windows 7, I have this traceback:
> raise ImportError("The _imagingft C module is not installed")
> ImportError: The _imagingft C module is not installed
>
> I teste
Hi!
With PIL-1.1.7.win32-py2.6 and Windows 7, I have this traceback:
raise ImportError("The _imagingft C module is not installed")
ImportError: The _imagingft C module is not installed
I tested "import _imaging" and several other things, without success.
If I re-install P
Does anyone know how to handle TIFF images in Python?
The pylab support uses PIL, and using either pylab or PIL directly,
it messes up the colour scheme. It may look as if it loads CMY believing
that it is RGB, but I am not absolutely sure.
I have no problem handling Microsoft BMP colour images
On Tue, 11 May 2010 09:57:01 -0700
Armin wrote:
> Never mind, I gave up on Tkinter and have switched to wxPython now.
> Getting jpg images to display in a wx frame worked like a charm... (As
> I said, I'm very new to Python, so I didn't really know what my options
> for GUI programming were.)
Armin said:
I'm new to Python and have been playing around with it using the
Enthought Python distribution for Mac OS X 10.6.3 (EPD academic
license, version 6.1 with python 2.6.4).
It's been great learning the basics, but I've started running into
problems when I'm t
Hi everyone,
I'm new to Python and have been playing around with it using the
Enthought Python distribution for Mac OS X 10.6.3 (EPD academic
license, version 6.1 with python 2.6.4).
It's been great learning the basics, but I've started running into
problems when I'm t
On 04/06/10 19:47, Peter Otten wrote:
> Tim Eichholz wrote:
>
>> I think maybe I am using the wrong function. I want to paste the
>> entire 192x192 contents of cols[f] into newimage. I would think it
>> works like newimage.paste(cols[f], (x, 0, 192+x, 192)) if that's not
>> it I think I'm missing
Tim Eichholz wrote:
> I think maybe I am using the wrong function. I want to paste the
> entire 192x192 contents of cols[f] into newimage. I would think it
> works like newimage.paste(cols[f], (x, 0, 192+x, 192)) if that's not
> it I think I'm missing a function
Don't "think"! Read the documentat
the paste line.
> > newimage.paste(cols[f], (f*framew, 0, (f*framew)+192, 192))
>
> The 4-tuple doesn't match the size of the image you are pasting:
>
> >>> from PIL import Image
> >>> image = Image.open("tmp1.png")
> >>> image.siz
)
The 4-tuple doesn't match the size of the image you are pasting:
>>> from PIL import Image
>>> image = Image.open("tmp1.png")
>>> image.size
(134, 400)
>>> image.paste(image, (0, 0, 134, 400)) # correct size --> works
>>> image.pa
I'm trying to cut a BMP with 80 adjacent frames down to 40 using the
Image.copy and .paste functions but I'm getting error "ValueError:
images do not match" on the paste line.
Here is the source ---
import sys
from PIL import Image
if len(sys.argv) == 2:
fil
On 27Mar2010 19:44, Stephen Hansen wrote:
| Yeah, I don't expect much from PNG. The images are very small but I
| might be sending a LOT of them over a pipe which is fairly tight, so
| 50-60 bytes matters. That's why I selected GIF.
How well does a stream of XPM files compress? Probably not enoug
En Mon, 29 Mar 2010 04:41:23 -0300, Gregory Ewing
escribió:
Stephen Hansen wrote:
So I wonder if there's just some hyper-optimization Photoshop does that
PIL can't round-trip.
You may find that PIL isn't bothering to compress at all,
or only doing it in a very simpleminde
Stephen Hansen wrote:
So I wonder if there's just some hyper-optimization Photoshop does that
PIL can't round-trip.
You may find that PIL isn't bothering to compress at all,
or only doing it in a very simpleminded way.
--
Greg
--
http://mail.python.org/mailman/listinfo/python-list
Harishankar wrote:
>
>> Just opening, and then saving the same file with no changes at all,
>> resulted in a 72 byte file growing to 920.
>>
>> I thought it was GIF87a vs GIF89a... but have since come to determine it
>> doesn't appear to be. I decided to give PNG a try again, since those
>> extr
; I thought it was GIF87a vs GIF89a... but have since come to determine it
> > doesn't appear to be. I decided to give PNG a try again, since those
> > extra 50 bytes *matter*, but if I can't get GIF to work, 50 is better
> > then 900. Unfortunately, I hit the same wall
try again, since those
> extra 50 bytes *matter*, but if I can't get GIF to work, 50 is better
> then 900. Unfortunately, I hit the same wall there.
>
> If I convert these itty-bitty images into PNG, they're about 120 bytes
> or so. Opening one in PNG, making no changes, and
101 - 200 of 1022 matches
Mail list logo