Resize images, write to disk and encode them to Base64 all at once in this PySimpleGUI Demo Program.
Project description
psgresizer
A PySimpleGUI Application
Resize your images quickly and easily with this GUI application. Resizes and encodes to Base64 so that the result can be pasted into your PySimpleGUI program for easy distribution of your applications without the need to distribute image files.
Installation
Old-school Straight Pip
pip install psgresizer
pip via python -m pip
the python recommended way
If python
is your command
python -m pip install psgresizer
If python3
is your command
python3 -m pip install psgresizer
Usage
Open a command window and type:
psgresizer
Create a Shortcut To This Program
If you're a Windows user, then use the psgshortcut
application to make a shortcut to this program so that you can then put on your desktop or pin to your taskbar (or any other use that stops the need to type psgresizer
ever again).
To get psgshortcut
, like all of the other psg application
projects, pip install it. (e.g. pip install psgshortcut
)
To do this, follow these steps:
- Open a command window (I promise, it's the last time you'll need to for this program)
- Type -
where psgresizer
- Copy the line that
where psgresizer
gave you into the first input of the shortcut maker program - Run psgresizer by typing
psgresizer
in your command window - Right click and choose "File Location"
- Copy the file location results, but change the extension from .py to .ico and paste into the Icon file input of the shortcut maker
- Click "Create Shortcut"
This will create a shortcut in the same folder as the target file. You can safely move this shortcut file to any place you want (like to your desktop). Double-click the shortcut and your program should launch.
License
Licensed under an LGPL3 License
Copyright 2021
This PyPI Was Designed and Written By
This program originated from the PySimpleGUI Demo Programs. You'll find it here: Demo_Make_Windows_Shortcut
Mike from PySimpleGUI.org
Contributing
Like the PySimpleGUI project, this project is currently licensed under an open-source license, the project itself is structured like a proprietary product. Pull Requests are not accepted.
Copyright
Copyright 2021 PySimpleGUI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for psgresizer-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d51980b6c8e49ff233a6ee84295bc6fa7f0581206e09794dee48ec472d0e33d6 |
|
MD5 | f3559dda23722434c9c2d6a82b3c8ba2 |
|
BLAKE2b-256 | da9d36e29f60dd97bcb8d6669173f084dad7419be5efe65343e13ed30d649caa |