Okay, so I've been getting this error message when trying to use PIL to
open a JPEG, that there isn't a library by the name of libtiff.so.3 .
I've been searching the documentation, there isn't any reference to
this library. Also, I don't know why it's doing this as I'm trying to
open a JPEG, and not a tiff. I tried with a .bmp with similar results.
Any ideas? Thanks! 7 1818
Tuvas wrote: Okay, so I've been getting this error message when trying to use PIL to open a JPEG, that there isn't a library by the name of libtiff.so.3 . I've been searching the documentation, there isn't any reference to this library. Also, I don't know why it's doing this as I'm trying to open a JPEG, and not a tiff. I tried with a .bmp with similar results.
sounds like someone has linked _imaging.so against the libtiff library.
what PIL version is this, and where did you get it ?
</F>
I got it from the PIL website, version 1.1.5. I guess it's possible
that there's another library Image on the computer that it could be
confusing? I'm looking for new things. Thanks!
Tuvas wrote: Okay, so I've been getting this error message when trying to use PIL to open a JPEG, that there isn't a library by the name of libtiff.so.3 . I've been searching the documentation, there isn't any reference to this library. Also, I don't know why it's doing this as I'm trying to open a JPEG, and not a tiff. I tried with a .bmp with similar results. Any ideas? Thanks!
Install libtiff.
--
Erik Max Francis && ma*@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
Irrational barriers and ancient prejudices fall quickly when the
question of survival itself is at stake. -- John F. Kennedy,
Tuvas wrote: I got it from the PIL website, version 1.1.5. I guess it's possible that there's another library Image on the computer that it could be confusing? I'm looking for new things. Thanks!
afaik, there are no unix binaries on the PIL website. did you build
it yourself, from source code? what modifications did you do to the
setup.py file? what happens if you do
$ python import _imaging import _imagingtiff
?
</F>
Oddly enough, that seems to have solved the problem. Duh. Take the
simple solution first. Thanks for the wake up call!
Erik Max Francis wrote: Install libtiff.
note that PIL doesn't use libtiff, so that only addresses the symtoms.
(which might be good enough, of course)
</F>
Well, it seems to have resolved the problem. Don't know what was
causing it to begin with, but I'll take it... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: John Carter |
last post by:
Does anyone know how to embed PIL into a py2exe program.
As far as I can tell PIL is not finding its plugins for Image I/O,
they are imported dynamically as required. So I cant load or save...
|
by: Stéphane Ninin |
last post by:
Hello all,
I am writing (on Linux Redhat 9)
some script to make graphs using PIL, from a set of points.
All is ok, except that there seems to be no font coming with PIL.
Where could I fond...
|
by: Noah |
last post by:
How does Image.putdata() work? I am using PIL 1.1.3.
This simple script throws an exception on putdata():
import Image
width = 10
height = 10
im = Image.new ("RGB", (width, height))
L =...
|
by: Steve Holden |
last post by:
If nobody has a quick answer I'll go to the PIL list, but I'm having
problems with PIL JPEG support on Windows, and figured someone on c.l.py
might have solved this problem.
I built the Cygwin...
|
by: News M Claveau /Hamster-P |
last post by:
PIL
PI = Py (in french, it's the same 'sound')
=> PIL = (Py)L
and Py become P24
=> PIL = (P24)L
however, 'L' Christmas finishes It (in french, Christmas = NoëL)
and '(P24)' can to do readed...
|
by: Will McGugan |
last post by:
Hi,
I'm writing an app that downloads images. It rejects images that are
under a certain size - whithout downloading them completely. I've
implemented this using PIL, by downloading the first K...
|
by: peter.mosley |
last post by:
Hello again
I'm still wrestling with Python / Tkinter / PIL. I have almost got it
to work - on a Fedora Core 1 system I can now display images in a
Tkinter window. But I also run a Fedora Core...
|
by: Christian Stapfer |
last post by:
After switching from Python 2.3 to 2.4 (Enought),
PIL throws an exception that did not occur formerly
(under Python 2.3) when executing
ImageFont.truetype(font, size)
where font =...
|
by: Odalrick |
last post by:
I'm making a simple program to crop and scale images, essentially make
thumbnails from a user defined subset of the image.
I'm planning to use Python Image Library to crop and resize the images,...
|
by: bsagert |
last post by:
I downloaded BeautifulSoup.py from http://www.crummy.com/software/BeautifulSoup/
and being a n00bie, I just placed it in my Windows c:\python25\lib\
file. When I type "import beautifulsoup" from...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |