f the pasted image is white rather than transparent. I think
that I should be doing something with a mask but I don't quite understand
how this works. Thanks for any tips.
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D-40215
Tel: +49-211-938-5360
GSM: +49-17
"charlie clark" wrote:
I would like to be able to mark areas on a map with round points. I
already have the round points as a separate graphic with a transparent
background. When I use Image.paste(im, (10, 10)) the paste works but the
background of the pasted image is white r
Dear list,
because of the problems that Internet Explorer has with RGBA PNGs I'm
trying to convert a set of images to GIFs but hitting problems as usual.
for file in files:
file = file.split(".")
if file[1] == "png":
im = Image.open(".".join(file))
new = im.convert("
not been able to fix it - all the magic seems to happen in the
font.render() method in _imagingft and this is probably dependent upon
Freetype code. But maybe someone out there knows of a workaround?
Thanks very much and a happy new year!
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldor
mail, so I can take a
look at your specific case).
Thanks. Font sent in a separate e-mail.
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
___
Image-SIG maillist - Image-SIG@pytho
27;png' and
len(string.split(a,'.'))==2
Strings have had methods since Python 1.6!
But os.path.splitext() is probably all you need. Sorry that this won't
help you find the cause of the crash.
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938
The
same to my colleague @infinit.sk. Could the admin chech it please ?
The problem is almost certainly with Google - what is the precise
error message?
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
rary.
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
___
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig
0,1000,910])
im.show()
enhancer = ImageEnhance.Sharpness(im)
enhancer.enhance(2.0).show()
Convert the image to RGB and then filter it.
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
___
found this a rude
first post.
Can you please provide some details as to what's gone so horribly
wrong. I would be surprised if the problem is actually with PIL per se
and not with one of the underlying C libraries.
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +
handful users have access
to it since it is still in a closed test phase.
Hiya Wichert,
I'm just curious as to why a .BMP is likely to be a common format - is
the image coming as .BMP from some common windows control?
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +4
the people who maintain them. In the meantime I
think it is reasonable to expect users to target Python 2.6 which
should encourage more Python 3.0 stuff without breaking important
aspects of backward compatability for many projects.
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D
lated joke) ;-)
Looking forward to the new version.
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
___
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig
age to the right size
and comparing it with ImageChops.difference() with the template but I'm
not sure how to interpret the results - I had hoped for either a largely
black or white image but I'm largely getting the inverse of the logo.
Any tips?
Charlie
--
Charlie Clark
Man
Am 01.04.2011, 20:30 Uhr, schrieb Charlie Clark
:
Hi,
I need to check lot of images to see if they have the right logo in
them. Fortunately I know the co-ordinates of where the logo in the image
should be but I'm not sure on the best way to compare a selection from
the image w
Am 01.04.2011, 17:03 Uhr, schrieb Dennis Huynh
:
how do you read the metadata from a jpeg with PIL? What module do I use?
Hi Dennis,
from PIL import ExifTags
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel:
:
del img
I don't think that explicitly invokes a destructor but it does stop you
doing *anything* with the image subsequently.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobil
orce it
in the form handling.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Image-SIG maillist - Image-SIG@python.
is PIL packaged for use with pip,
easy_install and buildout.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Image-SIG mail
recently.
For virtualenv's the best choice, however, is to use the Pillow fork of
PIL which runs fine with easy_install or pip. Oh, and try to avoid
"activate" unless you're very confident of what you're doing.
Charlie
--
Charlie Clark
Managing Director
Clark Consulti
dates the subsystem between OS releases.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Image-SIG maillist - Image-SIG@p
sing algorithm or find a
suitable filter you can do this in PIL. However, you mind try applying
filters directly in ffmpeg before you create a thumbnail.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +4
ostscript
raise IOError("gs failed (status %d)" % status)
IOError: gs failed (status 32512)
What causes the problem??
Hi Johannes,
have you got Ghostscript installed on your system? It looks like you are
getting an error because PIL can't find it.
Charlie
--
Charlie Clark
Managin
the case here.
Nah, Unisys patented the format which essentially uses a 256 colour
palette for compression. LZW compression doesn't make much difference on
this file.
I *think* the problem is you are not creating the palette very
intelligently there are only 20 colours in the palette.
to work with the original bitmap.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Image-SIG maillist - Image-SIG@python
ftware. Otherwise we
need to know the precise error you are getting.
By the way Python 2.3 is very old and not supported you should consider
updating to Python 2.7 if possible.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseld
l, apply this method to a copy
of the original image. This method returns None.
"""
I read this to mean that the original image is preserved, and indeed, when
I open the PNG in Photoline I see something much close to the CMYK
original (no dayglow green). If you want a new image
need 64-bit you will have to compile PIL for Windows using Visual Studio.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
t think that PIL compiles out of the box on Mac OS which is why I
always recommend using either MacPorts (isn't there also a package for
Fink?) or pip install Pillow. Probably worth checking the portsfile to see
what things need tweaking.
Charlie
--
Charlie Clark
Managing Director
Clar
Am 29.06.2011, 13:45 Uhr, schrieb Fredrik Lundh :
I just added WebP support to the development tree; see:
http://offline.effbot.org/europython
for code snippets and links.
Thanks very much for this effbot! webp is a great image format.
Charlie
--
Charlie Clark
Managing Director
Clark
on. You can probably install PIL for your system using
aptitude.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Image-SI
can't see any
difference between them.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Image-SIG maillist - Image-S
.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/list
you have already installed Python your best bet is to enter:
sudo pip install pillow
In Terminal
Charlie Clark
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-
Ingo,
for support on the fork you should contact it's developer. You might need
to create a debug build of Python to find out exactly what's not working.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Te
some functional programming so that you are
not using memory for transitional data structures.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-
converting the file to 8bit with a palette and this
successfully downsamples but the ANTIALIAS is not performed. What am I
doing wrong?
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobil
at is that
from Snow Leopard on the builds are generally x86_64 only.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Imag
like a reasonable fix I
may consider it.
I'd suggest that the issue be extended to include a test file and result
and tested against PIL 1.1.7. As a happy user of Pillow I wouldn't like it
to see it gain any internal patches.
Charlie
--
Charlie Clark
Managing Director
C
hook up to the Windows binaries if possible.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Image-SIG maillist -
need the 64-bit Windows binaries. Microsoft makes life
difficult by not providing a compiler with their operating system.
Fortunately, Chris Gohlke maintains a large library of Windows binaries of
Python packages: http://www.lfd.uci.edu/~gohlke/pythonlibs/
Look for "amd64"
Charlie
27-pip
sudo pip install scipy pillow ndimage
"Pillow" is a version of PIL that is very easy to install.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
EOFError:
break
im.save("test%02d.png" % i)
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Image-SIG
t guess!
More importantly, you are unnecessarily creating copies of each frame in
memory just to save the frames to disk. However, as disk IO seems to be
the bottleneck this has little practical implications for this image but
could be important in another situation.
Charlie
--
Charlie
Am 19.01.2012, 22:39 Uhr, schrieb Bryce2 Nesbitt :
pip uninstall PIL
sudo apt-get install libjpeg8-dev
pip install PIL
Try pip install pillow. Pillow is a fork of PIL that is easier to use with
setuptools.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
Ge
or lots of different people.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Image-SIG maillist - Image-SIG@python.org
http://m
Is is just me or do we have occasional bottlenecks where e-mails take days
to come through?
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-
at is not very
nice for people just starting out with images and Python. Is this
bottleneck with new members or simply approving e-mails?
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +4
Am 15.03.2013, 18:44 Uhr, schrieb Alex Clark :
FYI,
Pillow 2.0.0 released:
- https://pypi.python.org/pypi/Pillow/2.0.0
Congratulations on adding Python 3 support!
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
49 matches
Mail list logo