Christoph Gohlke
007a4405de
Use Py_ssize_t instead of long
2013-02-13 18:48:46 -08:00
Christoph Gohlke
d711d8ef82
Use Py_ssize_t instead of long
2013-02-13 18:47:32 -08:00
Christoph Gohlke
c334626b8b
Use Py_ssize_t instead of long
2013-02-13 18:42:46 -08:00
Christoph Gohlke
803022d93f
Use Py_ssize_t instead of long
2013-02-13 18:40:39 -08:00
Christoph Gohlke
2feb481ca2
Use Py_ssize_t instead of long
2013-02-13 18:38:45 -08:00
Christoph Gohlke
a0f1f6692c
Use Py_ssize_t instead of long
2013-02-13 18:36:09 -08:00
Christoph Gohlke
dbf3d993ed
BUG: Windows image viewer unable to open image
...
The issue was reported several times during the past years.
The temporary bitmap file is deleted before the image viewer is started. The workaround is to wait some time before deleting the file.
http://stackoverflow.com/questions/4607633/image-format-to-save-in-python
http://stackoverflow.com/questions/7715501/pil-image-show-doesnt-work-on-windows-7
2013-02-13 18:23:30 -08:00
Alex Clark ☺
e09ff61b81
Merge pull request #50 from manisandro/master
...
Add COPYING file
2013-02-09 10:56:16 -08:00
Sandro Mani
a4e2016e06
Add COPYING file
2013-02-09 19:51:01 +01:00
Alex Clark
cb4f0f2b3c
Revert "Fix saving images with added transparency"
...
This reverts commit cc439099c1
.
2013-02-06 09:25:03 -05:00
Alex Clark ☺
c6b484affa
Merge pull request #48 from manisandro/master
...
Upstream two patches carried by fedora
2013-02-05 17:20:15 -08:00
Sandro Mani
8c7c373676
Fix buffer overflow
...
This patch was carried by fedora for python-imaging
See https://bugzilla.redhat.com/show_bug.cgi?id=703212
2013-02-06 00:51:25 +01:00
Sandro Mani
cc439099c1
Fix saving images with added transparency
...
See http://mail.python.org/pipermail/image-sig/1999-February/000648.html
This patch was carried by fedora for python-imaging
2013-02-06 00:49:26 +01:00
David Schmidt
41da6cdd87
remove double variable from setup.py
2013-02-01 17:59:29 +01:00
David Schmidt
5baa1ac1b8
Added support for PNG images with transparency palette
2013-02-01 17:52:22 +01:00
Bryant Mairs
f3d601b579
Python 3-ified _imagingcms.c and display.c, at least when compiling for Py3.3x64 on Win7x64 with MSVC10.
2013-02-01 17:45:16 +01:00
David Schmidt
bc0e446340
removed doubled variable from setup.py
2013-01-29 15:25:55 +01:00
Alex Clark ☺
8fc5fbc6c1
Merge pull request #38 from d-schmidt/master
...
Fixed some bugs related to the features added yesterday
2013-01-16 07:14:26 -08:00
David Schmidt
e90d90d60a
Fixed another PIL Pillow difference bug
2013-01-11 14:41:38 +01:00
David Schmidt
33bf5d9d37
Improved load truncated images
2013-01-11 14:40:02 +01:00
David Schmidt
ee04c7ceea
Fixed another difference between PIL and Pillow
2013-01-11 13:24:44 +01:00
David Schmidt
91503cafd3
minor bugfix
2013-01-11 12:47:32 +01:00
Alex Clark ☺
a635a1dcb1
Merge pull request #36 from d-schmidt/feature
...
Bugfix + 3 features
2013-01-10 14:26:31 -08:00
d-schmidt
addf0f4d95
Added possibility to save exif information in jpeg-files
2013-01-10 21:36:21 +01:00
d-schmidt
54d4f5eb3c
added option to load truncated image-files
2013-01-10 20:44:41 +01:00
d-schmidt
900f3a8ff7
Added possibility to save gifs with a custom palette when using color mode P
2013-01-10 20:34:58 +01:00
d-schmidt
45a97bb430
fixed an error with utf-8 chars in color profile names
2013-01-10 20:07:28 +01:00
Alex Clark ☺
b48257e259
Merge pull request #35 from fluggo/master-1.7.8x
...
Add Python 3.2 support
2013-01-10 06:59:12 -08:00
Bryant Mairs
9f82f025dc
Modified map.c to fix some MSVC10 compilation errors.
2013-01-10 08:52:47 -06:00
Brian J. Crowell
e49cba9b32
Handle Sane option strings as Unicode strings
...
The Sane documentation seems to imply that these option strings contain
Latin-1 text, not byte data, so we decode it and present it to the user
that way.
2013-01-10 08:52:46 -06:00
Brian J. Crowell
fb2ccb15a7
Set up Sane error object as exception instead of string
...
String exceptions don't work anymore.
2013-01-10 08:52:46 -06:00
Sandro Mani
e84cc92036
Make pysane Python3-compatible
2013-01-10 08:52:45 -06:00
Brian J. Crowell
67a131a9e1
Update the manifest to include a lot of missing files
2013-01-10 08:52:45 -06:00
Mikhail Korobov
decabcf96a
Fix tox test running: port selftest.py to Python 3; make it clear Python 2.5 is no longer supported (its support is broken in many ways in this branch); remove bundled doctest.py module (it is in stdlib since forever); remove extra stuff from tox.ini
2013-01-10 08:50:52 -06:00
Brian J. Crowell
c952134e00
py3k: Issue warnings when using the old fromstring/tostring
...
...although, you have to turn on deprecation warnings specifically in order
to get them.
2013-01-10 08:47:05 -06:00
Brian J. Crowell
a1c1654594
py3k: inquiry is now lenfunc
...
This fixes a build warning on 64-bit machines.
2013-01-10 08:47:05 -06:00
Brian Crowell
ec961de303
py3k: Remove use_2to3 from setup.py
...
This is unnecessary now.
2013-01-10 08:47:04 -06:00
Brian Crowell
848579af9b
py3k: Add Windows icon sanity test
2013-01-10 08:47:04 -06:00
Brian Crowell
276cc421f7
py3k: Add XPM read test
...
This test includes an XPM file with transparency.
2013-01-10 08:47:03 -06:00
Brian Crowell
d6a0dec15b
py3k: Add TarIO test
...
Not too convinced of the size fix. While it works against my file, I'm not
sure someone would have accidentally been an index off and not noticed.
2013-01-10 08:47:03 -06:00
Brian Crowell
49b0d1563e
py3k: Rewrite PdfImagePlugin into something more legible
...
After adding all the encode() calls, the PDF plugin (and a few others)
became much harder to read. This should be much easier on the eyes.
2013-01-10 08:47:02 -06:00
Brian Crowell
6765b8e026
py3k: Add .FLI sanity check, and fix palette bytes bug
2013-01-10 08:47:01 -06:00
Brian Crowell
9921d838e4
py3k: Add Photoshop sanity check
2013-01-10 08:47:01 -06:00
Brian Crowell
2972b2178e
py3k: Add PCX to roundtrip test
...
For some reason, the PCX codec round-trips now.
2013-01-10 08:47:00 -06:00
Brian Crowell
4f7d784a71
py3k: Actually fix the EPS encoder
...
The EPS encoder wasn't part of Gohlke's test suite, so the previous "fixes"
there were only expected syntactic ones. This gives a cleaner fix to the
encoder.
The decoder doesn't work in round-trip due to a missing eps_decoder method
on the core module, but it's clear it worked at some point.
2013-01-10 08:47:00 -06:00
Brian Crowell
63be4a1334
py3k: Get rid of _ParserFile; io.BytesIO does its job
2013-01-10 08:46:59 -06:00
Brian Crowell
8035b1a76a
py3k: FIX: TGA missing o8 declaration
...
Plus, TGA was eligible for a round-trip test in test_imagefile. It has one
now.
2013-01-10 08:46:59 -06:00
Brian Crowell
254f0cf674
py3k: FIX: Bad upside-down check in BmpImagePlugin
2013-01-10 08:46:58 -06:00
Brian Crowell
a8599e8bb2
py3k: Remove ancient Python hacks
2013-01-10 08:46:57 -06:00
Christoph Gohlke
be560f00f5
py3k: Allow slicing for paths
...
This is Gohlke's fix for two issues: negative indexes on paths were not
resolved to the correct index, and path slicing didn't work.
His fix for slicing is related to the one found at:
http://renesd.blogspot.com/2009/07/python3-c-api-simple-slicing-sqslice.html
With this commit, all 79 tests (82 minus the three skipped ones) run
successfully on Python 2.6.8, Python 2.7.3rc2, and Python 3.2.3.
2013-01-10 08:46:57 -06:00