Giter VIP home page Giter VIP logo

Comments (6)

Tom94 avatar Tom94 commented on June 5, 2024

Hi there,

unless I misunderstand something, 1. should be easy to do. Via the command line, add tev to your PATH, then do tev path/to/folder/*. If you prefer using a file browser (e.g. explorer on Windows), make tev your default application for opening the type of image file you are using, then select all images in the given folder via Ctrl+A, and then press Enter. (Cmd+A; Cmd+Down on macOS.)

Your second use case is unfortunately not supported by tev. tev can only display a single image at a time.

Cheers!

from tev.

 avatar commented on June 5, 2024

Hi Tom!
Thanks for the prompt reply :)
I meant amending the code and the nanoGUI components directly and not via the command line (though its is nice that it is possible).

Something like this QT example:

687474703a2f2f7777772e7669616d65746f6f6c6b69742e6f72672f77702d636f6e74656e742f75706c6f6164732f323031372f30332f696d6167655f706c617965722e706e67

from tev.

Tom94 avatar Tom94 commented on June 5, 2024

Oh, I see! I think the easiest route would be to create 2 ImageCanvas widgets side-by-side (instead of having a single one like right now) and have ImageViewer set the image and display settings of both accordingly.

A slightly more direct (and hacky) approach would be to bake the normalized image and the original image into a larger image (with twice the width) within the respective image loading routines in Image.cpp.

Hope this helps! :)

from tev.

 avatar commented on June 5, 2024

Yes, it does. Thanks.
Any idea why loading a single JPG would take so long on a very strong computer?

2018-06-22 16_13_52-c__windows_system32_cmd exe - tev exe

Also, more than 3/4 of my images fail to load with this error:
2018-06-22 16_13_04-c__windows_system32_cmd exe - tev exe

Do I need to covert some of them to another format?
Many thanks!

from tev.

 avatar commented on June 5, 2024

Also, if I select 50 images (CTRL A), and the selct an Image it allways ends like this:
image

from tev.

Tom94 avatar Tom94 commented on June 5, 2024

Unfortunately I do not know why loading takes long on your end. Since LDR images (including jpegs) are not the primary focus of tev the loading routine is delegated to a not necessarily fast third-party implementation (this one). This is likely also the source of incompatibility with some of your images and sadly not something that I can easily fix at my end. Basically, the most practical option I see would be to add an additional image-loading backend in Image.cpp, which makes use of a specialized jpeg loader.

Regarding your crash: Are you perhaps running out of memory? tev is loading every single image into RAM in uncompressed form, so if your images are large it can quickly become too much.

from tev.

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.