mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
tuning and cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e9bdde82a6
commit
c719e1abb0
@ -25,13 +25,14 @@ var core = require('features/core')
|
|||||||
|
|
||||||
/*********************************************************************/
|
/*********************************************************************/
|
||||||
|
|
||||||
|
// XXX add exif writer...
|
||||||
var EXIFActions = actions.Actions({
|
var EXIFActions = actions.Actions({
|
||||||
// XXX cache the result and see if it is cached before running exiftool...
|
// XXX cache the result and see if it is cached before running exiftool...
|
||||||
// XXX also check the metadata/ folder (???)
|
// XXX also check the metadata/ folder (???)
|
||||||
// XXX this uses .markChanged(..) form filesystem.FileSystemWriter
|
// XXX this uses .markChanged(..) form filesystem.FileSystemWriter
|
||||||
// feature, but technically does not depend on it...
|
// feature, but technically does not depend on it...
|
||||||
// XXX should we store metadata in an image (current) or in fs???
|
// XXX should we store metadata in an image (current) or in fs???
|
||||||
getExif: ['Edit/Open with external editor',
|
getExif: ['- Image/Get exif data',
|
||||||
function(image, force){
|
function(image, force){
|
||||||
var that = this
|
var that = this
|
||||||
|
|
||||||
@ -68,6 +69,11 @@ var EXIFActions = actions.Actions({
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
}],
|
}],
|
||||||
|
|
||||||
|
// XXX take image exif and write it to target...
|
||||||
|
setExif: ['- Image/Set exif data',
|
||||||
|
function(image, target){
|
||||||
|
}]
|
||||||
})
|
})
|
||||||
|
|
||||||
var EXIF =
|
var EXIF =
|
||||||
@ -87,6 +93,10 @@ module.EXIF = core.ImageGridFeatures.Feature({
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
//---------------------------------------------------------------------
|
||||||
|
// Exif editor/viewer...
|
||||||
|
|
||||||
|
// XXX
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user