Giter Site home page Giter Site logo

screenshotviewer's Introduction

Screenshot Viewer

Screenshot viewer is a mod that allows you to see the screenshots that you have taken while you were gaming! (including the accidental ones you took when you where trying to press F3).

It comes with a great GUI and an in-game configuration thanks to CatConfigMC, a library I myself developped.

Here are two screenshots of the in-game GUI:

An in-game view of the screenshots management screen

A view of the screenshots manager accessed from the title screen with no screenshots

If you want to see in detail one of your screenshots, or just go through them, you can click on one to enlarge it and scroll or click on the buttons on the left and right to go to the next one or the previous one.

When a screenshot is clicked on the screen

Finally, you can access this screenshots management screen by clicking on a button on the title screen or in the pause menu, or by configuring a key binding.

Button in pause menu to access the screenshots management screen

Hope you will enjoy the mod!

screenshotviewer's People

Contributors

akkini1 avatar amirhan-taipovjan-greatest-i avatar blryface avatar lgatodu47 avatar medustyy avatar mrlulu51 avatar ocelot5836 avatar szedann avatar thelegendofsaram avatar wudji avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

screenshotviewer's Issues

[Feedback / Feature Request] Make the right click ability more universal and more clearly visible

I downloaded this mod and played with it for a little while. For a good while I thought it could only view and not manage screenshots. Only through reading other issues here I figured out that you could right-click images to manage them, but only when they're not in the large viewer.
I am not sure if I'm just being dumb here, or if this is a common experience, but here are a couple of ideas to fix the issues that would also be feature suggestions from me:

  • make it somehow clear that files can be right-clicked. If just by pointing it out in the mod description
  • allow right click actions on a large preview screenshot instead of only the small one
  • in the right click menu, allow clicking on the text itself instead of only the icons.
  • allow for shortcut ctrl-c to copy an image to clipboard
  • allow for multi selection of images with shift/control clicking to delete/copy/open multiple images at once
  • add delete, copy, edit menu buttons to the full size viewers for people who missed the right click option

I hope you can give any of these suggestions a thought. I feel they would make an already quite useful mod a lot more intuitive and streamlined to use. I would also heavily appreciate a release of the new additions for 1.20.1 as I'm sadly stuck there as a modpack dev until create mod plus addons finally make it to 1.20.1 in maybe a year.

Add option to copy to clipboard

When viewing or right clicking on a screenshot, add an option to copy the screenshot to keyboard.

Currently, to copy to clipboard, you have to open the screenshot with an external photo editor first, and then copy. It would be nice if it were streamlined.

Mis-aligned menu icon + add a hotkey to open the menu

Finally I found this as a Nicephore alternative, but I do find an issue with this

  • The menu icon being offset
  • No hotkey to open the menu as far as I have searched

Would be fantastic if a hotkey was added because it's kinda a hassle to open the menu just for the screenshot

image

⚠️[Bug] Screenshots not showing up in the gallery

