Git Product home page Git Product logo

vimage's Introduction

vimage

torrunt.net/vimage

A simplistic image viewer for Windows, inspired by vjpeg.

Created by

Corey Zeke Womack (Torrunt) - [email protected] - torrunt.net

Features

  • No ugly interface, just the image
  • Move it around, resize it, rotate it, flip it and step through images in a folder
  • Supports .bmp, .cut, .dds, .doom, .exr, .hdr, .gif, .ico, .jp2, .jpg,.lbm, .mdl, .mng, .pal, .pbm, .pcd, .pcx, .pgm, .pic, .png, .ppm, .psd, .psp, .raw, .sgi, .tga and .tif files (Image loading done via DevIL) + .svg and .webp
  • Supports Transparency
  • Supports Animated .gifs (pauseable and the frames can be stepped through)
  • Toggleable Always on Top Mode
  • View Cropping
  • Settings, Keyboard/Mouse Bindings and Context Menu are completely configurable

Basic Controls

  • Left-Click to Drag
  • Right-Click to Close
  • Scroll Wheel to Zoom - Hold SHIFT to zoom faster
  • Middle-Click to go between actual size and monitor height
  • Left/Right Arrows (or Page Up/Down) to go through images in a folder
  • Up/Down Arrows to Rotate
  • F to Flip Horizontally
  • S to Toggle Smoothing (SHIFT+S to Toggle Mipmapping)
  • L to Toggle Always On Top mode
  • X (hold) + Move Mouse to crop the view of the image
  • Y (hold) + Scroll Wheel to adjust transparency of the image
  • R to Reset Image
  • Space to pause Animated GIFs
  • ,/. to step through Animated GIF frames

vimage's People

Contributors

arxae avatar torrunt avatar whisperity avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vimage's Issues

Center images when navigating folder

When going to the next or previous image, place the new image in the center of where the last one was (instead of keeping the window at the same position).

This is sort-of implemented but it doesn't work well with tall images that induce temporary force screen height. Needs some more tweaking.

file association

I'd be nice to have a installer where the user could set all common file association to vimage

Suppress taskbar icon (silent mode)

Hi there,

wow, that's an amazing app - I'm as grateful as impressed especially speaking of the possibility to show animated GIFs with a transparent background and the fact it runs highdpiaware by default. Almost no software for windows is capable of doing these. :)

But there is one thing left I'd like you to ask for - I plan to use your software like a splash viewer. My image should be displayed but there shouldn't be any instance of vimage visible in the taskbar. With other words - the user shouldn't be able to interact with the program.

-> Please, can you add an parameter to make vimage runs without taskbar icon, e.g. like -silent or something like that?

Unable to load DLL 'DevIL.dll' error

I had to do a fresh windows 10 install, now i get an error when trying to use vimage.
Unable to load DLL 'DevIL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)``
I have same windows 10 installed as before, same programs, same everything.

any suggestions please?

EDIT
issue resolved itself after i installed photoshop

WebP support

It would be nice to see animated WebP support added in to this program.

Shuffling through images?

Hi! Been using vimage for a little while and I'm loving it so far.

I was wondering if a "shuffle" option could be added under the Sort option? So instead of having images increment on left or right, they would change in a shuffled order

Thanks.

DevIL.dll DLL Not Found Exception

Unfortunately vimage.exe can't display an image in my windows 11. The process runs in background but no image and no taskbar icon shows up executed with user isn't an administrator. Process can only be killed through task manager. I downloaded your software again and tried it also but with same result. When executing from account with is in group of administrators, then instead DLL-errors appear.
Build-In Framework (the native one) is according to registry 4.8 - so it should fit the prerequisite.
Compatibility settings doesn't change anything either.
([I hate Microsofts work for its huge execution limitations and bad menus recently!])

Do you have an idea how to fix it?

Limit Zooming

Stop indefinite zooming, ie: make it idiot proof. If you zoom too much the program will freeze up.

vimage and vimage_settings icons

I think vimage should have it's own original icon, at the moment it's just been using the Windows Photo Viewer icon.

vimage_settings.exe should also probably have it's own icon (same icon just with a wrench in the corner?).

Crop feature

I would like to be able to drag the edges of the window to crop the image. I use vimage to set up screenshots with image overlays sometimes and this would be very helpful for that. You could also add a context menu item to apply the cropping to the image.

Automatically scale smaller images

Automatically scale smaller images (based on a tolerance setting) to a predetermined size or scale (also a setting).
Also disable smoothing for images automatically scaled. (this could be a setting if required)

This would be good for icons or smaller images that are best viewed at a larger scale with smoothing off.

Reset Button

Add a button (default R?) to reset the current image to it's original size as well as un-rotate it and un-flip it.

Context Menu (Right-Click Menu)

Add a Context Menu which can be turned off by simply unbinding it in the options.txt file.

I've already started work on it, should be done soon.

Slideshow Mode

Someone emailed me this suggestion. Might add it myself sometime, if I have the time.

  • Function/Button that starts Slideshow mode - goes to the next/random image after a set duration (two separate functions for next/random?)
  • Setting for slideshow show duration
  • Fade effect option?
  • Fullscreen mode (center image with background expanded to fill the screen)

