Is there way to remove IPTC tags or non-camera exif (user added Exif)
info from pictures? I had this problem that Digikam dont start, it just hangs to "Reading database" and mayby 1/20 it get pass that. It didnt help to recompile with --debug option because then it started normal way and didnt give any erros but without debug compiled in it, it dont start with my pictures. With some pictures it will start and when i add more, it works and suddenly it dont start anymore even i dont have added more. I think problem is now on those IPTC or Exif data what i have added to pictures by "sync with database" option. -- Someday i will get real signature.... _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Hi,
On Sun, 25 Nov 2007, Paristo wrote: > Is there way to remove IPTC tags or non-camera exif (user added Exif) > info from pictures? You could try exiv2 on the command line, in particular the -d option. If you have isolated the file which causes the problem, please make a copy before so that we could have a look at the file to find the origin of the problem. > I had this problem that Digikam dont start, it just hangs to "Reading > database" and mayby 1/20 it get pass that. It didnt help to recompile > with --debug option because then it started normal way and didnt give > any erros So there are no messages on the console which would give any hint? > but without debug compiled in it, it dont start with my > pictures. With some pictures it will start and when i add more, it > works and suddenly it dont start anymore even i dont have added more. > I think problem is now on those IPTC or Exif data what i have added to > pictures by "sync with database" option. Might be... Which version of digikam are you using? Which version of exiv2 are you using? (Can be found with a running digikam under "About") Which instructions did you follow to generate the debug version (e.g. http://www.digikam.org/?q=download/svn )? Your problem reminds me of a bug which has been fixed recently... Best, Arnd _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Paristo
>> Is there way to remove IPTC tags or non-camera exif (user added Exif)
>> info from pictures? > You could try exiv2 on the command line, in particular the -d option. > If you have isolated the file which causes the problem, > please make a copy before so that we could have a look at > the file to find the origin of the problem. This is little problematic because i cant be 100% sure what pictures makes this. I have tryed to narrow down those pictures by type (jpeg, orf, nef, cr2 etc) and by time when pictures has taken. Like i can remove all other than jpeg files but digikam still dont start. I can remove all jpeg files, and digikam dont start. I have moved small groups of albums to digikam (from filemanager and then started digikam and checked does it start) to that point when it dont anymore start. Then move last moved group away and restart digikam and it still dont start, even if i move away few moved groups more, digikam dont start. That's why it is really dificult to find what pictures makes this. I have tryed this on Digikam 8.2 to latest 9.3 beta3 and problem exist. It came on 9.0 version and if i remember correctly now, when i merged digikam album and database info. I have even removed (backupped) .db files and it still exist. Tryed on 4 different PC with different digikam version and only thing what is related is same USB harddrive (same mount point on every PC) and same pictures. And i have even copied pictures from USB HD to internal HD and same effect. >> I had this problem that Digikam dont start, it just hangs to "Reading >> database" and mayby 1/20 it get pass that. It didnt help to recompile >> with --debug option because then it started normal way and didnt give >> any erros > So there are no messages on the console which would give any hint? No, console didnt give any good hint what could be problem when debug was compiled in. It was hilarius that when debug was ON, it didnt give any errors and when debug was OFF, digikam didnt start :-) >> I think problem is now on those IPTC or Exif data what i have added to >> pictures by "sync with database" option. > Might be... > Which version of digikam are you using? > Which version of exiv2 are you using? > (Can be found with a running digikam under "About") > Which instructions did you follow to generate > the debug version (e.g. http://www.digikam.org/?q=download/svn )? Yes, i compiled SVN version about 1 month ago and i was contact with KDE devs via IRC and it couldn't get solved. I should try it again with new SVN version. I just toke newest version from Mandriva Cooker. Current version of: Digikam is 0.9.3 Beta3 (0.9.3-0.beta3.2mdv2008.1) Exiv2 is 0.16-0.pre1 (0.16-0.pre1.3mdv2008.1) libexiv2 is 0.15 (0.15-2mdv2008.0) libexiv2_2 is 0.16-0.pre1 (0.16-0.pre1.3mdv2008.1) libkexiv2 is 0.1.6 (0.1.6-4mdv2008.1) libkexiv21 is 0.1.5 (0.1.5-4mdv2008.0) libkexiv23 is 0.1.6 (0.1.6-4mdv2008.1) >Your problem reminds me of a bug which has been fixed recently... I think it wasn't same because on beta3 this my problem still exist. It seems only way is to narrow down false pictures (what is very dificult, like catch a bird from sky! ;-)) and try again with SVN version with debug option and find something from there with better luck OR make copies from pictures, remove all IPTC tags or other what can come from Digikam and keep original Exif data and try again. Biggest problem here is that i cant give right info for developers to help me out :-) _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Hi,
On Tue, 27 Nov 2007, Paristo wrote: > >> Is there way to remove IPTC tags or non-camera exif (user added Exif) > >> info from pictures? > > > You could try exiv2 on the command line, in particular the -d option. > > If you have isolated the file which causes the problem, > > please make a copy before so that we could have a look at > > the file to find the origin of the problem. > > This is little problematic because i cant be 100% sure what pictures makes > this. I have tryed to narrow down those pictures by type (jpeg, orf, nef, cr2 > etc) and by time when pictures has taken. Like i can remove all other than > jpeg files but digikam still dont start. I can remove all jpeg files, and > digikam dont start. > > I have moved small groups of albums to digikam (from filemanager and then > started digikam and checked does it start) to that point when it dont anymore > start. Then move last moved group away and restart digikam and it still dont > start, even if i move away few moved groups more, digikam dont start. That's > why it is really dificult to find what pictures makes this. Yes, this is one of the worst situations... If we don't get a better idea, you could zip the whole directory with data-base and images and put it somewhere to download, so we could have a look (of course it depends on the contents of your pictures if you really would like to do that; in any case it is best to send such a link off-list ...;-). > I have tryed this on Digikam 8.2 to latest 9.3 beta3 and problem exist. It > came on 9.0 version and if i remember correctly now, when i merged digikam > album and database info. > > I have even removed (backupped) .db files and it still exist. Tryed on 4 > different PC with different digikam version and only thing what is related is > same USB harddrive (same mount point on every PC) and same pictures. And i > have even copied pictures from USB HD to internal HD and same effect. It seems that you have really gone through a lot of reasonable tests! > >> I had this problem that Digikam dont start, it just hangs to "Reading > >> database" and mayby 1/20 it get pass that. It didnt help to recompile > >> with --debug option because then it started normal way and didnt give > >> any erros > > > So there are no messages on the console which would give any hint? > > No, console didnt give any good hint what could be problem when debug was > compiled in. It was hilarius that when debug was ON, it didnt give any errors > and when debug was OFF, digikam didnt start :-) Sounds like a really weird problem ... > >> I think problem is now on those IPTC or Exif data what i have added to > >> pictures by "sync with database" option. > > > Might be... > > Which version of digikam are you using? > > Which version of exiv2 are you using? > > (Can be found with a running digikam under "About") > > Which instructions did you follow to generate > > the debug version (e.g. http://www.digikam.org/?q=download/svn )? > > Yes, i compiled SVN version about 1 month ago and i was contact with KDE devs > via IRC and it couldn't get solved. I should try it again with new SVN > version. I just toke newest version from Mandriva Cooker. > > Current version of: > Digikam is 0.9.3 Beta3 (0.9.3-0.beta3.2mdv2008.1) > Exiv2 is 0.16-0.pre1 (0.16-0.pre1.3mdv2008.1) > libexiv2 is 0.15 (0.15-2mdv2008.0) > libexiv2_2 is 0.16-0.pre1 (0.16-0.pre1.3mdv2008.1) > libkexiv2 is 0.1.6 (0.1.6-4mdv2008.1) > libkexiv21 is 0.1.5 (0.1.5-4mdv2008.0) > libkexiv23 is 0.1.6 (0.1.6-4mdv2008.1) Why do you have two libexiv2 and two libkexiv2 (maybe you could remove libexiv2 and libkexiv21)? > >Your problem reminds me of a bug which has been fixed recently... > > I think it wasn't same because on beta3 this my problem still exist. It seems > only way is to narrow down false pictures (what is very dificult, like catch > a bird from sky! ;-)) and try again with SVN version with debug option and > find something from there with better luck OR make copies from pictures, > remove all IPTC tags or other what can come from Digikam and keep original > Exif data and try again. > > > Biggest problem here is that i cant give right info for developers to help me > out :-) And I am running out of ideas ... Anyone else having an idea how to debug this issue? Arnd _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Paristo
Re: [Digikam-users] How to remove IPTC tags.
> > Yes, i compiled SVN version about 1 month ago and i was contact with KDE devs > > via IRC and it couldn't get solved. I should try it again with new SVN > > version. I just toke newest version from Mandriva Cooker. > > > > Current version of: > > Digikam is 0.9.3 Beta3 (0.9.3-0.beta3.2mdv2008.1) > > Exiv2 is 0.16-0.pre1 (0.16-0.pre1.3mdv2008.1) > > libexiv2 is 0.15 (0.15-2mdv2008.0) > > libexiv2_2 is 0.16-0.pre1 (0.16-0.pre1.3mdv2008.1) > > libkexiv2 is 0.1.6 (0.1.6-4mdv2008.1) > > libkexiv21 is 0.1.5 (0.1.5-4mdv2008.0) > > libkexiv23 is 0.1.6 (0.1.6-4mdv2008.1) > > Why do you have two libexiv2 and two libkexiv2 > (maybe you could remove libexiv2 and libkexiv21)? > I would agree this is the place to look. Why are there all these versions of libexiv2 here? Do you have both Mandriva packages and SVN version on your system? If so this could give you problems, unless you are very careful. First thing I would try is to remove everything (both packages and SVN) related to digikam and start fresh. To remove the digikam from SVN do something such as 'sudo make uninstall' in each of the digikam, exiv2, and other related libs directories. Also make sure they are not installed by your system package manager (not sure what this is called on Mandriva). Then optionally, check for successful removal by using 'locate' to find all instances of libexiv2/libkexiv2, etc (make sure to 'updatedb' first as root). Maybe even manually remove some files as necessary, but be careful and make sure you know what you are doing here - you could break other program dependencies I suppose. Once everything is all cleaned out, either re-install only the Mandriva stuff or SVN stuff. For SVN first re-install exiv2 0.15 final, then the libs from svn, then digikam from SVN. I had to do this sort of thing a couple months ago and it solved my problems. I hope this helps. Geoff _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Not showing thumbnails of my jpegs kept me busy too this weekend. In the end it boiled down to this: The compilation and local installation of my svn version did not register properly the kio-slaves that do the rendering of the thumbnails. * removing and * reinstalling the regular digikam through the (in my case: Ubuntu) package management brought back the normal behaviour for both the svn- and the normal digikam version. Succeeding compilations of the svn still result in both versions working without any problems. Best regards Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHTTDUxxUzQSse11ARAs6NAJ9FKsLW+7xPyGR3+gRb45s8+LE4HACfZT/K Z0F528ajMJAH5un8J01TwEk= =FTi1 -----END PGP SIGNATURE----- _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Paristo
I get help from here to use exiv2 -d command for remove iptc tags what
might be reason why digikam dont start on me and "crash" to "reading database" part while SVN --debug compile dont give reason because it works then but is slower. Help file gives for exiv2 option '-d ic' to remove IPTC tags and Exif comments. I have taken copies of all my pictures and i have few hundreds albums and i just noticed that exiv2 command dont support wildcards. Or actually it support but it dont understand difference between file and directory. I have all my pictures on /media/lacie1/pictures directory what is USB2.0 harddrive. on ../pictures/ i have these few hundreds subdirectories where every album just have pictures like: ../pictures/07-11-31 something informative what album have ../pictures/07-11-15 something other informative what album have ../pictures/06-05-14 information for album and so on... I dont have any subdirectories on every "album" like: ../pictures/06-05-14 information for album/RAW ../pictures/06-05-14 information for album/JPEG I want to remove IPTC and Exif comments from copy files (on other drive now) But when i try exiv2 -d ic /media/lacie1/pictures/*/*.jpg it gives error that too big listing. exiv2 -d ic /media/lacie1/pictures/* gives error what gives list of directories and error that those couldn't be opened for edit. Is there way to have exiv2 command go trought all albums without needed to do it by hand. I have just renamed all albums again and it took few days and i would not like to do this again in konsole to order same command to every directory and fight with spaces what is on their names. _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Hi,
On Tue, 4 Dec 2007, Paristo wrote: > I get help from here to use exiv2 -d command for remove iptc tags what > might be reason why digikam dont start on me and "crash" to "reading > database" part while SVN --debug compile dont give reason because it > works then but is slower. > > Help file gives for exiv2 option '-d ic' to remove IPTC tags and Exif comments. > > I have taken copies of all my pictures and i have few hundreds albums > and i just noticed that exiv2 command dont support wildcards. Or > actually it support but it dont understand difference between file and > directory. > > I have all my pictures on /media/lacie1/pictures directory what is > USB2.0 harddrive. > on ../pictures/ i have these few hundreds subdirectories where every > album just have pictures like: > > ../pictures/07-11-31 something informative what album have > ../pictures/07-11-15 something other informative what album have > ../pictures/06-05-14 information for album > and so on... > I dont have any subdirectories on every "album" like: > ../pictures/06-05-14 information for album/RAW > ../pictures/06-05-14 information for album/JPEG > > I want to remove IPTC and Exif comments from copy files (on other drive now) > But when i try exiv2 -d ic /media/lacie1/pictures/*/*.jpg it gives > error that too big listing. > exiv2 -d ic /media/lacie1/pictures/* gives error what gives list of > directories and error that those couldn't be opened for edit. > > Is there way to have exiv2 command go trought all albums without > needed to do it by hand. I have just renamed all albums again and it > took few days and i would not like to do this again in konsole to > order same command to every directory and fight with spaces what is on > their names. All this sounds as if you are trying to do that on your "real" images? Hopefully you have a backup, because if you do anything wrong here, you could destroy all your images! (in particular, you are going to wipe all the exif information, including date, shutter speed, aperture etc. etc.!) Because of this, I would recommend to test this out with a limited set of images and try to isolate the problem so that there is a chance to find out the real source of the problem. Best, Arnd P.S.: I know that I did not answer your question, this was on purpose ;-). You could use find, together with exec, see eg. http://www.linuxforums.org/forum/linux-newbie/105360-recursive-bash-rename-script.html For more complicated loops: http://tldp.org/LDP/abs/html/loops1.html (Warning repeated: if you do something wrong here, you might ruin your images ...) _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Paristo
On Tuesday 04 December 2007, Paristo wrote:
> I get help from here to use exiv2 -d command for remove iptc tags what > might be reason why digikam dont start on me and "crash" to "reading > database" part while SVN --debug compile dont give reason because it > works then but is slower. > ... If you just want to remove all "non-pixel-info" from your files you could use imagemagick with the -strip option in combination with the find utility, like for example: cd orig-dir find . -name "*.jpg" |xargs -i basename "{}" jpg|xargs -i convert -quality 88 -interlace line -strip -verbose {}jpg ../stripped-dir/{}jpg (^ the latter two lines should be all in one line) This is how I do it. With this command a copy of all jpg-files in "orig-dir" will be written to "stripped-dir" very fast (here with quality 88 and interlaced). More info can be found here: http://www.imagemagick.org/Usage/ As Arnd wrote it is always a good idea to have a backup of the original files before trying anything new... regards Daniel -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com erotic art photos: http://www.bauer-nudes.com/en/linux.html Madagascar special: http://www.fotograf-basel.ch/madagascar/ _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Paristo
Hi Paristo,
My guess is you might be better off spending your time, removing and re-installing exiv2 (0.16-pre), libs, and digikam from SVN. You already said the SVN version works fine, but runs slow because of "--debug complile". You should then reinstall everything without the debug options. With that said, I have written a basic python program that can do system operations (like run exiv2 -M...) on files (it's really a glorified shell script). It sounds like it would work in your case. Also you need to know a little bit about python programming to make it work right and it can be very dangerous to your filesystem if you mess up (ie. backup and know what you are doing). Let me know if you want it. Again, based on your post, I think you are better off removing all digikam and related stuff, then re-installing the SVN. Good Luck, Geoff _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Hi Geoff,
On Tue, 4 Dec 2007, Geoff King wrote: > Hi Paristo, > My guess is you might be better off spending your time, removing and > re-installing exiv2 (0.16-pre), libs, and digikam from SVN. You > already said the SVN version works fine, but runs slow because of > "--debug complile". You should then reinstall everything without the > debug options. > > With that said, I have written a basic python program that can do > system operations (like run exiv2 -M...) on files (it's really a > glorified shell script). It sounds like it would work in your case. > Also you need to know a little bit about python programming to make it > work right and it can be very dangerous to your filesystem if you mess > up (ie. backup and know what you are doing). Let me know if you want > it. I think it would be nice if such scripts are collected, as they can be really useful and save a lot of time re-inventing the wheel. Maybe the simplest is to put them in the wiki, http://wiki.kde.org/tiki-index.php?page=digikam There is already a space holder: "Tips, tricks and useful scripts" just the contents is missing ... ;-) Best, Arnd _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Am Tuesday 04 December 2007 schrieb Arnd Baecker:
> Hi Geoff, > > On Tue, 4 Dec 2007, Geoff King wrote: > > Hi Paristo, > > My guess is you might be better off spending your time, removing and > > re-installing exiv2 (0.16-pre), libs, and digikam from SVN. You > > already said the SVN version works fine, but runs slow because of > > "--debug complile". You should then reinstall everything without the > > debug options. > > > > With that said, I have written a basic python program that can do > > system operations (like run exiv2 -M...) on files (it's really a > > glorified shell script). It sounds like it would work in your case. > > Also you need to know a little bit about python programming to make it > > work right and it can be very dangerous to your filesystem if you mess > > up (ie. backup and know what you are doing). Let me know if you want > > it. > > I think it would be nice if such scripts are collected, > as they can be really useful and save a lot of time re-inventing the > wheel. > > Maybe the simplest is to put them in the wiki, > http://wiki.kde.org/tiki-index.php?page=digikam > There is already a space holder: > "Tips, tricks and useful scripts" > just the contents is missing ... ;-) > > Best, Arnd the digikam wiki registration still doesn't work, nobody can post anything. Do you know who is in charge of the site? Gerhard -- ><((((º> ¸.·´¯`·... ><((((º> ¸.·´¯`·...¸ ><((((º> http://www.gerhard.fr _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users signature.asc (196 bytes) Download Attachment |
On Tue, 4 Dec 2007, Gerhard Kulzer wrote:
[...] > > Maybe the simplest is to put them in the wiki, > > http://wiki.kde.org/tiki-index.php?page=digikam > > There is already a space holder: > > "Tips, tricks and useful scripts" > > just the contents is missing ... ;-) > > > > Best, Arnd > > Arnd, > the digikam wiki registration still doesn't work, nobody can post anything. Do > you know who is in charge of the site? Sorry, I have no idea. In the past it just worked... Anyone else having any idea? Arnd _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On Tue, 4 Dec 2007, Arnd Baecker wrote: > On Tue, 4 Dec 2007, Gerhard Kulzer wrote: > [...] > > > Maybe the simplest is to put them in the wiki, > > > http://wiki.kde.org/tiki-index.php?page=digikam > > > There is already a space holder: > > > "Tips, tricks and useful scripts" > > > just the contents is missing ... ;-) > > > > > > Best, Arnd > > > > Arnd, > > the digikam wiki registration still doesn't work, nobody can post anything. Do > > you know who is in charge of the site? > > Sorry, I have no idea. In the past it just worked... > Anyone else having any idea? Hmm, I just tried, without registration, and it seems I could add stuff (with the usual Anti-Bot verification code ...) Best, Arnd _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Paristo
Arnd,
I think your script works very well. Mine is similar, but does do a few things differently, which someone might find useful. Maybe I'll post it here this weekend as another example. Geoff _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Paristo
Arnd and others,
Here's my version of the python script to scan sub-folders and make changes to jpg and tif files that are found. It is similar to Arnd's script from a couple days ago. The main functional difference is that I've included a bunch of example commands that can be uncommented. Arnd, I hope you don't mind, but I copied some of the things I liked from yours into this one, like the "raw_input" for a pause and directory labels - those really make it more user friendly. I hope someone finds this useful, Geoff King ps. Please backup your data and understand the script before running. _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users change_files.py (6K) Download Attachment |
On Sat, 8 Dec 2007, Geoff King wrote:
> Arnd and others, > > Here's my version of the python script to scan sub-folders and make > changes to jpg and tif files that are found. It is similar to Arnd's > script from a couple days ago. The main functional difference is that > I've included a bunch of example commands that can be uncommented. Very nice. (Just in case: multiple -M options can be combined on the same line; this should be a bit faster when one wants apply several actions). > Arnd, I hope you don't mind, but I copied some of the things I liked > from yours into this one, like the "raw_input" for a pause and > directory labels - those really make it more user friendly. Don't mind at all, that's how it should be! > I hope someone finds this useful, > Geoff King > > ps. Please backup your data and understand the script before running. ;-) Best, Arnd _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |