Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/askaniy/fits2png
A small GUI program for converting space images
https://github.com/askaniy/fits2png
astropy conversion converter gui image image-converter image-processing photos python
Last synced: about 2 months ago
JSON representation
A small GUI program for converting space images
- Host: GitHub
- URL: https://github.com/askaniy/fits2png
- Owner: Askaniy
- License: mit
- Created: 2022-07-14T14:47:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-09T15:02:16.000Z (7 months ago)
- Last Synced: 2024-06-09T16:36:59.732Z (7 months ago)
- Topics: astropy, conversion, converter, gui, image, image-converter, image-processing, photos, python
- Language: Python
- Homepage:
- Size: 52.7 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: ReadMe.md
- License: license.md
Awesome Lists containing this project
README
# fits2png
A small GUI program for converting space images.Current status: not supported. For better samples of my code I recommend to look at the pinned repositories.
![Screenshot](Screenshot.png)
## Installation
Python version 3.9 or higher is required. On Linux, you may need to replace the `python` command with `python3`.
**Step Zero**: Clone the repository or download the archive using the GitHub web interface. In the console, go to the project root folder.
### Simple installation
1. Install the dependencies with `pip install -r requirements.txt`;
2. Execute `python -u fits2png.py`.### In virtual environment
1. Create a virtual environment with `python -m venv .venv`;
2. Install the dependencies with `.venv/bin/pip install -r requirements.txt`;
3. Execute `.venv/bin/python -u fits2png.py`.## Notes
- To save the output without compression (in TIFF format), release the button `compress to PNG`;
- To recognize New Horizon's MVIC image and apply the conversion factor, the appropriate button must be pressed and the file name must begin with `mc0`, `mc1`, `mc2` or `mc3`. This is the default behavior for files from [OPUS](https://opus.pds-rings.seti.org/).