• Release with EXIF Support

    By Mathias Pohl 2 decades ago

    Hi Christian,



    i've just finished the EXIF Integration based on the Release 1.0.7.

    The code is checking the picture for a valid header and will add 2 fields to the import document:

    1) ExifTags (tags found in the picture, can be any kind of tag, multi value field)

    2) ExifValues (the corresponding values to the tags found in this picture)



    The code is using the LS2J interface, so it may not work with releases earlier than 6.5.



    To enable this, unpack the jar to the Notes Data Directory and add the following line to your Notes.ini:

    JavaUserClasses=metadata-extractor-2.2.2.jar



    Because is guess that you like to add some of your own features based on this in a "1.0.8" release or so and i'm not sure how to add a new release on this site, the download is here:



    http://www.mathiaspohl.de/dx/Open-Notes-Picture-Database-with-Exif



    kind regards, Mathias




    • Bug?

      By Pascal Koller 2 decades ago

      Thank you very much for this contribution. This is a great addition.



      Not sure whether I am just missing something, but it appears to me that only about every second "tag" from the ExifHeader is actually stored in the ExifTags fields of the Notes document.



      I had a look at the sample pictures that you stored in the database, which is available from your website; and I have then also imported another picture from myself with the same result.



      E.g. in the pictures you stored as examples: the "Y Resolution" is stored, but not the "X Resolution"; also "Make" is stored but not "Model", etc.



      I haven't been able to find the error immediately, but I think it has to do with the reading of the actual Exif information.



      Thanks

      Pascal

      • Checking into this

        By Mathias Pohl 2 decades ago

        Hi Pascal,



        thanks for your feedback.

        I will check this, stay tuned.



        best regards, Mathias

        http://www.mathiaspohl.de

      • found the issue

        By Mathias Pohl 2 decades ago

        Hi,



        meanwhile, i've found the issue.

        I will post an update due the next days.



        Thanks again got the hint.



        regards, Mathias

        http://www.mathiaspohl.de

        • Thanks Mathias

          By Christian Brandlehner 2 decades ago

          Hi Mathias,

          I would like to thank you for contribution to this project. I really appreciate that.

          As Declan Lynch is adding new features to BlogSphere faster than I can add them to the Open Notes Picture Database I am still working on the next release.



          Do you think there is a way to add the java code as resource to the database so the users would not have to detach the jar file to the data directory?



          Christian

          • Java TAR File

            By Mathias Pohl 2 decades ago

            Hi Christian,



            it's already on my list. Unfortunately, the jar is not running inside a Notes app (i've tested this) or agent (it should, but it doesnt…).



            For this, i'm already preparing a kind of "automatic" detection and installation of components, like local files (in this case, a JAR file), registry (not needed for this) or Notes.ini entries (like the JavaUserClasses entry).



            I may add this to a later release, depending on the ressources that i can spend (…doing my best…).



            kind regards,



            Mathias

            http://www.mathiaspohl.de

      • Fixed !

        By Mathias Pohl 2 decades ago

        Hi Pascal,



        thanks again for your investigation, meanwhile, i've updated the code.



        Check



        http://www.mathiaspohl.de/dx/Open-Notes-Picture-Database-with-Exif



        to download the most current release.



        kind regards,



        Mathias

        http://www.mathiaspohl.de

        • Thanks!

          By Pascal Koller 2 decades ago

          It's me who's got to thank. Seems like you put in some "night time work" on this. Thanks a lot for the prompt attention. Works great now!



          Regards,

          Pascal