I use a mod called SharedResources (https://modrinth.com/mod/shared-resources) which can make it so that you can have the same worlds, screenshots, resource packs, and everything across multiple modpacks.

And it does that by simply changing the directory of those specific things to a global one
(For example, all screenshots for one profile will be stored in a global folder where all of my modpacks can access the same screenshots if the mod is installed on those modpacks, and the same for the worlds and resource packs, etc.)

And that is the reason why this mod doesn't show my screenshots in my library/gallery because the screenshots are stored in a different location than the default one, and to fix this you simply need to add an option to change the screenshots folder that this mod will use! πŸ˜‰

[Compatibility] Resource Packs

If a Resource Pack that changes the menu buttons alongside the mod it feels- off
It would be nice if the Menu Button used the menu button textures used by a Resource Pack.

image
here is the Menu Button next to the Reimagined UI Resource Pack
(the icons are added by a different pack, they arent important here)

[Feature request] Caching screenshots

Most of the times I open Screenshot Viewer to quickly check or delete fresh screenshots, but as it seems that there is no caching of images, it takes a lot of time to load existing screenshots (more than the mod is actually being used in my case).

Checking for existing files is computationally light task, so instead of initially loading full size images it might be better to call loading smaller thumbnails beforehand generated by mod and only after full size (or on player's input for each image).

The option to disable or choose the amount of compression (1/2, 1/4 etc) would also be very nice!

Thank you!

Screenshot Viewer cant show screenshots on symlinks

i have been playing with this mod for a good while and it is a really good mod
recently tho, i wanted to try the Better MC modpack, but my computer is weak so i decided to go on linux and play there
since i dont always use linux, i decided to make the screenshot folder a symlink to the one in windows (because windows cant read ext3/ext4 partitions and therefor i cant access my screenshots on windows)

the screenshots are saved fine, but screenshot viewer says there are no screenshots

Screenshots Don't Open Up After Refresh

After refreshing the screenshots browsing menu ALL of the thumbnails of screenshots and the screenshots themselves become blank.
Only a restart of the game solves the problem.

From my testing this issue affects multiple versions.
I tested version 1.1.5 (for Minecraft 1.19.4) of the mod and 1.1.1 (for Minecraft 1.18.2).
The problem could be present in more versions than what I tested.

Here's a video that shows the problem.
https://github.com/LGatodu47/ScreenshotViewer/assets/104154497/f18e60bc-ace1-4f66-aa00-63e8bdbbd445

1.20.3-4 support

Game launches, but crashes when openning screenshot GUI. I really love this mod and hope you will update it someday to the newest versions of Minecraft

Feature: disable display of screenshot names

I think it would just look much cleaner and doesn't sound too complicated to implement (no idea though). Maybe the names could show up only when you hover over the image, for instance.

[1.19.2] Crash when opening gallery with Fast Workbench installed.

Title ^

Crash when opening the gallery, looks to be an issue together with Fast Workbench mod. ?

The game crashed whilst unexpected error
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.m_135815_()" because "b.f_94223_" is null

Full Crash-report: https://gist.githubusercontent.com/Gbergz/a89e1f341421d0a60d6d1e930b1672d8/raw/75af204351174d7fcdc82fa2ba034a0e4e908074/gistfile1.txt

Versions:

Minecraft: 1.19.2
Forge: 43.2.3
Screenshot Viewer: v1.1.1
Fast Workbench: 7.0.1

- Gbergz

Screenshot managers opens with media keys if no keybind is set

I'm currently playing the TMP Limitless 6 Pack for Forge 1.19.2.

When I use the media keys on my keyboard, the screenshot manager opens, event tho no keybinds are set to open the screenshot manager. When I set a keybind the screenshot manager does not open with the media keys.

I'm using the Logitech G815. This could also be a bug in the Logitech G HUB software.

Pause Menu Placement

Hi there, the mod looks sick! I'm interested in using it, although I'm a little put off by its position on the pause menu. While its position can be adjusted there, I was wondering if it'd be possible to add a config option that adds it as a regular button, just like how Mod Menu adds a Mods button alongside Advancements, Options, and so on. If not, perhaps an option to move it to the Options menu so that it is out of sight?

This isn't a deal breaker of course, so either way, thank you for making this!

[1.19.3] Crash when opening the gallery while a screenshot is being written to

I use Fabrishot to take high resolution screenshots, and thus there is a lot of data to write to the files. If you try and open the gallery while this data is being written, the game crashes. Perhaps this could be prevented? You can see the crash error below (ignore my screenshot border, I can't be bothered to turn it off :P)

image

Fast Delete Feature

Screenshot viewer doesn't show screenshot with the .jpg format but only .png.
I would like to use both mods, so I request this feature.
Also, I would like the ability to delete screenshots with the delete key instead of using the right click>delete option.

(I play Minecraft 1.20.1)
Thanks for earing my suggestion.

1.18.2 In-Game screenshot preview is reducing white pixels to an ugly gray...?

I was looking at my screenshots in my modpack with this mod and for some reason I noticed the sun and lamps showing ugly gray-like patterns instead of their true color.
When opening the pictures externally, they show normal values.

I don't know if it's your mod or the way Java works in there, but maybe you got an idea what to do? (HSV/HSL color room or sRGB versus RGB? I don't know much about this topic...)
Modlist see here: xFirefalconx/Royal-Equines-Petrified-Magic#24 (this is not fully accurate, but I last ran these mods when the issue showed up.)

  1. Picture in-game:
    grafik

  2. Normal comparison out of game:
    grafik

  3. Picture in-game:
    grafik

  4. Normal comparison out of game:
    grafik

Zooming in works the wrong way

When I use ctrl + mouse wheel, I expect the zoom to increase when I scroll the wheel forward and decrease when I scroll the wheel backward. However, everything is exactly the opposite.
I suggest either correcting this misunderstanding, or providing a setting that would allow you to choose the necessary behavior.

Menu not following selected screenshot

When I take a lot of screenshots I usually open the latest one, then I keep browsing by using the arrow key until I find one that I don't like or a series of similar screenshots that I don't want. When doing so I may go to the next "page" without noticing, this is a problem because when I press ESC and return to the menu I am still in the first "page".

It would be great if the menu always followed the selected screenshot, so that when I press ESC the screenshot in question is always in the center of the screen and both the screenshots before/after are visible.

Screenshot Chat Text

When taking a screenshot, the game tells you Saved screenshot as ... in the chat, where the file name links to the file on your computer. Would it be possible to replace this file link with a link that brings you to the Screenshot Manager directly?

scroll area isn't working correctly

Scroll doesn't work if you drag it with the mouse.

I don’t know if the author of the mod added such a function at all, but I would like it to work

Video not as useful because mouse clicks are not visible, but I'll be glad if it helps

2023-08-12.20-55-40.mp4

Resourcepack support

Hi there! I'm making modpack for server and I'm using resourcepacks, but just button "Screenshot manager" wasn't changed, so I mean, it's not button as background and foreground image but it's just whole image, it's some chance to make it resourcepack-comaptible?

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.