hvdwolf / jExifToolGUI

jExifToolGUI is a multi-platform java/Swing graphical frontend for the excellent command-line ExifTool application by Phil Harvey
https://hvdwolf.github.io/jExifToolGUI/
GNU General Public License v3.0
453 stars 37 forks source link

[announcement] csv2exif repository is online #248

Open mrtngrsbch opened 2 years ago

mrtngrsbch commented 2 years ago

Hi,

I am pleased to announce that I have published the script 'csv2exif' [https://github.com/MuseosAbiertos/csv2exif]. 'csv2exif' records metadata on images (ex. jpg) from a normalized CSV using VRAE, ISADG & Dublin Core standards.

feedback welcome

hvdwolf commented 2 years ago

Very nice. When running the csv-demo on the images-demo folder, I get quite some errors like [!] Row "126": File not found in this path: "AR-MA-Bruzzone-Bianchic-Zaffaroni-Nailture-3-1284-00.jpg". The image is indeed not found, but the script nicely continues. For the rest it seems to work fine, but I am not an VRAE, ISADG & Dublin Core expert.

mrtngrsbch commented 2 years ago

You will indeed see a lot of errors, which is normal because not all images are available for you to see the errors.

The log is very detailed and also records a 'success_log' and 'error_log'. Thanks for testing it. As you can see, you can adapt it too many standards; in the 'maps.json' file you can configure the data mapping.

This tool is very useful when you deal with a lot of files. In the case of demo there are 2000, but locally I have up to 14.000 !

hvdwolf commented 2 years ago

Are you planning a UI "in front" of it?

mrtngrsbch commented 2 years ago

Sincerely, the tool has such a simple interface that I hadn't thought about it, besides my budget was devastated with the UST crash. I am also making other tools, such as [https://github.com/MuseosAbiertos/docx2csv].

Can you think of anything ?

hvdwolf commented 2 years ago

Your budget? Did you write it or some python programmer?

PySimpleGUI is an easy to make UI but misses some high-end features, which is not necessary currently for your app. I discovered it 2-3 months ago. It is what I used for my latest PyImageFuser. After I finished my 1 year work project, I was not motivated yet to continue with jExifToolGUI, but I wanted to do "something different", so I decided to go back in time and rewrite my old ImageFuser in python with PySimpleGui. If PySimpleGUI had existed by the time I gave up on PyExifToolGUI as PySide was almost dead, then jExifToolGUI would not have existed but I would have rewritten PyExifToolGUI in python/pysimplegui. Next to that: also PySide has come to life again and is also supported by PySimpleGUI.

hvdwolf commented 2 years ago

With PySimpleGUI you could create something like this. I created this in 10 minutes, but I did not create the actions yet and I did not add the output window yet to show the progress. Screenshot 2022-06-12 10 43 30

hvdwolf commented 2 years ago

This is now the most simple version possible. No error checking yet (only if csv or jpg folder is missing). No file mask yet (only .csv). Optional arguments to defaults. To be started with python3 gcsv2exif.py (gcsv2exif.py for gui version of csv2exif.py) Can be made to an executable version for MacOS, Linux and Windows (But I did absolutely nothing in that direction)

https://user-images.githubusercontent.com/4520361/173234848-b8f03c86-f8f5-4a00-bffe-d6560709ffc3.mp4

It still misses the very first and last texts written to console, but than can be corrected as well. And the full console output and logs are still there.

mrtngrsbch commented 2 years ago

Yes, a python programmer, for three reasons; I'm not good at programming yet, I'm still learning python, I have several simultaneous projects, like you.

So my main task is, at the moment, to create the program and requirements, to document well and to be a good owner. All this is to create a stack of tools for collection management and my proposal for a "lightweight" Digital Asset Management to be visualized in Notion. ex.: [https://martingggg.notion.site/cba074312276413cae988fda23e2580c?v=7d4341458cfb4aa39f0e38b57e8948e5]

OMG, PyImageFuser is very interesting ! I will try it later with my images. I have a Fujifilm x100s, but I use a lot my OnePlus which takes RAW photos and has HDR. https://martin.gersbach.net/

True, when you changed Python to Java I wondered why you did it. That was a lot of effort. I've been looking into Python GUIs and PySimpleGUI is my favorite. Indeed I have to dedicate more time to my studies.

Heh... you have already created in a few minutes a GUI of csv2exif ! That sounds incredible. Do you plan to make your own repository or do you want to make a merge with csv2exif?

I am always very grateful for your help with these topics.

hvdwolf commented 2 years ago

Heh... you have already created in a few minutes a GUI of csv2exif ! That sounds incredible. Do you plan to make your own repository or do you want to make a merge with csv2exif?

I am always very grateful for your help with these topics.

I already forked your repo and will do some further additions and make it a pull request to your repository. The gui was created in 10-15 minutes. I kept the gui code separate from the programming code (apart from the progress window updates of course). Then making it work with the original scripts took about 1½ hours. Your python programmer is a really an Object Oriented programmer. Being old it takes some time for me to adapt ;)

mrtngrsbch commented 2 years ago

cool... "If you think you are smarter than previous generations, remember that 50 years ago the car owner's manual indicated how to regulate the valves, today it warns you not to ingest the battery fluid."

hvdwolf commented 2 years ago

I just created a pull request. I also updated the README and corrected it for official "2 space" line endings as markdown wants it.

EDIT: I made another change by removing all those (hidden) macos .DS_Store files. It is complete rubbish on every non-macos system and is not necessary either for MacOS. It is only cached directory listing/metadata.

mrtngrsbch commented 2 years ago

1st issue ;-) https://github.com/MuseosAbiertos/csv2exif/issues/2

mrtngrsbch commented 2 years ago

Just happy ;-)

ScreenShot 2022-06-12 a las 13 22 39

hvdwolf commented 2 years ago

1st issue ;-) MuseosAbiertos/csv2exif#2

  • pip3 install PySimpleGUI

That's why I updated the README with the section "requirements"