Code Monkey home page Code Monkey logo

imgursniper's Introduction

⚠️ Deprecation notice ⚠️

ImgurSniper was a project I initially created as my first "real" C# project while still in school. I had lots of fun developing it, but obviously made some messes in the codebase such as in-efficiency, bugs, and inconsistent styling conventions. I learned a lot from this project, and want to thank everyone of you who downloaded it, starred it and created issues in here. I'm now archiving this repository, as I have no interest in maintaining the codebase, and honestly a full rewrite with my knowledge now would be a way better decision anyways. It still works on my machine but if it doesn't work on yours then I'm afraid I can't help you. Try ShareX. Check out my other repositories for some other possibly interesting projects.

PS: ImgurSniper is also in the 2020 GitHub Archive Program, pretty cool to think there's some floppy disk out there containing buggy C# code.

ImgurSniper

The faster screenshot tool

Download Total downloads

ImgurSniper is a small and lightweight tool that is designed to make sharing Images way easier and faster by instantly uploading them to imgur or copying to your clipboard!

Links

Download Installer

Download Portable

PostShot

Say Thanks

Buy Me a Coffee at ko-fi.com

Icon by jinga, Idea & German translations by dmaniak

Why choose ImgurSniper?

Compared to other Screenshot software, ImgurSniper is as fast as sharing Images can get. Also, ImgurSniper will upload directly to imgur, which gets a direct Image Link (Meaning the Link is Image only, so you can embed the Image, or share it with Software that can preview Image URLs, like Discord, ...)

How to use

Press Ctrl + Shift + X or PrintScreen (depending on your Preferences) to start ImgurSniper Snap Mode! Easily capture and share a moment by drawing a Rectangle with your Mouse to automatically upload it to Imgur! Optionally, press Space to switch Mode and paint on the Screen! You can now share the Link that has been copied to your Clipboard with everyone!

(To change the behavior of ImgurSniper, right-click the Icon in your Tray and click Settings)

(See more Info at ImgurSniper Settings -> Help)

Features

  • Use ImgurSniper as a Tray service, so you can open it instantly with your custom Hotkey!
  • Draw a Rectangle with your Mouse to make a Screenshot or GIF and automatically upload the cropped area to Imgur or copy to Clipboard!
  • Use the Paint Mode to circle Information, hide Information or show your drawing skills!
  • Right-Click a window in Snap Mode to quickly share a Screenshot of that Window or Client Area
  • Press Ctrl + A to make a Screenshot of all connected Screens!
  • Right click a File on your Desktop or in Windows Explorer, and click "Upload to Imgur" to instantly upload the selected Image(s) to Imgur!
  • Save snapped Images locally
  • Log in to your Imgur Account (By uploading to your Imgur Account, you can upload bigger Images and have them listed on your Profile.)
  • (Not yet implemented) Try the Magnifying Glass for precise cropping
  • Open Image on Imgur in Browser after uploading
  • Automatically start ImgurSniper on PC startup
  • Open ImgurSniper with a click on the Tray Icon, or by pressing Ctrl + Shift + X or PrintScreen (when Autostart is enabled)
  • Launch ImgurSniper on the Current Screen or All Screens at once
  • Upload your Images as PNG Format for higher quality, or JPEG Format for faster uploads (Pro Tip: Enable "Upload Images in high Quality" here for high quality Screenshots!)

Settings

imgursniper's People

Contributors

mrousavy 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

Watchers

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

imgursniper's Issues

Add option to disable sound.

Just installed and am happy to have found something this minimal. Would be nice if I could turn off the "pop" sound effect every time an image is captured.

add option to configure delay before capture images

this is an enhacement request.

it would be nice to set how many seconds to wait before capturing an image.
this is usefull when you have to capture some action activated by the mouse itself and you need time to prepare it.

Advice of GPL v3 violation

Hi,

Whilst we all love OSS, I would like to raise a GPL violation. This project is currently under an MIT licence, and uses ShareX source code which is under GPL.

There is no evidence of crediting the use, and it is evident that the codebase is from ShareX.

The comparison provided below is from an older version of ShareX to demonstrate that the ShareX source code existed well before the ImgurSniper adoption of ShareX source code:

ImgurSniper: https://github.com/mrousavy/ImgurSniper/blob/master/ImgurSniper/Libraries/FFmpeg/ExternalCLIManager.cs
ShareX: https://github.com/ShareX/ShareX/blob/v11.7.0/ShareX.HelpersLib/CLI/ExternalCLIManager.cs

ImgurSniper: https://github.com/mrousavy/ImgurSniper/blob/master/ImgurSniper/Libraries/FFmpeg/FFmpegEnums.cs
ShareX: https://github.com/ShareX/ShareX/blob/v11.7.0/ShareX.ScreenCaptureLib/Enums.cs#L90

ImgurSniper: https://github.com/mrousavy/ImgurSniper/blob/master/ImgurSniper/Libraries/FFmpeg/FFmpegHelper.cs
ShareX: https://github.com/ShareX/ShareX/blob/v11.7.0/ShareX.ScreenCaptureLib/Screencast/FFmpegHelper.cs

