Chris, did you ever get a chance to give this a try and see if it helped you?
> On Apr 26, 2017, at 9:58 AM, Chris Bennett <[email protected]> > wrote: > > Hey Larry, > > Thanks for the patch! Will pull it down and give it a try. > I am alright using master, no worries on a backport I believe. > > Thanks for the quick turnaround! > > Chris Bennett > > > On Tue, Apr 25, 2017 at 11:30 AM, Larry Gritz <[email protected] > <mailto:[email protected]>> wrote: > Chris, there were a few issues that needed fixing. I've proposed a patch, > https://github.com/OpenImageIO/oiio/pull/1679 > <https://github.com/OpenImageIO/oiio/pull/1679> > > Maybe you can pull this and give it a try? It's a patch for master, but if it > work and you need it backported to 1.7, I can try to do that. (But if you are > ok using master, I'd prefer that because it's turning into a more extensive > change than I usually backport, though I can do it if necessary.) > > There appears to be a (possibly unrelated) problem with writing XMP to > certain files. But this patch should at least improve the reading. > > >> On Apr 20, 2017, at 5:13 PM, Chris Bennett <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hey Larry! >> >> Thanks for the quick response. >> >> I tried with 1.5.16, 1.6.18, and 1.7.12 all with the same results. >> >> Sure thing! An image I was using to compare my own work with I grabbed from >> the vlc site: >> >> http://streams.videolan.org/streams/360/Mountain_360.jpg >> <http://streams.videolan.org/streams/360/Mountain_360.jpg> >> >> Here is what I get from oiiotool >> >> oiiotool.exe -v --info F:\krp\Mountain_360.jpg >> Reading F:\krp\Mountain_360.jpg >> F:\krp\Mountain_360.jpg : 4096 x 2048, 3 channel, uint8 jpeg >> channel list: R, G, B >> oiio:ColorSpace: "sRGB" >> jpeg:subsampling: "4:4:4" >> Exif:ImageWidth: 4096 >> Exif:ImageLength: 2048 >> Exif:Photometric: 2 >> ImageDescription: "PHOTO mode" >> Make: "GIROPTIC" >> Model: "360 Cam V1" >> Orientation: 1 (normal) >> Exif:SamplesPerPixel: 3 >> XResolution: 300 >> YResolution: 300 >> ResolutionUnit: "none" >> Software: "Adobe Photoshop CC 2017 (Macintosh)" >> DateTime: "2016:11:24 14:18:22" >> Artist: "001200140C" >> Copyright: "Copyright, GIROPTIC 360┬░ Experts, 2014. All rights reserved" >> Exif:ColorSpace: 65535 >> Exif:PixelXDimension: 4096 >> Exif:PixelYDimension: 2048 >> IPTC:Caption: "PHOTO mode" >> IPTC:Creator: "001200140C" >> IPTC:CopyrightNotice: "Copyright, GIROPTIC 360┬░ Experts, 2014. All >> rights r >> eserved" >> >> and the output I get from Exif tool seems too long to put in this email so I >> will leave it out, but I will show the part that I am hoping to grab from >> OIIIO >> >> XMP Toolkit : Adobe XMP Core 5.6-c138 79.159824, >> 2016/09/14-01:09:01 >> Use Panorama Viewer : True >> Projection Type : equirectangular >> Pose Heading Degrees : 0.0 >> Cropped Area Left Pixels : 0 >> Full Pano Width Pixels : 4096 >> Cropped Area Top Pixels : 0 >> Cropped Area Image Height Pixels: 2048 >> Full Pano Height Pixels : 2048 >> Source Photos Count : 3 >> Cropped Area Image Width Pixels : 4096 >> Largest Valid Interior Rect Left: 0 >> Largest Valid Interior Rect Top : 0 >> Largest Valid Interior Rect Width: 4096 >> Largest Valid Interior Rect Height: 2048 >> Format : image/jpeg >> >> Thanks! >> >> Chris Bennett >> >> On Thu, Apr 20, 2017 at 4:19 PM, Larry Gritz <[email protected] >> <mailto:[email protected]>> wrote: >> Which version of OIIO? >> >> Can you make one of those jpg files available so I can see exactly what's in >> it? >> >> >>> On Apr 20, 2017, at 3:58 PM, Chris Bennett <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Hello! >>> >>> Long time reader of the mailing list, first time writer. >>> >>> I was curious of OIIO's xmp read/write capabilities. >>> >>> I intended to use it to manipulate xmp metadata on stereo panorama images >>> but when I used the python lib: >>> >>> input = ImageInput('F:/myfile.jpg') >>> spec = input.spec() >>> for atr in spec.extra_attribs: >>> print atr.name <http://atr.name/> >>> >>> I did not get any of the GPano xmp tags that I had gotten with the exiftool. >>> >>> I also ran it with oiiotool.exe and ended up with the same output. >>> >>> It could be I missed something in my (Windows) build. I have yet to try >>> this on other OS's. >>> >>> Just now digging on the surface of this so any advice to point me in the >>> correct direction would be super helpful. >>> >>> Thanks! >>> >>> PS. Thanks for creating this awesome toolset. >>> >>> Chris Bennett >>> _______________________________________________ >>> Oiio-dev mailing list >>> [email protected] <mailto:[email protected]> >>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >>> <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org> >> >> -- >> Larry Gritz >> [email protected] <mailto:[email protected]> >> >> >> >> _______________________________________________ >> Oiio-dev mailing list >> [email protected] <mailto:[email protected]> >> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >> <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org> >> >> >> _______________________________________________ >> Oiio-dev mailing list >> [email protected] <mailto:[email protected]> >> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >> <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org> > > -- > Larry Gritz > [email protected] <mailto:[email protected]> > > > > _______________________________________________ > Oiio-dev mailing list > [email protected] <mailto:[email protected]> > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org> > > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org -- Larry Gritz [email protected]
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
