Hans Meine wrote:
> On Sunday 08 October 2006 11:05, SourceForge.net wrote:
>> Message generated for change (Tracker Item Submitted) made by Item
>> Submitter You can respond by visiting:
>> https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1573072&group_
>> id=46652
> 
> This was harder than expected.  Also, I cannot see how to attach a file; 
> maybe 
> that's only possible with IE or Mozilla.

Once the tracker item has been closed it's not possible to add new
attachments.

Problem is now we have two solutions, yours that add orientation to the
image, which I think is a good fix, and the one that I did to use the
orientation to set the initial rotation of the image.

In freevo-1.7 I plan to use kaa.metadata and kaa.base instead of mmpython.

Hans, what would you suggest?

Cheers,
Duncan

> 
> ------------------------------------------------------------------------
> 
> Index: mediainfo.py
> ===================================================================
> --- mediainfo.py      (Revision 1921)
> +++ mediainfo.py      (Arbeitskopie)
> @@ -98,7 +98,7 @@
>               'width', 'height', 'fps', 'aspect']
>  
>  IMAGECORE = ['description', 'people', 'location', 'event',
> -             'width','height','thumbnail','software','hardware', 'dpi']
> +             'width','height','thumbnail','software','hardware', 'dpi', 
> 'orientation']
>  
>  MUSICCORE = ['trackno', 'trackof', 'album', 'genre','discs']
>  
> Index: image/EXIF.py
> ===================================================================
> --- image/EXIF.py     (Revision 1921)
> +++ image/EXIF.py     (Arbeitskopie)
> @@ -694,17 +694,17 @@
>  
>  # extract multibyte integer in Motorola format (little endian)
>  def s2n_motorola(str):
> -    x=0
> +    x=0L
>      for c in str:
>          x=(x << 8) | ord(c)
>      return x
>  
>  # extract multibyte integer in Intel format (big endian)
>  def s2n_intel(str):
> -    x=0
> +    x=0L
>      y=0L
>      for c in str:
> -        x=x | (ord(c) << y)
> +        x=x | (long(ord(c)) << y)
>          y=y+8
>      return x
>  
> Index: image/jpginfo.py
> ===================================================================
> --- image/jpginfo.py  (Revision 1921)
> +++ image/jpginfo.py  (Arbeitskopie)
> @@ -172,6 +172,7 @@
>              self.setitem( 'hardware', exif_info, 'Image Model', True )
>              self.setitem( 'software', exif_info, 'Image Software', True )
>              self.setitem( 'thumbnail', exif_info, 'JPEGThumbnail', True )
> +            self.setitem( 'orientation', exif_info, 'Image Orientation', 
> True )
>              self.appendtable( 'EXIF', exif_info )
>          if iptc_info:
>              self.setitem( 'title', iptc_info, 517, True ) 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Freevo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to