Repository navigation
Pixport v2.0.0
SVG-PNG-Tool is now Pixport: renamed, rebuilt as an installable package with a
command line, and released as binaries for Windows, macOS and Linux.
Breaking changes
-
New name and commands. Run
pixport(orpixport-gui, orpython -m pixport)
instead ofpython svg_converter.py. Install with
pipx install git+https://github.com/RandyNorthrup/pixport.gitor download a release. -
SVG renderer is now resvg (via
resvg-py) instead of CairoSVG. No Cairo or GTK
install is needed on any system. resvg supports more of SVG than CairoSVG, so some
files render differently, usually more correctly. -
Python 3.10 or later is required (was 3.9).
-
Output names and folders changed so the results drop straight into each platform:
Profile 1.x wrote 2.0 writes Custom export custom/name_<w>x<h>.<ext>name_<w>x<h>.<ext>Windows icon windows/icon.iconame.icomacOS icon macos/icon.icnsname.icnsLinux linux/name/name_<n>x<n>.pngname-linux/hicolor/<n>x<n>/apps/name.pngAndroid android/name/name_<n>x<n>.pngname-android/mipmap-*/ic_launcher.png+playstore-icon.pngiOS ios/name/name_<n>x<n>.pngname-ios/AppIcon.appiconset/Icon-<n>.png+Contents.jsonWallpapers wallpapers/<kind>/name/…name-wallpapers-<kind>/… -
Profiles that need it no longer offer JPG and BMP. Linux, Android and iOS icon
sets were offered as JPG or BMP, which those platforms do not accept. Linux and iOS
write PNG; Android writes PNG or WEBP. -
Size lists were updated for current devices (see below). The macOS
.icnsno
longer claims a 16 px image; see Fixed.
Added
- Command line with the same profiles as the app: several inputs and profiles in
one run,--width,--height,--padding,--zoom,--background,--format,
--list-profiles,--quiet, and exit codes 0 / 1 / 2. - Website favicons profile:
favicon.ico, PNG favicons,apple-touch-icon.png,
192 and 512 px manifest icons,site.webmanifest,favicon.svgfor SVG sources,
and ahead-snippet.html. - iOS
AppIcon.appiconsetwithContents.jsoncovering every iPhone, iPad and
App Store slot (20 to 1024 px, including 83.5 pt iPad Pro), always opaque as App
Store Connect requires. - Android
mipmap-mdpitomipmap-xxxhdpilayout and a 512 px Play Store icon. - Linux
hicolortheme layout, plusscalable/apps/name.svgfor SVG sources. - Formats: WEBP and TIFF output; JPG, WEBP, BMP, GIF, TIFF, ICO and SVGZ input.
- More sizes: Windows
.icoadds 20, 40 and 96 px. Desktop wallpapers add 1366×768,
3440×1440 and 5120×2880. Phone wallpapers add 1080×2400, 1179×2556, 1290×2796 and
1440×3200. Tablet wallpapers add 1640×2360 and 2048×2732. - Redesigned window: light and dark themes that follow the system, a preview on a
transparency checkerboard that fills the window and stays sharp on high-DPI screens,
drag and drop, aspect-ratio lock, a list of every size the profile writes, a hint
explaining when the background colour applies, File and Help menus, and keyboard
shortcuts (Ctrl+O, Ctrl+E). - Exports run in the background with a progress bar and Cancel, then offer
Show folder. - Settings are remembered between launches: profile, format, size, padding,
artwork size, background, folders and window position. - Release binaries built by GitHub Actions for Windows x64, macOS Apple silicon,
macOS Intel and Linux x64, each verified by running the packaged app's
--self-testbefore publishing, with SHA-256 checksums. - Linux installer script that adds a menu entry and icons for the current user.
- Test suite grown from 12 to 110 tests across rendering, every profile's files and
folders, the command line and the window; CI runs it on Windows, macOS and Linux
with Python 3.10 and 3.13.
Fixed
- Padding no longer swallows small icons. 1.x applied the same absolute padding at
every size, so 64 px of padding left a 16 px icon with a 1 px artwork. Padding is
now set at the largest output size and scaled for each smaller one. - Small icon sizes are sharp.
.icoand.icnsframes are each rendered at their
own size instead of being shrunk from one 256 px or 1024 px image. - The preview matches the export. For PNG sources the preview stretched the image
to the canvas and ignored padding, zoom and background; it now uses the export code.
It also shows formats without transparency (JPG, BMP, PDF, iOS) on their background. - The size boxes no longer mislead. Width and height stayed editable for icon and
wallpaper profiles, changed the preview, and were then ignored by the export. They
now appear only for Convert / resize. - The app starts without Cairo. 1.x exited on systems without the Cairo library,
which included every stock Windows install. - The macOS
.icnscontents are described correctly. Pillow's ICNS writer has no
16 px slot; 2.0 renders the 32 to 1024 px images it does store and the docs say so. - The window no longer freezes during long exports.
- A broken or unsupported file shows a message instead of an error inside the
preview, and a file that is not an image is refused when opened.
Removed
- The
iconutilfallback for.icns. Pillow writes.icnson every system, so the
macOS-only subprocess path was dead code in practice. requirements.txtand the hand-writtenVERSION.txt; dependencies live in
pyproject.tomland the Windows version resource is generated from the package
version at build time.