Skip to content

Commit

Permalink
Documentation cleanup & update
Browse files Browse the repository at this point in the history
Version number bump
  • Loading branch information
fuelsoft committed Mar 18, 2020
1 parent 9c0f6a8 commit c50db66
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 28 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,21 +65,22 @@ As listed [here](https://www.libsdl.org/projects/SDL_image/docs/SDL_image.pdf#pa
* Setting up a version of GCC new enough to support C++17 is a really bad time on Windows and unless you really need to build from source, I highly recommend you use one of the builds. Otherwise, I'll direct you to [MSYS2](https://www.msys2.org/)'s homepage.

### TODO:
This list is maintained in `main.cpp` as I think of things - check there for an up to date copy.
* Add key to set zoom to 1:1 pixel ratio
* Possible: partial image metadata? PNG image data support from ProjectPNG?
* Partial image metadata? PNG image data support from ProjectPNG?
* Animated GIFs
* Zoom on mouse instead of window center
* Stop image from being moved off-screen
* Possible: Image deletion?
* Possible: Image rotation?
* Image deletion?
* Image rotation?
* Cursor icon state updates?
* Don't exit if passed no parameters... show pop-up?
* Handle capitalization in file extensions
* Handle capitalization in file extensions better

### Known Problems:
* ICO: Files stored as "NEW PNG" type do not load with SDL_image
* ICO: Files with partially transparent pixels do not render correctly
* GIF: Animated sequences only load the first frame
* ALL: Images loaded from RO-type media (cell phones, cameras) are copied to a temp folder by Windows before being loaded.
This breaks in-folder navigation. It's unclear to me how WPV works around this.

[1]: https://www.libsdl.org/projects/SDL_image/docs/SDL_image.pdf#page=21&zoom=auto,-205,720
19 changes: 0 additions & 19 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,22 +552,3 @@ int main(int argc, char* argv[]) {

return 0;
}

/* TODO:
* Add key to set zoom to 1:1 pixel ratio
* Possible: partial image metadata? PNG image data support from ProjectPNG?
* Animated GIFs -> https://stackoverflow.com/questions/36267833/c-sdl2-how-do-i-play-a-gif-in-sdl2/36410301#36410301
* Zoom on mouse instead of window center
* Stop image from being moved off-screen
* Possible: Image deletion?
* Possible: Image rotation?
* Cursor icon state updates?
* Don't exit if passed no parameters... show pop-up?
* Handle capitalization in file extensions
*/

/* KNOWN PROBLEMS:
* ICO: Files stored as "NEW PNG" type do not load with SDL_image
* ICO: Files with partial transparent pixels do not render correctly
* GIF: Animated sequences only load the first frame
*/
8 changes: 4 additions & 4 deletions meta/meta.rc
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
1 VERSIONINFO
FILEVERSION 0,2,0,0
PRODUCTVERSION 0,2,0,0
FILEVERSION 0,2,1,0
PRODUCTVERSION 0,2,1,0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "Fuelsoft Development"
VALUE "FileDescription", "Image Viewer"
VALUE "FileVersion", "0.2.0"
VALUE "FileVersion", "0.2.1"
VALUE "InternalName", "viewer"
VALUE "LegalCopyright", "Fuelsoft Development"
VALUE "OriginalFilename", "Viewer.exe"
VALUE "ProductName", "Image Viewer"
VALUE "ProductVersion", "0.2.0"
VALUE "ProductVersion", "0.2.1"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit c50db66

Please sign in to comment.