GithubHelp home page GithubHelp logo

Camera integration about vimiv-qt HOT 6 CLOSED

karlch avatar karlch commented on July 17, 2024
Camera integration

from vimiv-qt.

Comments (6)

jcjgraf avatar jcjgraf commented on July 17, 2024

I have created Importer. It lets you easily import images from a SD card, camera or any directory into your photo storage. The importer obeys your desired storage directory structure and image naming scheme.

I would not call in camera integration (this sounds rather like tethering or something) but it does pretty much what you have described.

I have textet you @karlch concerning this plugin some months ago but it has somehow passed into oblivion. You had some points which I want to quickly address here:

How do you open the pictures considered for in vimiv in the first place? If I mount my SD card, the images are all over the place in various subfolders, so this would involve something fancy like :open **/*.jpg or so.

  • I do not really have this problem, but I do get your point. But I my view this functionality is also useful in situations not related to importing. Lets say you were on a one week trip and the images are put in folders by days and you want to give someone an impression of this trip. Obviously, you can open them day by day, but in order to get a complete overview I really like to have them open all at once. All in all, in my opinion this functionality should get added to vimiv itself (or a seperate plugin).

Would an option to add an identifier string be interesting? I tend to structure my images in the form Y/m-Identifier where Identifier could be something like SummerHoliday.

  • Makes sense, I have added this.

P.S. Happy new year! 🥳

from vimiv-qt.

karlch avatar karlch commented on July 17, 2024

This is awesome, thanks a lot for sharing this! I have added it to the user plugins section of the documentation along with BatchMark.

In principle the syntax I mentioned works just fine, i.e. :open **/*.jpg does what one would expect, I was not sure this is what you do as I find it a bit messy 😊

Minor note so we don't forget: the exif part will have to be changed once we merge the new code.

A happy new year to you too! 🎉

from vimiv-qt.

jcjgraf avatar jcjgraf commented on July 17, 2024

Oh, in this case I have misunderstood you. And good to know that this glob expansion works for vimiv 😊

Would you find it useful to have an option like :importer --all-subdir which imports all images found in subdirectories of the CWD? Personally, I do not have a use case for such an option (at least not as long as there is not option do detect already imported images), because I do not erase my SD cards after importing images. I leave all images on the card till I run out of space. Only then I format it 😃

But if this is something which you would find useful I am very keen on adding such an option.

from vimiv-qt.

karlch avatar karlch commented on July 17, 2024

I don't think the option you propose is worth the additional effort, it is equivalent to something along :mark **/* and then just calling :importer which doesn't seem too difficult for something one would rarely do.

The option to detect already imported images would be amazing of course. I also rarely delete images from the SD cards, but sounds like it would need quite some thinking and work 😄

from vimiv-qt.

jcjgraf avatar jcjgraf commented on July 17, 2024

A rudimentary (but very fast) implementation for a duplicate detection could do a metadata comparison (e.g. file size) upon a naming conflict (when importer tries to copy an image to a destination which does already exist). Obviously, this does only work when one does strictly stick to the chosen naming scheme as well as one does not editing the original image files. This would probably work for my use case but there may be a more sophisticated solution 😄

from vimiv-qt.

karlch avatar karlch commented on July 17, 2024

Closing - Importer is a nice working plugin that possibly be extended, but I don't see this ending up in mainline vimiv. Wonderful showcase of what plugins are capable of though 😊

from vimiv-qt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.