Zooming causes off-screen image parts to be displayed wrongly until zoomed again while on-screen

Sometimes I have a big image and zoom in on something specific, but then also want to pan around to other parts of it. However, zooming seems to displace parts of the image that are currently not visible on the screen, I then have to zoom again once they are visible to fix that, which can be a bit annoying.

Example:

  1. just opened
    firefox_KdqsQsWi2Z

  2. pulled offscreen and zoomed out
    firefox_NpxqF6sD4b

  3. pulled back on-screen
    firefox_Qs9G67sJbU

  4. fixed after zooming again
    firefox_RN9qmiunSl

Image Cropping

Hold a button (C by default?) and dashes will appear at the top/bottom/left/right and in the corners of the image. Drag the dashes to crop the image.

Note: this won't actually edit the image, just crop the view of it.

Custom actions with hotkey and context menu

Would be pretty cool if you could create custom actions to use commands on the image.

Example:
You could make a context menu entry to upload the image using whatever program you want, and/or assign a hotkey for it.
e.g.

CustomEntries = {
    Upload : "sharex.exe %f"
}

ContextMenu = {
        ...
    Upload : CustomEntries.Upload
}

Pseudocode, but you should get the gist.

This would make Vimage much more robust since you could add any action for images, right from vimage.

Can't open vimage.

As I reset my PC, trying to open vimage leads me to encounter this error message:
Не удается загрузить DLL "DevIL.dll": Не найден указанный модуль. (Исключение из HRESULT: 0x8007007E)

Open image centered, fit to width, and zoom default speed options

Since these are all related to settings, I lumped them together.

Open Image Centered

       Always open image centered on current monitor.
       If this is supposed to be the default behavior when OpenAtMousePosition and PositionLargeWideImagesInCorner are both 0, then it's not working correctly for me (vimage 6)

Fit to Width

       Fit large image to width instead of height if LimitImagesToMonitorHeight is 0.

Default zoom speed

       Option to set default speed that the non-modified zoom uses.

CTRL-C to copy current image file to clipboard

Someone suggested this to me a while ago. Other image viewers have this ability and it would be nice to have.

First I would have to add support for key combos in the config/vimage_settings.exe (probably just CTRL, SHIFT and ALT ones). After that making a function to simply add the current file to the clipboard would be trivial.

Adjustable Transparency

It'd be really nice if there were hotkeys for adjusting transparency of an image. I wanted to overlay a bunch of schedules to check for openings, and it sounds like the kind of thing vimage would be able to do.

Animated GIFs only plays when moving the image

I just installed this program and I absolutely love it for its simplicity. But I have a problem when viewing animated GIFs, they just won't play unless I move the image around. I'm not sure if this is an option on the settings, but I'd be glad if there was a way to "fix" this.
gif-issue

Also, sometimes using ESC to close the image doesn't work unless I alt + tab and try it again, and paginating through images on a big folder freezes the program, but I suppose this is a different issue.

Larger image support

Depending on your GPU you have a different maximum texture size. This limits vimage since it loads a single image into a single texture. So if the image you a trying to load is larger in dimensions than what your GPU can support vimage can't display it.

I made a new branch (large-images) with my attempt at implementing a fix for this.
d8322eb

If an image is larger than the max texture size, it is split up into multiple textures when loaded in. It sort of works but there is a weird problem if I set the size of the sections to be exactly the max texture size (the first section is pure white).

I'll need to look into it a bit more later.

Settings App (GUI)

Make a separate application for settings using something like GWEN for the GUI. Make it a little more user friendly than editing a text file. It should be separate so the vimage is left as light-weight as possible.

(Note: should also replace the button that opens the config.txt file with a button that opens the vimage_settings.exe)

Image background

Hi there :)

Thanks for your project, really nice, I wanted to drop Picasa Photo Viewer to use an open source project like yours, but I miss the shadow background behind opened image :

picasa-viewer-demo-optimized

What do you think, is this could be a new feature of vimage ?

Transparent images have black background

Thank you for maintaining vimage!
Some time in the last few months transparent images stopped appearing transparent. I've tried reverting to previous versions of vimage, but they all have this problem.

image

Video Support

Finishing adding Video Support via Windows Media Player

  • Window management for videos needs a lot of tweaking and fixing (It's pretty glitchy at the moment).
  • Sometimes when opening videos and especially when navigating to one using the Next/Prev functions the videos fail to load.

Initial commit adding support for videos:
4cc9043

Proposal for an optional "ugly interface" mode

I have always been a fan of having a minimal amount of GUI around my image viewer. Disabling it completely doesn't always suit the type of work I'm doing, like sorting images versus relaxing. It really depends. I wouldn't want to bore you with all the reasons, but trust me I genuinely could. One that inspired me to open this issue is the convenience of confirming a file name in just one glance. I believe currently right click > "Open file location" is about it for ways of doing this. So of course you don't have to enable this by default, but how about a mode that looks just like this?

why not

I could even picture a third option which adds Windows' default shading underneath the completely borderless images, but I'm entirely unsure if Windows would even allow it. It would provide some relief to conundrums like viewing a white borderless image on a white background, etc.

didn't work in win10?

Hi, I can't launch vimage.exe in win10, get nothing change, no window display, no error message. Is it didn't support win10?

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.