Giter VIP home page Giter VIP logo

stb-imv's People

Contributors

aras-p avatar nothings 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stb-imv's Issues

Include releases on Github

I would like to use imv but cannot build it on my new machine. I have installed Visual Studio 2019 but auto-upgrading your VC5 and VC6 projects produces a long chain of errors. Instead of reciting them all here and trying to fix it all, I tried finding VC6 but Microsoft does not offer it for download anymore.

My next best solution would be to download imv.exe directly but your Github does not include any releases. However I found them on your original Google Code page. Maybe you could add them on Github as well.

Better transparency with UpdateLayeredWindow

First off: is there anyway for me to set the issue attributes (type,
status, etc)?

Transparent PNGs show up with a magenta background. If you use
CreateWindowEx, you can create a layered window that supports per-pixel
transparency, drawn with a DIBSection and UpdateLayeredWindow:

http://msdn2.microsoft.com/en-us/library/ms633556.aspx

Normally, uses UpdateLayeredWindow requires some changes to the window loop
because of the funny way it deals (or doesn't) with WM_PAINT, but the code
looks like it already does that. Also, since the resampler already
generates 32-bit color, all that is needed is some alpha premultiplication
code.

UpdateLayeredWindow might be able to be used to conveniently do some
effects for slideshows.

Original issue reported on code.google.com by wonchun on 26 Jun 2007 at 4:19

revisit "volatile" keyword

It's been a while since I've mucked in the code, but recent discussions at
work have made me nervous about how the stb-imv might be depending on
certain properties of "volatile" that are not guaranteed.

http://softwareblogs.intel.com/2007/11/30/volatile-almost-useless-for-multi-thre
aded-programming/

I'm guessing the current use of "volatile" is either incorrect or
unnecessary. Thoughts?

Original issue reported on code.google.com by wonchun on 17 Jun 2008 at 6:25

Launch new viewer instance fails when path contains space

What steps will reproduce the problem?
1. create a folder with any name containing a space character
2. put imv_light.exe into that folder, add some image
3. launch imv_light.exe some.image.jpg
4. press CTRL+I

What is the expected output? What do you see instead?
New viewer window should open. Error message is displayed instead, called 
"imv(stb) error" stating "'Files\imv_light.exe': Couldn't open file".

What version of the product are you using? On what operating system?
stb_imv-1.01.zip Windows binary, version 1.01
on Windows 7 HP x64

Original issue reported on code.google.com by [email protected] on 5 Jun 2012 at 3:52

Disabling Show border leads to a crash

What steps will reproduce the problem?
1. Open an image with imv
2. Press P to open preferences
3. Un-check "Show border" and press OK. The program crashes to the standard
windows crash dialog.

What version of the product are you using? On what operating system?
1.0 (w/GDI+)

Please provide any additional information below.
Border-toggling with keyboard shortcuts work fine. Only the toggling via
pref. dialog crashes.

(I don't actually care about disabling border, I'm just reporting the bug
because I happened to notice it.)

Original issue reported on code.google.com by [email protected] on 7 Oct 2009 at 12:41

stb-imv "eats" memory

What steps will reproduce the problem?
1. Run stb-imv in folder with 100+ pics.
2. Browse near all of them.
3. Find in Task Manager 200-300Mb+ of consumed memory.

What is the expected output? What do you see instead?
I think you need free memory from already seen files.

What version of the product are you using? On what operating system?
Windows, imv-stb 1.01

Original issue reported on code.google.com by [email protected] on 20 Jul 2012 at 6:10

Arrange by date modified, etc?

Can the program be changed to step through images sorted by whatever
arrangement is chosen in the explorer window (date modified, etc.)?  Right
now it only steps by name arrangement.  Thanks for this great app!

What version of the product are you using? On what operating system?
Windows XP Pro SP2

Original issue reported on code.google.com by [email protected] on 18 Jan 2008 at 6:16

"Back" and "forward" mouse buttons should work.

The "back" and "forward" buttons present on many mice and keyboards should
step through images in a folder, the same way they navigate through web
pages and explorer windows.

What version of the product are you using? On what operating system?
--0.97 Windows XP Pro SP2

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 20 Dec 2007 at 2:00

Enhancement: Use GDI+ to load images

This is probably a better place than the forum to post this:

Currently, stb(imv) uses stb-img and FreeImage to decode images. stb-img
doesn't handle all file types, and FreeImage requires an additional DLL to
be distributed with the app. Additionally, FreeImage has issues with
certain file types, including crash bugs on BMPs generated by Adobe Photoshop.

GDI+ should solve both of these issues. GDI+ is already distributed with
most versions of Windows, so it doesn't need to be redistributed.
Secondarily, GDI+ is probably more stable than FreeImage, should handle
more file types/variations, and probably doesn't crash.

Some additional requirements for implementation are:
1) The build shouldn't require a new Platform SDK (i.e. should build with
any version fo Visual Studio 6 or better)
2) Should be implemented in C (rather than C++).

The GDI+ DLL is actually a pure C DLL that exports an unsupported "flat"
API, and the supported C++ interface is transparently implemented in header
files. These header files essentially behave as documentation for the flat
API. It should be a trivial matter to first implement the functionality in
C++, replace it with the equivalent flat C calls, and then dynamically link
the C entry points.

The relevant methods are: GdipCreateBitmapFromFile, GdipBitmapLockBits
GdipBitmapUnlockBits, GdipDisposeImage, GdipGdiplusShutdown, GdiplusStartup.

Original issue reported on code.google.com by wonchun on 17 Jul 2007 at 8:53

