Is there any Image processing library for Python 2.5 that does not require external dependencies under Windows?
I observed that there are (too) many ImageMagick libraries for Python but I found none that can just 开发者_JAVA百科be installed and that will include the ImageMagick libraries.
I am looking for something can be be easily installed and that has to work with Python 2.5 (please, don't ask me why 2.5!)
Did you try the Python Imaging Library (PIL)? They have got an installer for Python 2.5 and I don't think there are further dependencies.
I won't ask you why 2.5, don't worry - but I am pretty happy with Python Imaging Library.
I work mostly on Windows, and while PIL has its glitches, it works just fine. Up to now I haven't had any compatibility problems BMPs, JPGs and PNGs.
I suggest you look into PIL once again, I just tried to make a BMP in Paint and it works fine.
BTW, a thing that can make stuff seem inoperable is forgetting to put "wb" as file output mode when saving using the Image.save() function.
精彩评论