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.
"Dump all Exif information from a JPEG-file to the Transcript" Exif and TIFF
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. |
Very cool, thanks a lot for sharing this!
Lukas On 25 November 2010 08:47, Alexander Lazarević <[hidden email]> wrote: > 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 > > 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. > > > > > -- Lukas Renggli www.lukas-renggli.ch |
Thanks. It should work also in Pharo.now.
Alex 2010/11/25 Lukas Renggli <[hidden email]> Very cool, thanks a lot for sharing this! |
In reply to this post by laza
Tx alexander!
Stef On Nov 25, 2010, at 12:48 PM, Alexander Lazarević wrote: > 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 > > • 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. > |
Free forum by Nabble | Edit this page |