Skip to content

Instantly share code, notes, and snippets.

@mnaoumov
Last active March 12, 2021 00:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnaoumov/35ec6d9bc69985526a0e5b7818a9acbe to your computer and use it in GitHub Desktop.
Save mnaoumov/35ec6d9bc69985526a0e5b7818a9acbe to your computer and use it in GitHub Desktop.
PhotoStructure bug - Quantization tables are too coarse for baseline JPEG
λ ./photostructure info f:/SynologyDrive/Photos/0001/0153.jpg
[
{
_PhotoStructureVersion: '0.9.1',
capturedAt: { localCentiseconds: 2021010412502724, offset: 120, src: 'stat' },
dimensions: { width: 558, height: 1650 },
errors: [],
fileSortCriteria: {
resolution: 8,
mtime: 13450044,
schemeIdx: 2,
isCover: false,
count: 0,
isBrowserSupported: true,
uri: 'psfile://32hPdZdkz/SynologyDrive/Photos/0001/0153.jpg'
},
filters: {
accepted: [
'exifExtFilter',
'fileSizeFilter',
'notHiddenCheap',
'noMediaFilter',
'hasMimeType',
'supportedMimeTypeFilter',
'notRejected',
'minDimensionsFilter'
],
rejected: []
},
geohash: 924548765756632,
ignoredBecause: [],
imageHash: {
meanHash: 'Hw8PFx8DBydwcHA4eHhwMGBw8OxsbHQE',
isGreyscale: false,
modes: [
2527, 2962,
2523, 3712,
3606, 2742,
3405
],
dominantColors: 'Glacier blue (#C8DDE8), Ash grey (#B2BEB5), Lavender grey (#C4C3D0), Cerise (#DE3163), Puce (#CC8899), Light grey (#D3D3D3)'
},
mimetype: 'image/jpeg',
nativePath: 'F:\\SynologyDrive\\Photos\\0001\\0153.jpg',
rotation: 0,
sha: 'UzZpUTdLxgD343kK1L65M7w1XRa/PkNy',
tags: [
[
'When',
{ name: '2021', ordinal: 7979 },
{ name: 'Jan', ordinal: 12 }
],
[ '!My Keywords', '!Filters', 'Unknown Date' ],
[
'!My Keywords',
'People',
'!Family',
'Симоновы',
'Алла Симонова'
],
[
'!My Keywords',
'Places',
'Украина',
'Киев',
'Дом Бабушка Алла'
],
[ 'Type', 'Image', 'JPEG' ]
],
tz: 'Europe/Kiev',
tzSource: 'from Lat/Lon',
uri: 'psfile://32hPdZdkz/SynologyDrive/Photos/0001/0153.jpg',
validFile: 'invalid file F:\\SynologyDrive\\Photos\\0001\\0153.jpg: Caution: quantization tables are too coarse for baseline JPEG⁶³²'
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment