https://github.com/jonpalmisc/screenshot_ninja
Easily capture Binary Ninja screenshots (in ultra-high resolution)
https://github.com/jonpalmisc/screenshot_ninja
binary-ninja binary-ninja-plugin screenshot-ninja
Last synced: 9 months ago
JSON representation
Easily capture Binary Ninja screenshots (in ultra-high resolution)
- Host: GitHub
- URL: https://github.com/jonpalmisc/screenshot_ninja
- Owner: jonpalmisc
- License: mit
- Created: 2021-03-25T18:57:04.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-26T21:12:44.000Z (almost 2 years ago)
- Last Synced: 2025-05-07T01:49:43.628Z (9 months ago)
- Topics: binary-ninja, binary-ninja-plugin, screenshot-ninja
- Language: Python
- Homepage:
- Size: 417 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Screenshot Ninja
Screenshot Ninja makes it easy to capture screenshots inside Binary Ninja.
## Features
Screenshot Ninja currently allows you to capture screenshots:
- of the active linear/graph view;
- of the entire Binary Ninja window; and
- at custom scaling factors, such as 2x or 3x the native resolution.
## Install
You can get Screenshot Ninja by:
- installing it through Binary Ninja's plugin manager;
- cloning this repository into your user plugins folder; or
- downloading and extracting a release into your user plugins folder.
If you plan to use the scripting functionality, the latter two options are
recommended, as the plugin manager adjusts module names.
## Usage
Screenshot Ninja can be used from the context menu or command palette, as well
as from the console as a Python module.
### From the user interface
Use the context menu or command palette to find Screenshot Ninja's commands. The
"save view image" command family will save an image of the active linear/graph
view, while the "save window image" command family will save an image of the
entire Binary Ninja window.
### As a Python module
You can import Screenshot Ninja in the Python console like this:
``` python
import screenshot_ninja
```
You can then use the `renderActiveView` and `renderActiveWindow` functions as
you wish. Both functions return a `QPixmap`, which you are responsible for
saving yourself. Additionally, both functions will throw a `ValueError` if
something goes wrong, so be sure to catch it.
## License
Copyright © 2021-2023 Jon Palmisciano. Licensed under the MIT License. For
additional information, see [LICENSE.txt](LICENSE.txt).