Replies: 6 comments 3 replies
-
|
Fast image viewers are a relatively common thing in the community, actually. @nakst has one called imgview; @d7samurai has one but I don't think he's publicly released it. Depending on how nakst feels, contributions to imgview might be very welcome! I'd be curious to know what he thinks. (By the way, being able to set up a simple slideshow from a folder would be very welcome. I had to do a photo slideshow recently, and it's actually impossible all the stock Windows stuff these days, as far as I can tell. The Windows photo viewer just crashed when we tried to do it. We had to use PowerPoint, import all the photos, and manually set up a timer on the slides...it was terrible.) |
Beta Was this translation helpful? Give feedback.
-
|
Actually, speed was not a goal for imgview (in fact, it uses GDI+ and is pretty slow with large images). The goal was to create something lightweight (it's 12 KB IIRC) but with a full set of user interactions that behave nicely (stuff like automatically fitting the image when shrinking the window, but not when you're zoomed in; browsing images in the same order as they appear in Explorer; etc.). |
Beta Was this translation helpful? Give feedback.
-
|
To me it seems main topic of request is to have fast RAW image viewer. Not just image viewer. Writing "fast" image viewer is not a big deal, because there's not much happening in image viewer - just blit to screen with simple transformations (and whatever UI you want on top of it). The problem is RAW images, not sure if their format are documented or all reverse engineered, afaik there are multiple variants out there, and it requires special processing on pixel level of loaded data before actually you're able to draw them. Pretty much most existing viewers just use libraw or similar library, that's why they are equally slow. So really, this is ask about writing fast RAW image loading code, not image viewer :) |
Beta Was this translation helpful? Give feedback.
-
|
I've pretty much written one of these already and it does the debayering, (post)processing, etc a few 1000 fps without much trouble. The real issue as others have stated in here is not the viewer but the decoding. Each manufacturer does its own RAW nonsense. The vast majority of RAW files are just TIFF but the encoding is very weird and undocumented. Libraries such as libRaw are not brilliant but better than if you were trying to do it from scratch. To make a RAW reader from scratch, it is definitely not possible to do it within a year, let alone a week-long jam. |
Beta Was this translation helpful? Give feedback.
-
|
My brother is a photographer and has had the exact same experience! That's why I'm trying my hand at making a dng viewer to navigate through images quickly and sort them (right now just trying to get JPG images from the DNG files and displaying those, then down the line try to process raw). I'm using C/C++ with ImGui and OpenGL. It's true that decoding and displaying raw images isn't simple, but hopefully I can get it to work with enough time. |
Beta Was this translation helpful? Give feedback.
-
|
I created rTexViewer, it has RAW support but limited. In any case, it can be used as a reference. The RAW loader menu is included as one of the raygui examples. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tend to take pictures in RAW format and it's always a pain whenever I just want to browse through them to take a look.
Pretty much every image viewer I've found for Windows has a noticeable lag of a few seconds to load one of those images, and even if the support going back on forth images in a folder they don't seem to cache recently seen photos. Every time you try to go back and forth you're hit by that lag.
What's even weirder is that you can't even get a simple thumbnail for the picture, even though these formats generally support a small version of the image compressed in something like JPG.
The situation is not much better on macOS. Quicklook takes several seconds as well to show you the image. The only reason you don't notice it with Preview is because it's slow to boot by default.
What I'd like:
Beta Was this translation helpful? Give feedback.
All reactions