ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: Nico99 on February 22, 2017, 12:22:12 PM

Title: Problems exporting anchor points of PS path
Post by: Nico99 on February 22, 2017, 12:22:12 PM
Hi,
the following command, I use to export anchor points from an image, usually works perfectly:
exiftool -config ./config_files/photoshop_paths.config -userparam anchor -allpaths testimg.jpg -j
but in some cases it returns a lot of garbage followed by the actual path:
[{
  "SourceFile": "testimg.jpg",
  "Path7d0": "M\u00008m?\u0000\u0001\u0000.\u0004?\u0000=c?\u0000.ff\u0000?o\u0002\u0000.??\u0000@?0\u0000\u0002\u0000/?Y\u0000Ae8\u0000/?\u0014\u0000B??\u0000/Og\u0000D.\u001D\u0000\u0002\u0000.a?\u0000E?o\u0000.\u0014{\u0000G\\?\u0000-??\u0000K#e\u0000\u0002\u0000-??\u0000N?2\u0000-p?\u0000R??\u0000-?)\u0000Sr\u0003\u0000\u0002\u0000.??\u0000T3_\u0000/\n=\u0000T??\u0000.?;\u0000V??\u0000\u0001\u0000-?\u000B\u0000X?\u0017\u0000-p?\u0000Z??\u0000,Ƹ\u0000^?H\u0000\u0001\u0000.ε\u0000c7\r\u0000.\u0014{\u0000e?h\u0000-?O\u0000g.?\u0000\u0001\u0000,?q\u0000g4?\u0000,??\u0000i?X\u0000-[\u0017\u0000o?}/#cutout (0.464602,0.18125) (0.449115,0.14375) (0.493363,0.12375) (0.493363,0.125) (0.513274,0.13375) (0.542035,0.135) (0.566372,0.1025) (0.568584,0.095) (0.575221,0.09) (0.575221,0.08625) (0.683628,0.01625) (0.772124,0.0125) (0.792035,0.0125) (0.849558,0.0175) (0.949115,0.0975) (0.977876,0.1925) (0.984513,0.23375) (0.962389,0.235) (0.955752,0.23375) (0.955752,0.23625) (0.940265,0.27375) (0.911504,0.34125) (0.909292,0.35375) (0.878319,0.42625) (0.878319,0.4325) (0.869469,0.4475) (0.869469,0.45375) (0.836283,0.52625) (0.829646,0.54875) (0.785398,0.64) (0.785398,0.705) (0.785398,0.7875) (0.783186,0.82) (0.785398,0.85375) (0.783186,0.8775) (0.783186,0.89375) (0.776549,0.91375) (0.767699,0.92375) (0.763274,0.935) (0.75,0.94125) (0.570796,0.9825) (0.519912,0.985) (0.411504,0.9875) (0.349558,0.98875) (0.265487,0.985) (0.20354,0.9775) (0.192478,0.9775) (0.174779,0.9725) (0.152655,0.97125) (0.106195,0.96125) (0.0929204,0.96) (0.0199115,0.9225) (0.0176991,0.9) (0.0132743,0.8775) (0.0154867,0.86625) (0.0132743,0.80875) (0.0154867,0.775) (0.0176991,0.6725) (0.0199115,0.5575) (0.0221239,0.49125) (0.0221239,0.455) (0.0243363,0.41625) (0.0265487,0.37) (0.0265487,0.33375) (0.0309734,0.3075) (0.0376106,0.2775) (0.0707965,0.2275) (0.110619,0.20625) (0.126106,0.2025) (0.134956,0.1975) (0.15708,0.19375) (0.165929,0.1875)"
}]

Please find attached one of the images that is giving such result.
I'm using Linux Mint 18.1 with ExifTool ver. 10.43.

Any idea about why this is happening?

Thanks
Nico
Title: Re: Problems exporting anchor points of PS path
Post by: Phil Harvey on February 22, 2017, 12:38:42 PM
Hi Nico,

Thanks for the report and test file.

I think the attached config file may solve this problem.

- Phil
Title: Re: Problems exporting anchor points of PS path
Post by: Nico99 on February 22, 2017, 01:53:44 PM
Hi Phil,
thanks for you super fast fix. I've tested it with 12 images that were giving problems and it seems that now everything is working as expected.
Cheers,
Nico
Title: Re: Problems exporting anchor points of PS path
Post by: Phil Harvey on February 22, 2017, 01:59:54 PM
Great!