ImgurSniper: https://github.com/mrousavy/ImgurSniper/blob/master/ImgurSniper/Libraries/FFmpeg/FFmpegOptions.cs
ShareX: https://github.com/ShareX/ShareX/blob/v11.7.0/ShareX.ScreenCaptureLib/Screencast/FFmpegOptions.cs

ImgurSniper: https://github.com/mrousavy/ImgurSniper/blob/master/ImgurSniper/Libraries/Helper/CursorData.cs
ShareX: https://github.com/ShareX/ShareX/blob/v11.7.0/ShareX.HelpersLib/CursorData.cs

ImgurSniper: https://github.com/mrousavy/ImgurSniper/blob/master/ImgurSniper/Libraries/Helper/Helpers.cs
ShareX: https://github.com/ShareX/ShareX/blob/v11.7.0/ShareX.HelpersLib/Helpers/Helpers.cs#L823

ImgurSniper: https://github.com/mrousavy/ImgurSniper/blob/master/ImgurSniper/Libraries/Native/NativeMethods.cs
ShareX: https://github.com/ShareX/ShareX/blob/v11.7.0/ShareX.HelpersLib/Native/NativeMethods.cs
https://github.com/ShareX/ShareX/blob/v11.7.0/ShareX.HelpersLib/Native/NativeMethods_Helpers.cs

ImgurSniper: https://github.com/mrousavy/ImgurSniper/blob/master/ImgurSniper/Libraries/ScreenCapture/ScreenRecorder.cs
ShareX: https://github.com/ShareX/ShareX/blob/v11.7.0/ShareX.ScreenCaptureLib/Screencast/ScreenRecorder.cs

ImgurSniper: https://github.com/mrousavy/ImgurSniper/blob/master/ImgurSniper/Libraries/ScreenCapture/ScreencastOptions.cs
ShareX: https://github.com/ShareX/ShareX/blob/v11.7.0/ShareX.ScreenCaptureLib/Screencast/ScreencastOptions.cs

ImgurSniper: https://github.com/mrousavy/ImgurSniper/blob/master/ImgurSniper/Libraries/ScreenCapture/Screenshot.cs
ShareX: https://github.com/ShareX/ShareX/blob/v11.7.0/ShareX.ScreenCaptureLib/Screenshot.cs#L117

We have also noticed that a portion of codes have been used in AnimatedGif which is another one of your repos:

AnimatedGif: https://github.com/mrousavy/AnimatedGif/tree/master/AnimatedGif
ShareX: https://github.com/ShareX/ShareX/tree/v11.7.0/ShareX.HelpersLib/GIF

AnimatedGif: https://github.com/mrousavy/AnimatedGif/blob/master/AnimatedGif/VideoEncoder.cs
ShareX: https://github.com/ShareX/ShareX/blob/v11.7.0/ShareX.HelpersLib/EncoderProgram.cs

GPL cannot be sublicensed, and if reused, then the project that uses it needs to be GPL too.
Please refer to:
https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)

Please provide credit where it is due, and review your licence by CoB 1 August 2020.

Thanks
Michael
ShareX Co-founder

Windows DPI Scaling

ImgurSniper will not work properly when there is a custom scaling setting set in Windows Settings, and/or you have multiple Monitors with different Scaling/DPI factors.
Screenshot

Image compression

Image compression for all Image formats (Now it's only JPEG with managed .NET Quality Level)

Imgur upload limit

Fix maximum Imgur upload size (10MB) by not using official (limited) Imgur API

Window Size bugged

Window sizes seem to be bugged, there is a maximum size when there is a custom DPI in windows changed.

API Library

Hi @mrousavy -
We're interested in incorporating a "screenshot" capture feature into our app and we're willing to help fund the development of a library to do so.

  1. May we borrow your source code?
  2. Would you be willing to separate the Imgur portions of your code from the screen shotting portions to create a library we can consume?
  3. Would you be willing to incorporate basic editing features (like lightshot) into the UI?
  4. What would appropriate funding be to make the above happen?

Imgur uploading account is not correctly

Hi all,
I found some issues about uploading account of project and refresh token:

  1. If we alway create new "ImgurClient" object with "ClientId" and "ClientSecret", we alway upload that image to application's account (see image: https://i.imgur.com/GuZ0wl4.png)
  2. We alway call to "Login()" function on ImgurUploader class when rase upload action. This is not good solution for perfomence. I think we need check the "ExpiresIn" or "ExpiresAt" before refresh token.

Thanks!

Cant fully uninstall

sometimes ill open the screenshot window by accident. I uninstalled from windows settings

[Feature Request] Windows Ink Support & Ink quality

Please improve the inking support by implementing Windows Ink. This is how the app currently looks like vs windows Snip & Sketch

Comparison
Imgur Sniper
img
Snip & Sketch
img

If implementing windows ink would be too hard, an alternative feature could be to let the user paste from clipboard to the tray icon and return a direct imgur link to the pasted image.

Error after using the drawing tool

For some reason if I draw too much before taking a screenshot I get this error. If I press restart, it pops up again. I have to press "No" and open the tool again.

Untitled

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.