Giter Club home page Giter Club logo

cropper's Introduction

Cropper

Point and Shoot Screen Captures

Join the chat at https://gitter.im/brhinescot/Cropper

Cropper is a screen capture utility written in C#. It makes it fast and easy to grab parts of your screen. Use it to easily crop out sections of vector graphic files such as Fireworks without having to flatten the files or open in a new editor. Use it to easily capture parts of a web site, including text and images. It's also great for writing documentation that needs images of your application or web site.

Default Hot Keys

  • Arrow keys: Nudge the main form one pixel.
  • Alt + Arrow keys: Resize the main form one pixel.
  • Alt + ] or Alt + [ : Resize the thumbnail indicator one pixel.
  • +Ctrl: Changes the amount of resizes and nudges listed above to ten pixels.
  • ],[ or Mouse Wheel: Resize the main form twenty pixels while keeping the crosshairs centered.
  • Right Click: Context menu on the main form.
  • Double Click or Enter or S: Take a screen shot of the area under the Cropper window or start/stop a recording plug-in.
  • Tab: Cycle form colors.
  • Shift + LMB: Resize main form with 1:1 aspect ratio.
  • Ctrl + LMB: Resize main form relative to the center.
  • Ctrl + Shift + LMB: Resize main form relative to the center with 1:1 aspect ratio.
  • Shift + Tab: Cycle form sizes.
  • Ctrl + Shift + Tab: Cycle form sizes relative to the center.
  • Ctrl + Tab: Cycle thumbnail form sizes.
  • Esc: Hide the main form.
  • Ctrl + F8: Show the main form.

If Cropper is being used to save Print Screen images (Cropper will capture even while the crop form is minimized)

  • PrintScreen: Take a screen shot of the entire desktop or start/stop a recording plug-in.
  • Alt + PrintScreen: Take a screen shot of the current active window or start/stop a recording plug-in.
  • Ctrl + Alt + PrintScreen: Take a screen shot of the region below the mouse or start/stop a recording plug-in.

Output Options

Cropper is able to output images to a variety of formats. There is an extensibility model allowing developers to create custom output plug-ins. Descriptions of some of the default plug-ins are given below.

  • BMP: Large files but no compression artifacts.
  • PNG: Smaller files with lossless compression, good for most image formats except full color photographic. Think of it as a replacement for the simpler GIF format. All modern browsers can display a png file.
  • JPEG: Good for full color photographic images. Cropper can save jpg's in varying quality settings from 10 to 100. 10 being the lowest quality and smallest file size. 100 being the highest quality and largest file size. A quality setting of 60-70 is usually good for the web. It's a good trade off between file size and image quality.
  • Clipboard: The image is placed on the clipboard and can be pasted into any application that accepts images.
  • Printer: Presents a print dialog that allows you to send the image straight to the printer.

Latest Release

Download the latest release (https://github.com/brhinescot/Cropper/releases)

cropper's People

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  avatar  avatar

Watchers

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

cropper's Issues

High DPI / scaling issues

Using Cropper on a Surface Book 2 currently set at 175% scaling.

A few issues related to high DPI seem to manifest:

  1. The white labels of the crop size in pixels (top right corner) are overlapping the actual crop area and the bits that are overlapping will actually end up in the capture
    image

  2. Text scaling issues in the options window
    image

  3. Scaling issues with the How To and About "windows"
    image

Keep up the good work, I absolutely love the tool!

App crashes on startup

Not sure if this due to a .NET framework compatibility issue or something. However, one day I started my computer and the application just stopped launching. This is likely due to some kind of software installed by my company (silently and without my knowledge, maybe a framework or something) which may have compatibility issues with the app. See screenshots and full stack trace below.

  • This is the latest version of the app available in releases (v1.11.0)
  • I have .NET versions 3.0, 3.5 and 4.7 (release 461814) installed

Steps to reproduce (on my machine only):

  1. Run app
  2. Icon appears in taskbar
  3. Click taskbar icon 2 times
  4. Error message displays with stack trace.

2018-11-29_15-17-52

2018-11-29_15-18-08

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
   at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
   at Fusion8.Cropper.LayeredForm.PaintLayeredWindow()
   at Fusion8.Cropper.MainCropForm.OnResize(EventArgs e)
   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   at System.Windows.Forms.Control.UpdateBounds()
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at Fusion8.Cropper.CropForm.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Cropper
    Assembly Version: 1.11.0.0
    Win32 Version: 1.11.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Brian%20Scott/Cropper/Cropper.exe
----------------------------------------
Cropper.Core
    Assembly Version: 1.11.0.0
    Win32 Version: 1.11.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Brian%20Scott/Cropper/Cropper.Core.DLL
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
Cropper.Extensibility
    Assembly Version: 1.11.0.0
    Win32 Version: 1.11.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Brian%20Scott/Cropper/Cropper.Extensibility.DLL
----------------------------------------
Cropper.BmpFormat
    Assembly Version: 1.0.1.0
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Brian%20Scott/Cropper/plugins/Cropper.BmpFormat.dll
----------------------------------------
Cropper.ClipboardFormat
    Assembly Version: 1.2.2.0
    Win32 Version: 1.2.2.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Brian%20Scott/Cropper/plugins/Cropper.ClipboardFormat.dll
----------------------------------------
Cropper.JpgFormat
    Assembly Version: 1.1.1.0
    Win32 Version: 1.1.1.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Brian%20Scott/Cropper/plugins/Cropper.JpgFormat.dll
----------------------------------------
Cropper.PngFormat
    Assembly Version: 1.0.1.0
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Brian%20Scott/Cropper/plugins/Cropper.PngFormat.dll
----------------------------------------
Cropper.PrinterOutput
    Assembly Version: 1.0.1.0
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Brian%20Scott/Cropper/plugins/Cropper.PrinterOutput.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

When and why did "show" change into "show/hide"?

Previously (and it's still in the current front-page overview), F8 (which also turned into Ctrl-F8 but at least that's configurable) now also hides. Which sucks if you don't run Cropper "always on top": take screenshot, rename capture, then click back to browser I took the screenshot of, thus hiding cropper under browser… and then I need to hit Ctrl-F8 twice, once to actually hide the window, and then to show it again.

Cropper no longer starts minimized.

Beginning with the latest version (1.11.0), cropper always starts up with the form displayed. I set this up to boot with Windows (and use it very frequently) so I don't need it to display on each login/reboot. I happened to notice this today after setting up a new computer and the blue form shows each time the application is launched. Version 1.10.0 is not affected, so I've downgraded to that.

Bug? Or, maybe feature request: Add the ability to configure this as an option (some people may actually prefer this). I'd suggest making the default value for this to be hidden on start up, carrying over for legacy reasons and, most likely, the most common use case 😄

Animated GIF

Future development : include cropping of video and save as animated gif or .mp4 including audio out.

Play a sound on screenshot?

Copied from CodePlex

Cropper is great, thanks. I'd like a feature where it plays a sound on successful screenshot. Just a little shutter click to confirm the image was made. Maybe as a plugin?

Cropper captures outside of the frame - capture is offset

Hello!

I am not sure why this is, but cropper captures outside of the frame.

Please see enclused image:

The capture actually includes the cropper frame!

The capture is the correct size, I checked, but it seems to be offset to the left and up.

image

Please let me know if there is anything I can try or add to this report.
Right now, cropper does not work for me, but I have always liked it and used it for many years.

BR! /marcus

Info on my setup:

  • Recent Dell latitude laptop, win10
  • Different docking / screen configs depending on office and workspace, during the day.
    ** Screen config does not seem to matter, as far as I can tell.
  • I have a custom scale factor set (see image below), but I have always had that for years, and cropper has worked for a long time with this set.
    image

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.