Author Topic: PM creating XIP files?  (Read 6005 times)

Offline msbc

  • Newcomer
  • *
  • Posts: 43
    • View Profile
PM creating XIP files?
« on: June 28, 2009, 04:27:22 AM »
I've just gone through some folders and applied ratings to Canon 10D RAW files - .CRW. Looking in the folder I see PM is creating a new file for every image file with a .xip file extension. A sample contents:
<?xml version="1.0"?>
<IMAGEPREFS>
   <rotation>0</rotation>
   <PROCROPRECT>
      <left>0</left>
      <top>0</top>
      <right>65536</right>
      <bottom>65536</bottom>
   </PROCROPRECT>
   <PROCROPRECTDRAFT>
      <left>0</left>
      <top>0</top>
      <right>65536</right>
      <bottom>65536</bottom>
   </PROCROPRECTDRAFT>
   <tag>0</tag>
</IMAGEPREFS>

What's this for?

Mac OSX 10.5.7 and PM 4.6.1

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: PM creating XIP files?
« Reply #1 on: June 28, 2009, 07:35:39 AM »
I've just gone through some folders and applied ratings to Canon 10D RAW files - .CRW. Looking in the folder I see PM is creating a new file for every image file with a .xip file extension. A sample contents:
<?xml version="1.0"?>
<IMAGEPREFS>
   <rotation>0</rotation>
   <PROCROPRECT>
      <left>0</left>
      <top>0</top>
      <right>65536</right>
      <bottom>65536</bottom>
   </PROCROPRECT>
   <PROCROPRECTDRAFT>
      <left>0</left>
      <top>0</top>
      <right>65536</right>
      <bottom>65536</bottom>
   </PROCROPRECTDRAFT>
   <tag>0</tag>
</IMAGEPREFS>

What's this for?

Mac OSX 10.5.7 and PM 4.6.1

CRW files are a format that we cannot modify directly for purposes of tagging, rating, cropping, and color classification.  So PM creates an XIP file when you perform any of those soft-edits on that file format.

-Kirk

Offline Hayo Baan

  • Uber Member
  • ******
  • Posts: 2552
  • Professional Photographer & Software Developer
    • View Profile
    • Hayo Baan - Photography
Re: PM creating XIP files?
« Reply #2 on: June 29, 2009, 02:53:58 AM »
Noteworthy is that XIP files are created for e.g. GIF files too (can't embed metadata there either).

Cheers
Hayo Baan - Photography
Web: www.hayobaan.nl

Offline msbc

  • Newcomer
  • *
  • Posts: 43
    • View Profile
Re: PM creating XIP files?
« Reply #3 on: June 29, 2009, 03:53:15 AM »
I've just gone through some folders and applied ratings to Canon 10D RAW files - .CRW. Looking in the folder I see PM is creating a new file for every image file with a .xip file extension. A sample contents:
<?xml version="1.0"?>
<IMAGEPREFS>
   <rotation>0</rotation>
   <PROCROPRECT>
      <left>0</left>
      <top>0</top>
      <right>65536</right>
      <bottom>65536</bottom>
   </PROCROPRECT>
   <PROCROPRECTDRAFT>
      <left>0</left>
      <top>0</top>
      <right>65536</right>
      <bottom>65536</bottom>
   </PROCROPRECTDRAFT>
   <tag>0</tag>
</IMAGEPREFS>

What's this for?

Mac OSX 10.5.7 and PM 4.6.1

CRW files are a format that we cannot modify directly for purposes of tagging, rating, cropping, and color classification.  So PM creates an XIP file when you perform any of those soft-edits on that file format.

-Kirk


Hi Kirk,

Why create another file type - one that isn't even documented in the PM manual? Why not create/update the XMP sidecar (which already existed for my CRW files)?

How does the XIP file fit into a Lightroom or Aperture workflow?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: PM creating XIP files?
« Reply #4 on: June 29, 2009, 06:40:54 AM »
Marc,

I've just gone through some folders and applied ratings to Canon 10D RAW files - .CRW. Looking in the folder I see PM is creating a new file for every image file with a .xip file extension. A sample contents:
<?xml version="1.0"?>
<IMAGEPREFS>
   <rotation>0</rotation>
   <PROCROPRECT>
      <left>0</left>
      <top>0</top>
      <right>65536</right>
      <bottom>65536</bottom>
   </PROCROPRECT>
   <PROCROPRECTDRAFT>
      <left>0</left>
      <top>0</top>
      <right>65536</right>
      <bottom>65536</bottom>
   </PROCROPRECTDRAFT>
   <tag>0</tag>
</IMAGEPREFS>

What's this for?

Mac OSX 10.5.7 and PM 4.6.1

CRW files are a format that we cannot modify directly for purposes of tagging, rating, cropping, and color classification.  So PM creates an XIP file when you perform any of those soft-edits on that file format.

Why create another file type - one that isn't even documented in the PM manual? Why not create/update the XMP sidecar (which already existed for my CRW files)?

How does the XIP file fit into a Lightroom or Aperture workflow?

Photo Mechanic wrote out XIP files before Photo Mechanic was capable of writing out XMP files.  And if Photo Mechanic were to write out the same data to XMP files, Adobe's software wouldn't use it anyway.  The only data that overlaps is the rating and label fields in XMP.

We may change this in the future.  But in the meantime, the presence of the XIP files shouldn't cause any problems in other software.

-Kirk

Offline msbc

  • Newcomer
  • *
  • Posts: 43
    • View Profile
Re: PM creating XIP files?
« Reply #5 on: June 29, 2009, 01:24:42 PM »
Kirk,

Can you clarify when/why the xip file is needed when tagging CRW's?

I just ran some tests. I have 3 files in a folder - image.CRW, image.THM and image.XMP. I rated image.CRW with PM. PM created image.xip

I checked for the Rating tag in all of the 3 image files with exiftool - it shows up in image.THM and image.XMP
So PM is adding the tag to the XMP!

I injested the files into Lightroom and the Rating value is displayed.

So, why the xip file in this case - whats it doing?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: PM creating XIP files?
« Reply #6 on: June 29, 2009, 04:55:25 PM »
Kirk,

Can you clarify when/why the xip file is needed when tagging CRW's?

I just ran some tests. I have 3 files in a folder - image.CRW, image.THM and image.XMP. I rated image.CRW with PM. PM created image.xip

I checked for the Rating tag in all of the 3 image files with exiftool - it shows up in image.THM and image.XMP
So PM is adding the tag to the XMP!

I injested the files into Lightroom and the Rating value is displayed.

So, why the xip file in this case - whats it doing?

It also stores the Crop information (all of the soft edits are written when any of them change) so when you tag a CRW file, the soft edits are written out to an XIP file.

-Kirk