SPK file support

I have this crazy custom image file format that is actually really simple
to implement it, and I'm looking to get it into some open source image
viewer... I doubt anybody else would ever use it, but it would make a huge
different for me to have it.

http://daeyna.com/spk/spk.txt

Let me know what you think.

Original issue reported on code.google.com by [email protected] on 13 Jan 2008 at 7:10

enhancement: indicate when the window has focus

I tried handling WM_SETFOCUS and WM_KILLFOCUS to toggle the stripe on the frame 
so as to make it all black when the window had focus. However I'm not too good 
at windows, nor do I really understand your code and I couldn't make it work.

Would be good to have if it could be done easily.

Original issue reported on code.google.com by [email protected] on 27 Sep 2011 at 2:16

Doesn't compile without modification on Mingw (but does compile! :-) )

Stb-imv does not compile without modifying the source on the free MingW
toolchain. Luckily, the modifications needed are fairly minor.

in stb.h:
- disabled using the assembly version of stb_log_floor
- typedef unsigned __int64 stb__64; (instead of _int64)
- commented out the redefinition of CreateSemaphoreA
- removed the stb_barrier functionality. (This probably isn't safe, right?)
in stb_image.c:
- made the uint8, etc typedefs #defines instead.
- removed validate_uint32
- changed the last line to #endif (instead of #endif STBI_NO_WRITE)
in imv.c:
- removed the memory barrier (again, unsafe?)
- moved "int temp = max_cache_bytes >> 20;" out of the if() statement
- made rom_images not extern.
- disabled using the MMX assembly interpolation functions (#if 1 -> #if 0)

And compiled with gcc -o stbimv.exe imv.c -lgdi32 -luser32 -lcomdlg32
-lole32 -D_MT

Tested using Windows XP, gcc version 3.4.2 (mingw-special).

Hope this helps somehow! :)

Original issue reported on code.google.com by [email protected] on 30 Nov 2007 at 8:27

[REQ] Deault window size

If Windows taskbar option "Auto-hide the taskbar" is disabled, with default 
program window size part of big image appears under windows taskbar and can't 
be seen. 
Can you change default window size related on this option and decrease a little 
when "Auto-hide the taskbar" is disabled ?

TIA.

Original issue reported on code.google.com by [email protected] on 20 Jul 2012 at 6:17

[feature] Thumbnail placeholders

Load images in thumbs.db/thumbcache to act as quick placeholders for fast
browsing.

Useless link: http://en.wikipedia.org/wiki/Thumbs.db

Original issue reported on code.google.com by wonchun on 25 Jun 2007 at 11:10

F1 doesn't open the documentation

What steps will reproduce the problem?
 1. Open an image with imv.exe
 2. Press F1

What is the expected output? What do you see instead?
 - Expected: as mentioned in readme.txt, I expected to see some documentation (features, keyboard shortcuts)
 - Instead: nothing happens

What version of the product are you using? On what operating system?
 - imv 1.01
 - Windows 7 x64 SP1 english, up-to-date

Original issue reported on code.google.com by [email protected] on 15 Jun 2012 at 12:53

enhancement: include filename in window title.

When alt tabbing, the window shows up as stb-imv or somesuch; it would be good 
to have the file name appended to this. Again I tried hacking the code and sort 
of got it going in the call to CreateWindow, but this doesn't help when 
browsing or using the slideshow.

Again, just a minor niggle with a great bit of kit.

Original issue reported on code.google.com by [email protected] on 27 Sep 2011 at 2:21

[REQ] Open in fullscreen Preference

Would it be possible (or is it already?) to start the viewer in fullscreen, so 
I don't have to press ALT+ENTER every time I launch it?
A Preference item/option/checkbox for that would be really great.
TIA.

Original issue reported on code.google.com by [email protected] on 5 Jun 2012 at 3:36

Enhancement: Use Windows Imaging Component (WIC)

I will quote/paraphrase the original GDI+ issue:

stb-img and GDI+ doesn't handle all file types, and FreeImage requires an 
additional DLL to be distributed with the app.
WIC should solve both of these issues. WIC is already distributed with newer 
versions of Windows (Vista+), so it doesn't need to be redistributed. 
Secondarily, WIC is probably more stable than GDI+, should handle more file 
types/variations, and will crash less.

There is e.g. http://www.fastpictureviewer.com/codecs/ codec pack which plugs 
into WIC that adds immense number of supported image and RAW formats, that 
could be used.
I guess all four major costs are significant for this one.

Some reference:
http://msdn.microsoft.com/en-us/library/windows/desktop/ee719886(v=vs.85).aspx
http://www.dustyfish.com/blog/reading-photo-metadata-using-windows-imaging-compo
nent
http://www.codeproject.com/Articles/25890/Windows-Imaging-Component

Original issue reported on code.google.com by [email protected] on 20 Mar 2012 at 8:23

directory reading skips .tga files

What steps will reproduce the problem?
1. Open a .tga file using the command line in a directory containing both .tga 
and other image types
2. cycle through the images in the directory

What is the expected output? What do you see instead?
The first tga displays just fine, so I would expect the rest of the tga's to be 
displayed when cycling through the directory. What happens is that it skips 
over the .tga's and displays the other image types instead.

What version of the product are you using? On what operating system?
stb-imv 1.01, windows 7, no freeimage

Please provide any additional information below.
It looks like there's a semicolon missing in the open filter at imv.c:2960 (ver 
1.01). I put one in and it seems to work now.

Original issue reported on code.google.com by [email protected] on 5 Feb 2013 at 3:19

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.