Log file Viewer
Help
|
Karma
| Search:
#pil logs for Wednesday the 23rd of July, 2014
(
Back to #pil overview
) (
Back to channel listing
) (
Animate logs
)
[
11:13:27
] <
travis-ci
> [travis-ci] python-pillow/Pillow#1394 (master - 0f6d77a : Hugo): The build passed.
[
11:13:27
] <
travis-ci
> [travis-ci] Change view : https://github.com/python-pillow/Pillow/compare/55792f892726...0f6d77a14158
[
11:13:27
] <
travis-ci
> [travis-ci] Build details : http://travis-ci.org/python-pillow/Pillow/builds/30639918
[
16:16:34
] <
travis-ci
> [travis-ci] wiredfool/Pillow#421 (hsv - 67c235b : wiredfool): The build failed.
[
16:16:34
] <
travis-ci
> [travis-ci] Change view : https://github.com/wiredfool/Pillow/compare/0bb1cd398fc5...67c235b7c084
[
16:16:34
] <
travis-ci
> [travis-ci] Build details : http://travis-ci.org/wiredfool/Pillow/builds/30665484
[
16:40:07
] <
travis-ci
> [travis-ci] wiredfool/Pillow#422 (hsv - e14e359 : wiredfool): The build passed.
[
16:40:07
] <
travis-ci
> [travis-ci] Change view : https://github.com/wiredfool/Pillow/compare/67c235b7c084...e14e3593d980
[
16:40:07
] <
travis-ci
> [travis-ci] Build details : http://travis-ci.org/wiredfool/Pillow/builds/30667591
[
21:45:18
] <
qua-non
> hey guys is it possible to read the thumbnail embedded in the metadata?
[
21:50:29
] <
wiredfool
> qua-non: probably
[
21:51:06
] <
qua-non
> wiredfool: ok, lemme reword my question:) how do I do this with pil?
[
21:51:14
] <
qua-non
> pillow
[
21:51:15
] <
wiredfool
> can you get it from info or exif?
[
21:51:35
] <
wiredfool
> also, what kind of image
[
21:51:44
] <
wiredfool
> how far have you gotten
[
21:51:47
] <
qua-non
> jpeg or png
[
21:52:02
] <
qua-non
> I am just using info right now all I see are tags
[
21:52:29
] <
qua-non
> the raw info seems to have a lot more data so I am assuming the thumbs might be in there
[
21:52:51
] <
wiredfool
> hmm
[
21:53:20
] <
qua-non
> im._getexif().items() gives me the tags
[
21:54:09
] <
wiredfool
> do you know what tag it's in?
[
21:54:19
] <
qua-non
> is there a prebuilt interface to get the thumbs? or should I just experiment with it ?
[
21:54:40
] <
wiredfool
> experiment
[
21:54:45
] <
wiredfool
> there's one to make thumbnails
[
21:54:57
] <
wiredfool
> from certain types of images
[
21:55:03
] <
wiredfool
> (jpegs)
[
21:55:15
] <
wiredfool
> general approach is going to be to find the image
[
21:55:32
] <
wiredfool
> then wrap it in a io.bytesio instance
[
21:55:39
] <
wiredfool
> and then Image.open() that
[
21:55:49
] <
qua-non
> hmm, this might not work then
[
21:56:01
] <
wiredfool
> assuming that it's something like an embedded jped in jpeg
[
21:56:05
] <
qua-non
> cause depending on the image type the position of the image could be different
[
21:56:16
] <
wiredfool
> It's goign to be in a tag somewhere
[
21:56:37
] <
wiredfool
> so it's a matter of finding which one, and feeding the value of that to the decoder
[
21:58:11
] <
qua-non
> ok, I guess I need to see where the tags are being decoded cause I get a lot less tags with pil than with other libs
[
21:58:35
] <
wiredfool
> it may just be returning the ones that it recognizes
[
21:58:46
] <
qua-non
> oh, ok
[
21:58:55
] <
wiredfool
> Image.DEBUG=True may help
[
21:59:06
] <
qua-non
> thanks
[
21:59:34
] <
wiredfool
> also, grab imagemagick, and identify --verbose may tell you where to look in Pillow
[
22:00:18
] <
qua-non
> hmm, ok.
[
22:01:09
] <
wiredfool
> imagemagick rocks.