Batch Queue Manager: Save modified images the way image editor does

NeiNei neinei at gmx.net
Mon Nov 21 13:59:11 GMT 2016


Dear Gilles,

just wanted to follow up on this issues. Perhaps there is some further 
information necessary which I could deliver?

Best,
NeiNei

On 10.11.2016 09:22, NeiNei wrote:
> Dear Gilles,
>
> Sorry, I hope my next try yields some hints for analyzing.
> As you suggested I work now with DK 5.3.0 in Appimage Linux 64bit.
>
> ***********************************************************
> A. The situation in image editor (14.JPG is original image):
> digikam.dimg: "/home/neinei/Pictures/14.jpg"  : JPEG file identified
> digikam.metaengine: Loading image history  ""
> digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>
> QDateTime(2011-11-29 13:03:01.000 CET Qt::TimeSpec(LocalTime))
> digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB ICC
> profile.
> digikam.dimg: Cannot open workspace color profile
> "/tmp/.mount_SLzcCC/usr/share/digikam/profiles/srgb-d65.icm"
> digikam.metaengine: Orientation => Exif.Image.Orientation =>  8
> digikam.dimg: Cannot open workspace color profile
> "/tmp/.mount_SLzcCC/usr/share/digikam/profiles/srgb-d65.icm"
> digikam.dimg: Cannot open workspace color profile
> "/tmp/.mount_SLzcCC/usr/share/digikam/profiles/srgb-d65.icm"
> digikam.general: Preview  "Auto Correction"  started...
> digikam.dimg: Cannot open workspace color profile
> "/tmp/.mount_SLzcCC/usr/share/digikam/profiles/srgb-d65.icm"
> digikam.general: Preview  "Auto Correction"  completed...
> digikam.dimg: Cannot open workspace color profile
> "/tmp/.mount_SLzcCC/usr/share/digikam/profiles/srgb-d65.icm"
> digikam.dimg: White level at: 180
> digikam.dimg: Black: 0.0195313   Exposition: 0.500154
> digikam.dimg: T(K):  6500  => R: 1  G:    1  B:    1  BP:   5  WP:   181
> digikam.general: Preview  "Auto Correction"  started...
> digikam.general: Preview  "Auto Correction"  completed...
> digikam.dimg: Cannot open workspace color profile
> "/tmp/.mount_SLzcCC/usr/share/digikam/profiles/srgb-d65.icm"
> digikam.general: Final  "Auto Correction"  started...
> digikam.general: Final "Auto Correction"  completed...
> digikam.general: Free space available in Editor cache [
> "/home/neinei/.cache/digikam/" ] in Mbytes:  1372
> digikam.widgets: Profile white point : x= 0.312713  y= 0.32912  Y= 1
> digikam.widgets: dkCmsReadICCMatrixRGB2XYZ(2):  [ 0.435852 ,  0.38533 ,
> 0.143021 ] [ 0.222382 ,  0.717041 ,  0.0605927 ] [ 0.013916 ,  0.0971375
> ,  0.713837 ]
> digikam.widgets: d->Primaries.Red   : X= 0.461196  Y= 0.232948  Z=
> 0.00978772
> digikam.widgets: d->Primaries.Green : X= 0.415454  Y= 0.719903  Z=
> 0.0802877
> digikam.widgets: d->Primaries.Blue  : X= 0.115485  Y= 0.0520762  Z=
> 0.536577
> digikam.dimg: Cannot open workspace color profile
> "/tmp/.mount_SLzcCC/usr/share/digikam/profiles/srgb-d65.icm"
> digikam.general: Saving image
> QUrl("file:///home/neinei/Pictures/14.jpg") non-destructive, new
> version: false , saveAs: false format: ""
> digikam.general: false false false true
> digikam.general: need new version true
> digikam.general: analyzing file "14.jpg" QVariant(int, 1) QVariant(int, 1)
> digikam.general: Will replace false save after each session false save
> after raw false save when not repro false
> digikam.general: initial history 1 current history 2 first step 1 last
> step 0
> digikam.general: Writing file to
> QUrl("file:///home/neinei/Pictures/14_v1.jpg")
> digikam.geoiface: ----
> digikam.general: Saving to :
> "/home/neinei/Pictures/EditorWindow-wZ4747.digikamtempfile.jpg" ( "jpg" )
> digikam.general: Saving file
> "/home/neinei/Pictures/EditorWindow-wZ4747.digikamtempfile.jpg" at -1
> digikam.metaengine: Exif.Image.Orientation tag set to:  1
> digikam.dimg: Saving to
> "/home/neinei/Pictures/EditorWindow-wZ4747.digikamtempfile.jpg"  with
> format:  "jpg"
> digikam.general: Detected change, triggering rescan of
> "/home/neinei/Pictures//"
> digikam.database: Starting scan!
> digikam.metaengine: MetaEngine::metadataWritingMode 0
> digikam.metaengine: Will write Metadata to file
> "/home/neinei/Pictures/EditorWindow-wZ4747.digikamtempfile.jpg"
> digikam.metaengine: wroteComment:  true
> digikam.metaengine: wroteEXIF:  true
> digikam.metaengine: wroteIPTC:  true
> digikam.metaengine: wroteXMP:  true
> digikam.general: Detected change, triggering rescan of
> "/home/neinei/Pictures//"
> digikam.general: Detected change, triggering rescan of
> "/home/neinei/Pictures//"
> digikam.metaengine: Metadata for file
> "EditorWindow-wZ4747.digikamtempfile.jpg" written to file.
> digikam.general:
> "/home/neinei/Pictures/EditorWindow-wZ4747.digikamtempfile.jpg" true true
> digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>
> QDateTime(2011-11-29 13:03:01.000 CET Qt::TimeSpec(LocalTime))
> digikam.database: No itemShortInfo could be retrieved from the database
> for image "14_v1.jpg"
> digikam.general: save version done
> digikam.general: Saved QUrl("file:///home/neinei/Pictures/14.jpg") to
> QUrl("file:///home/neinei/Pictures/14_v1.jpg")
> digikam.general: was versioned true current 3 "14.jpg" destinations
> ("/home/neinei/Pictures/14_v1.jpg")
> digikam.database: No itemShortInfo could be retrieved from the database
> for image "14_v1.jpg"
> digikam.dimg: "/home/neinei/Pictures/14_v1.jpg"  : JPEG file identified
> digikam.database: Adding new item "/home/neinei/Pictures/14_v1.jpg"
> digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>
> QDateTime(2011-11-29 13:03:01.000 CET Qt::TimeSpec(LocalTime))
> digikam.metaengine: DateTime (Exif digitalized):  Di. Nov. 29 13:03:01 2011
> digikam.metaengine: Orientation => Exif.Image.Orientation =>  1
> digikam.metaengine: "/home/neinei/Pictures/14_v1.jpg"  ==> Read Iptc
> Keywords:  ()
> digikam.metaengine: Loading image history  "<?xml
> version=\"1.0\"?>\n<history version=\"1\">\n    <file
> uuid=\"5c74c2b309653d3d7597405100cbd02d36b5b496a288f983c884845bb0202e55\" type=\"original\">\n
> <fileParams fileName=\"14.jpg\" filePath=\"/home/neinei/Pictures/\"
> fileHash=\"36b5b496a288f983c884845bb0202e55\" fileSize=\"6017318\"
> creationDate=\"2011-11-29T13:03:01\"/>\n    </file>\n    <filter
> filterName=\"digikam:AutoLevelsFilter\" filterDisplayName=\"Auto
> Levels\" filterVersion=\"1\" filterCategory=\"reproducible\">\n
> <params/>\n    </filter>\n</history>\n"
> digikam.database: Scanning took 13 ms
> digikam.database: Finishing took 16 ms
> digikam.database: Graph with 2 vertices:
> "{ Ids: (3,11) UUID: 5c74c2... } -> { Id: 13 UUID: 0abc71... }"
>
> digikam.database: Image 3 type QFlags(0x1)
> digikam.database: Image 11 type QFlags(0x1)
> digikam.database: Image 13 type QFlags(0x8)
> digikam.database: Copying properties from 3 to 13
> digikam.general: Event is dispatched to desktop notifier through DBUS
> digikam.dimg: "/home/neinei/Pictures/14_v1.jpg"  : JPEG file identified
> digikam.general: Detected change, triggering rescan of
> "/home/neinei/Pictures//"
> digikam.database: Starting scan!
> digikam.general: Using  2  CPU core to run threads
> digikam.general: Action Thread run  1  new jobs
>
> *************************************************************************
> B. The sitaution in BQM (14.JPG is original image, "a" is the saved
> workflow):
> igikam.general: Using  2  CPU core to run threads
> digikam.general: Action Thread run  1  new jobs
> digikam.general: One job is done
> digikam.general: add :  "a"
> digikam.general: Using  1  CPU core to run threads
> digikam.general: Action Thread run  1  new jobs
> digikam.general: Tool : index=  1  :: name=  "AutoCorrection"  :: group=
>  2  :: wurl=  QUrl("file:///home/neinei/Pictures/")
> digikam.general: path:
> "/home/neinei/Pictures/BatchTool-TJ5151.digikamtempfile.jpg"
> digikam.general: Tool:        "Color Auto-correction"
> digikam.general: Input url:   QUrl("file:///home/neinei/Pictures/14.jpg")
> digikam.general: Output url:
> QUrl("file:///home/neinei/Pictures/BatchTool-TJ5151.digikamtempfile.jpg")
> digikam.dimg: "/home/neinei/Pictures/14.jpg"  : JPEG file identified
> digikam.metaengine: Loading image history  ""
> digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>
> QDateTime(2011-11-29 13:03:01.000 CET Qt::TimeSpec(LocalTime))
> digikam.general: Detected change, triggering rescan of
> "/home/neinei/Pictures//"
> digikam.database: Starting scan!
> digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB ICC
> profile.
> digikam.dimg: Saving to
> "/home/neinei/Pictures/BatchTool-TJ5151.digikamtempfile.jpg"  with
> format:  "JPG"
> digikam.metaengine: MetaEngine::metadataWritingMode 0
> digikam.metaengine: Will write Metadata to file
> "/home/neinei/Pictures/BatchTool-TJ5151.digikamtempfile.jpg"
> digikam.metaengine: wroteComment:  true
> digikam.metaengine: wroteEXIF:  true
> digikam.metaengine: wroteIPTC:  true
> digikam.metaengine: wroteXMP:  true
> digikam.general: Detected change, triggering rescan of
> "/home/neinei/Pictures//"
> digikam.general: Detected change, triggering rescan of
> "/home/neinei/Pictures//"
> digikam.metaengine: Metadata for file
> "BatchTool-TJ5151.digikamtempfile.jpg" written to file.
> digikam.dimg: "/home/neinei/Pictures/14_1.jpg"  : JPEG file identified
> digikam.database: Adding new item "/home/neinei/Pictures/14_1.jpg"
> digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>
> QDateTime(2011-11-29 13:03:01.000 CET Qt::TimeSpec(LocalTime))
> digikam.metaengine: DateTime (Exif digitalized):  Di. Nov. 29 13:03:01 2011
> digikam.metaengine: Orientation => Exif.Image.Orientation =>  8
> digikam.metaengine: "/home/neinei/Pictures/14_1.jpg"  ==> Read Iptc
> Keywords:  ()
> digikam.metaengine: Loading image history  "<?xml
> version=\"1.0\"?>\n<history version=\"1\">\n    <file
> type=\"original\">\n        <fileParams fileName=\"14.jpg\"
> filePath=\"/home/neinei/Pictures/\"
> fileHash=\"36b5b496a288f983c884845bb0202e55\" fileSize=\"6017318\"
> creationDate=\"2011-11-29T13:03:01\"/>\n    </file>\n    <filter
> filterName=\"digikam:AutoLevelsFilter\" filterDisplayName=\"Auto
> Levels\" filterVersion=\"1\" filterCategory=\"reproducible\"
> branch=\"true\">\n        <params/>\n    </filter>\n</history>\n"
> digikam.database: Scanning took 10 ms
> digikam.database: Finishing took 18 ms
> digikam.dimg: "/home/neinei/Pictures/14_1.jpg"  : JPEG file identified
> digikam.database: Graph with 2 vertices:
> "{ Ids: (3,11) UUID: 5c74c2... } -> { Id: 14 UUID: 784d9b... }"
>
> digikam.database: Image 14 type QFlags(0x8)
> digikam.database: Image 3 type QFlags(0x1|0x8)
> digikam.database: Image 11 type QFlags(0x1|0x8)
> digikam.database: Copying properties from 3 to 14
> digikam.dimg: "/home/neinei/Pictures/14_1.jpg"  : JPEG file identified
> digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>
> QDateTime(2011-11-29 13:03:01.000 CET Qt::TimeSpec(LocalTime))
> digikam.metaengine: DateTime (Exif digitalized):  Di. Nov. 29 13:03:01 2011
> digikam.metaengine: Orientation => Exif.Image.Orientation =>  8
> digikam.metaengine: "/home/neinei/Pictures/14_1.jpg"  ==> Read Iptc
> Keywords:  ()
> digikam.metaengine: Loading image history  "<?xml
> version=\"1.0\"?>\n<history version=\"1\">\n    <file
> type=\"original\">\n        <fileParams fileName=\"14.jpg\"
> filePath=\"/home/neinei/Pictures/\"
> fileHash=\"36b5b496a288f983c884845bb0202e55\" fileSize=\"6017318\"
> creationDate=\"2011-11-29T13:03:01\"/>\n    </file>\n    <filter
> filterName=\"digikam:AutoLevelsFilter\" filterDisplayName=\"Auto
> Levels\" filterVersion=\"1\" filterCategory=\"reproducible\"
> branch=\"true\">\n        <params/>\n    </filter>\n</history>\n"
> digikam.database: Scanning took 17 ms
> digikam.database: Finishing took 9 ms
> digikam.database: Graph with 2 vertices:
> "{ Ids: (3,11) UUID: 5c74c2... } -> { Id: 14 UUID: 784d9b... }"
>
> digikam.database: Image 14 type QFlags(0x8)
> digikam.database: Image 3 type QFlags(0x1|0x8)
> digikam.database: Image 11 type QFlags(0x1|0x8)
> digikam.database: Starting scan!
> digikam.general: Using  1  CPU core to run threads
> digikam.general: Action Thread run  1  new jobs
> digikam.general: One job is done
> digikam.general: Cancel Main Thread
> digikam.general: One job is done
> digikam.general: List of Pending Jobs is empty
> digikam.general: Event is dispatched to desktop notifier through DBUS
> digikam.dimg: "/home/neinei/Pictures/14_1.jpg"  : JPEG file identified
> digikam.dimg: "/home/neinei/Pictures/14_1.jpg"  : JPEG file identified
> digikam.metaengine: Orientation => Exif.Image.Orientation =>  8
> digikam.metaengine: Orientation => Exif.Image.Orientation =>  8
> digikam.metaengine: Orientation => Exif.Image.Orientation =>  8
> digikam.general: Using  1  CPU core to run threads
> digikam.general: Action Thread run  1  new jobs
> digikam.general: One job is done
>
>
> Thanks in advance for taking time to look into this.
> NeiNei
>
> On 10.11.2016 05:34, Gilles Caulier wrote:
>> Not at all.
>>
>> In fact you use DK 4.14. New stable is 5.3.0. Use Linux AppImage bundle
>> to test with this kind of behavior and forget older versions. A lots of
>> changes have been performed in all implementations. Also 4.x serie is
>> closed about changes, fixes, and improvements.
>>
>> Gilles Caulier
>>
>>
>>
>> 2016-11-09 22:09 GMT+01:00 NeiNei <neinei at gmx.net
>> <mailto:neinei at gmx.net>>:
>>
>>     Dear  Gilles,
>>
>>     thanks for the hint.
>>
>>     I did as you suggested in digiKam 4.14:
>>
>>     A. The situation in image editor (20161012_132602.JPG is original
>>     image):
>>     ~$ digikam
>>     digikam(2674)/digikam (core)
>>     Digikam::ImageInfo::fromLocationAlbumAndName: No itemShortInfo could
>>     be retrieved from the database for image "20161012_132602_v1.JPG"
>>     digikam(2674)/digikam (core)
>>     Digikam::ImageInfo::fromLocationAlbumAndName: No itemShortInfo could
>>     be retrieved from the database for image "20161012_132602_v1.JPG"
>>
>>     B. The sitaution in BQM (20161012_132602.JPG is original image):
>>     ~$ digikam
>>     digikam(3625)/digikam (core): Cannot find an album for  KUrl("")
>>     digikam(3625)/digikam (core): Cannot find an album for  KUrl("")
>>     digikam(3625)/digikam (core): Cannot find an album for  KUrl("")
>>     digikam(3625)/digikam (core)
>>     Digikam::ImageInfo::fromLocationAlbumAndName: No itemShortInfo could
>>     be retrieved from the database for image "20161012_132602_1.JPG"
>>
>>     I hope this helps a bit to analyze the situation.
>>
>>     Thanks,
>>     NeiNei
>>
>>
>>     On 11/06/2016 05:58 PM, NeiNei wrote:
>>
>>         Hi there,
>>
>>         I built a batch process in Batch Queue Manager to apply some
>> color
>>         operations on the original jpg images. The modified pictures
>> of tis
>>         process are saved as [file]_1.jpg . In album view I see now side
>>         by side
>>         two images:
>>         -image_a.jpg (original)
>>         -image_a_v1.jpg (modified by batch queue process)
>>         Obviously, doubling the number of images bloats the album view.
>>
>>         However, I expect here the same outcome as I would do the same
>> color
>>         operations in image editor. That is a stacked view where I only
>>         see the
>>         current image (image_a_v1.jpg) and the original image is
>> "hidden".
>>         How could I achieve this behavior in Batch Queue Manager?
>>
>>
>>
>>         Thanks for a hint in advance,
>>         NeiNei
>>
>>
>>
>




More information about the Digikam-users mailing list