Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.36 KB | None | 0 0
  1. #==============================================================
  2. # .picasa.ini FILE STRUCTURE
  3. #
  4. # reverse-engineered by Franz Buchinger <fbuchinger@gmail.com>
  5. # licensed to the public domain
  6. #
  7. # Picasa Version(s): 3.8.0
  8. #
  9. # Changelog:
  10. # v0.1: initial release
  11. # ==============================================================
  12.  
  13. #---------------------------------------------------------
  14. # 1. Picasa Section
  15. #
  16. # The picasa section contains album-related metadata.
  17. # Obviously, it is only present if the image folder was
  18. # converted to a picasa album or if it was created during
  19. # an import of images from a digital camera.
  20. #---------------------------------------------------------
  21. [Picasa]
  22. # the name of the album
  23. name=Foo Bar birthday
  24. # category: "Folders on Disk" for local albums
  25. category=Folders on Disk
  26. #if album was downloaded from picasa web albums, a key in this format
  27. # is stored
  28. P2category=Downloaded Albums~otheruserid
  29. #if the album was uploaded, the username and album id are referenced in this format: <picasa user name>_lh=<picasa web album id>
  30. joedoe_lh=5620038667642797505
  31.  
  32.  
  33.  
  34. #-------------------------------------------------------------
  35. # 2.1 Contacts Section
  36. #
  37. # the contacts section matches the recognized faces of
  38. # persons to the contacts of the picasa user.
  39. # format <person_id>=<picasa user name>_lh,<picasa contact id>
  40. # TODO: what about not-yet confirmed or unidentified faces
  41. #--------------------------------------------------------------
  42. [Contacts]
  43. d10a8325c557b085=joedoe_lh,cb989580bc43a91
  44. 8e62398ebda8c1a5=joedoe_lh,4bd750800fb6a6b8
  45. d736528ba71f2254=joedoe_lh,6dc6a330c4804e8
  46.  
  47. # 2.2 Contact2 Section
  48. #
  49. # the contacts2 section is similar to the normal contact section
  50. # (see above), but will only appear when you don't sync your
  51. # contact to your Google account.
  52. # format <person_id>=<person name>
  53. #--------------------------------------------------------------
  54.  
  55. [Contacts2]
  56. e32c49663dba60c4=John Doe;;
  57.  
  58. #---------------------------------------------------------------
  59. # 3. Photo Entries
  60. #
  61. # each photo found in the current directory gets one ini section
  62. # in the file, named after its filename. depending on the file
  63. # type (jpeg vs camera raw), different metadata is stored in the
  64. # section.
  65. #----------------------------------------------------------------
  66. [P7025200.ORF]
  67.  
  68. # 3.1 BASIC METADATA
  69.  
  70. #added if image was starred in picasa
  71. star=yes
  72.  
  73. #caption entered in picasa
  74. #(only added for non-jpeg photos, stored as IPTC Caption for jpeg photos)
  75. caption=dummy
  76.  
  77. #keywords assigned in picasa
  78. #(only added for non-jpeg photos, stored as IPTC Keywords for jpeg photos)
  79. keywords=beer,empanadas,keyword with spaces
  80.  
  81. #backuphash - not yet decoded
  82. backuphash=36003
  83.  
  84. #if the pictures of the album have been uploaded
  85. # a key/value pair in the format IIDLIST_<picasa user name>_lh=<64-bit hexadecimal photo id>
  86. # is added to each photo entry.
  87. IIDLIST_joedoe_lh=4dfe636c9cf4c302
  88.  
  89. # 3.2 FILTER SETTINGS
  90.  
  91. # all applied filters per photo are recorded to .picasa.ini
  92. # to provide an editing history and/or an easier undo facility.
  93.  
  94. # Basic filter key format:
  95. # the filters key of each photo stores a semicolon-separated list of filter entries:
  96.  
  97. filters=enhance=1;crop64=1,45930000ba03defe;
  98.  
  99. # each entry follows the format
  100. # <filter identifier>=1,<filter value 1>,<filter value 2>,<..filter value n>;
  101.  
  102. # Here is a list of valid filter identifiers
  103. #
  104. #|--Identifier-|--------------Parameters-------------|----------Description-----------|---------Example---------------|
  105. #| crop64 | CROP_RECTANGLE* | crop filter, crops the image | crop64=1,30a730d2bf1ab897 |
  106. #| | | according to crop rectangle | |
  107. #| tilt | !TILT_ANGLE,!SCALE | tilts and scales image | tilt=1,0.280632,0.000000 |
  108. #| redeye | | redeye removal | redeye=1 |
  109. #| enhance | | "I'm feeling lucky" enhancement| enhance=1 |
  110. #| autolight | | automatic contrast correction | autolight=1 |
  111. #| autocolor | | automatic color correction | autocolor=1 |
  112. #| retouch | | retouch | retouch=1 |
  113. #| finetune2 | (unidentified params) | finetuning (brightness, | finetune2=1,0.000000,0.000000,|
  114. #| | |highlights, shadows,color temp) | 0.000000,fff7f5f3,0.000000; |
  115. #| unsharp2 | !AMOUNT | unsharp mask filter | unsharp2=1,0.600000; |
  116. #| sepia | | sepia filter (no params) | sepia=1 |
  117. #| bw | | black/white filter (no params) | bw=1 |
  118. #| warm | | warming filter (no params) | bw=1 |
  119. #| grain2 | | film grain filter (no params) | grain2=1 |
  120. #| tint |!!PRESERVE_COLOR ,#TINT COLOR | tint filter | tint=1,79.842102,ffff |
  121. #| sat |!SATURATION | saturation filter | sat=1,0.161800; |
  122. #| radblur |!MOUSE_X,!MOUSE_Y,!SIZE,!AMOUNT | radial blur | radblur=1,0.500000,0.500000, |
  123. #| | | | 0.239766,0.146199; |
  124. #| glow2 |!INTENSITY,!!RADIUS | glow effect | glow2=1,0.650000,3.000000; |
  125. #| ansel |#COLOR | filtered black/white | ansel=1,ffffffff; |
  126. #| radsat |!MOUSE_X,!MOUSE_Y,!RADIUS,!SHARPNESS | radial saturation | radsat=1,0.421652,0.594697, |
  127. #| | | | 0.333333,0.309942; |
  128. #| dir_tint |!MOUSE_X,!MOUSE_Y,!GRADIENT,!SHADOW | directed gradient | dir_tint=1,0.306743,0.401515, |
  129. #| | | | 0.250000,0.250000,ff5bfff3; |
  130. #
  131. # LEGEND:
  132. # ! = float between 0 and 1, precision:6
  133. # !! = float with arbitrary range, precision:6
  134. # # = 32-bit color in hex notation, e.g.: fff7f5f3
  135. # [] = crop rectangle
  136.  
  137.  
  138.  
  139. # 3.3 TEXT EDITS
  140.  
  141. text=1;136;11;sample text;Aharoni;0.279301,0.503929,0.033333,0.000000;v1,4294967295,4278190080,128.000000,1.000000,0.364486,0.878906,700,258,49152;;
  142. textactive=1
  143.  
  144. # 3.4. RECOGNIZED FACES
  145.  
  146. # all recognized faces are stored as bigint crop rectangles in the faces key
  147. # format faces=rect64(CROP_RECTANGLE*), contact_id;
  148. faces=rect64(3f845bcb59418507),8e62398ebda8c1a5;rect64(9eb15e89b6b584c1),d10a8325c557b085
  149.  
  150.  
  151. #
  152. # APPENDIX
  153. #
  154.  
  155. # A.1 DATA TYPES
  156.  
  157. # A.1.1 CROP BOX RECTANGLES (*)
  158.  
  159. # Picasa uses a special string format to store crop boxes of
  160. # detected faces and from an applied crop filters. The number encased
  161. # in the rect64() statement is a 64 bit hexadecimal number:
  162.  
  163. # rect64(3f845bcb59418507)
  164.  
  165. # break this number into 4 16-bit numbers by using substrings:
  166.  
  167. # '3f845bcb59418507'.substring(0,4) //"3f84"
  168. # '3f845bcb59418507'.substring(4,8) //"5bcb"
  169. # '3f845bcb59418507'.substring(8,12) // "5941"
  170. # '3f845bcb59418507'.substring(12,16) // "8507"
  171.  
  172. # convert each obtained substring to an integer and divide it
  173. # by the highest 16-bit number (2^16 = 65536), which should give 0 < results < 1.
  174. # these are the relative coordinates of the crop rectangle (left,top,right,bottom):
  175.  
  176. # parseInt("3f84",16)/65536 //0.24810791015625 - left
  177. # parseInt("5bcb",16)/65536 //0.3585662841796875 - top
  178. # parseInt("5941",16)/65536 //0.3486480712890625 - right
  179. # parseInt("8507",16)/65536 //0.5196380615234375 - bottom
  180.  
  181. # for absolute coordinates, multiply the left/right coordinates with
  182. # the image width and the top/bottom coordinates with the image height
  183.  
  184. # A.1.2 FRACTIONAL FLOATS (!)
  185.  
  186. # floats between 0 and 1 with a precision of 6 digits, e.g. 0.306743.
  187. # Often used to encode relative settings or mouse positions.
  188.  
  189. # A.1.3 FLOATS (!!)
  190.  
  191. # arbitrary floats with a precision of 6 digits
  192.  
  193. # A.1.4. COLORS (#)
  194.  
  195. # colors are stored as 32-bit hex string, e.g. ff5bfff3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement