[squeak-dev] [ANN] Exif
Alexander Lazarević
laza at blobworks.com
Thu Nov 25 11:47:48 UTC 2010
Hi!
I just uploaded a first hack of an Exif package to squeaksource.
http://www.squeaksource.com/Exif.html
MIT License. Any contributions are welcome (see current limitations).
Haven't tested it on Pharo yet. But there shouldn't be anything special
about it.
Have fun,
Alex
>From the project description:
This provides code to extract/modify the Exif (Exchangeable image file
format) information from/inside media files.
- Current limitations:
- Works only for TIFF-, JPEG-files
- Can't write Exif information
- Can't read/write GPS information
- Can't read/write Interoperability information
- Can't read/write any vendor specific MakerNote
- Can't read/write UserComments
- Most methods for cooked information (like dateTime) are missing
- Examples:
"Dump all Exif information from a JPEG-file to the Transcript"
Transcript show: (Exif readFromJPEGNamed: 'p2.jpg') printAll; cr.
"Get *raw* Exif content for DateTime (a String)"
(Exif readFromJPEGNamed: 'p2.jpg') atTagName: #DateTime. "#('2010:11:10
16:56:33')"
"Get *cooked* Exif content for DateTime (a DateAndTime object)"
(Exif readFromJPEGNamed: 'p2.jpg') dateTime. "2010-11-10T16:56:33+01:00"
- Specs:
Exif and TIFF <http://www.exif.org/specifications.html>
- Disclaimer:
This software is provided as is. It is in a very early stage and there
are no guaranties that the software will work as expected or advertised.
Be sure to use only image files with this software that you have backed
up before. I refuse any responsibility for any data lost while using this
software.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20101125/96c2cb3b/attachment.htm
More information about the Squeak-dev
mailing list
|