Repository navigation
Releases
Releases · sliva0/tgradish
tgradish v2.1.1
Changed
- The GUI's scale goes down to 50% rather than 20%, where the list and its
icon still fit; ascalein the config file outside 0.5 to 5 is read as
the nearer end rather than as 1.
Fixed
- The GUI no longer crashes showing a picture wider or taller than the
graphics card takes, as a long strip of sprites or a large panorama: the
preview shows it scaled down to fit, and converting still reads all of
it. - A drag on the GUI's preview no longer goes on to crop another file's
picture when Delete or Ctrl+Z shows another file halfway through it. - The GUI's crop, while it keeps a shape, stops at the picture's edge
rather than being pushed back from it by Ctrl and the arrows or by a
dragged corner, and one drawn starts where the press began. - Ctrl and the arrows make the GUI's crop larger again where an integer
scale such as ½ holds it to whole blocks, a block at a time. - The GUI's crop shows the ring of the keyboard's focus as Tab or
Shift+Tab brings the focus to it, not only once the arrows move it. - The GUI's number fields of whole numbers no longer show a decimal, as
"235.0 px", at a scale below 1, take numbers typed with spaces between
their thousands, as "1 200", again, and the integer scale's, emptied,
keeps its scale. - Escape in a GUI number field left as it was closes the dialog it is in
at once; only a field with something to put back keeps the first one. - The GUI shows its icon and name over the list at a scale below 1 too,
and its buttons there are level with those over the preview at a scale
such as 125% or 150%. - The GUI's settings no longer go blank under the preview while the file
list's edge is dragged with them scrolled to their end. - The GUI's bar of an encode that comes out too large keeps its height,
and that of fitting a.tgskeeps saying what its first try came to
while fitting tries again. - A file put back after it was removed names a preset renamed meanwhile
by its new name, as do the steps Ctrl+Z goes back through.
Full Changelog: v2.1.0...v2.1.1
tgradish v2.1.0
Added
- The GUI undoes changes to a file's settings with Ctrl+Z and makes them
again with Ctrl+Shift+Z or Ctrl+Y, or from the menu behind the gear.
Each file keeps its own history while it is open.
Changed
- Making a
.tgsshows how far it got: the GUI's bars and the command
line's fill as the art is drawn, fitted and compressed. Where the result
comes out too large and fitting tries again, each try has a bar of its
own, as a WebM's encodes do.--jsonprintsadvancedandmissed
events for these. - The GUI's number fields take what is typed on Enter, Tab or a click
elsewhere, and Escape puts back what was there. They read units and a
decimal comma, and Up, Down and the wheel step them. The − and + buttons
repeat while held. - The GUI's crop snaps to the picture's edges and middle unless Ctrl is
held, keeps its shape with Shift and its middle with Alt, goes back on
Escape while dragged, and moves by the arrows once clicked. - The GUI's timeline shows the time under the pointer, seeks as the button
goes down, and slides the part used when an end is dragged with Shift. - The GUI's preview zooms in smaller steps and further, shows its scale,
and pans across with Shift+wheel. Pixel art is shown at whole screen
pixels to each of its own. - The GUI's "Smooth scrolling" setting is now "Motion" (
motionin the
config file, which still readssmooth-scrolling). Progress, the list,
notices and dialogs ease rather than jump, and nothing moves where the
system asks for less motion. - What scrolls in the GUI shows a scroll bar and fades where there is
more, and each file keeps its own scroll position. - The GUI without files is one drop zone, and the bar under the preview
names the file the result is saved as. - Fitting a WebM no longer says why it didn't try a lower frame rate, in
the GUI, the command line or--json'sdecidedevents.
Fixed
- On KDE Plasma 6, the GUI's system accent is the accent chosen in
Plasma's settings, not the darker selection colour made from it. - A grey or dark accent no longer leaves the GUI's chosen items, main
button and progress faint on the dark theme.
Full Changelog: v2.0.0...v2.1.0
tgradish v2.0.0
tgradish rewritten in Rust: one program, with a GUI and a command line,
that makes every kind of Telegram sticker and emoji.
Added
- A GUI,
tgradish gui [FILES]: drop files in, crop, cut and preview
them, and see what Telegram would say of the result. - Animated stickers and emoji as
.tgs(-f tgs), drawn from pixel art
and fitted into 64 KiB. - Static stickers and emoji as WebP (
-f webp). - Emoji (
--target emoji) beside stickers. - Presets (
--preset fast|balanced|best, and your own) and a config
file (tgradish config). - Size fitting by bitrate, quality, frame rate or length (
--fit), and a
choice of how a picture is cropped, scaled and timed. tgradish watch DIR, converting what appears in a folder.tgradish inspect, which says what a file holds and whether Telegram
would take it.--jsonoutput andtgradish describefor scripts and front-ends, and
-q, which prints only the paths of the files made.- Shell completions and man pages.
- ffmpeg built in, in the release builds that say so, or the system's.
--threads N,threadsin the config file and Threads in Settings, which
limit how many threads a conversion uses.- Releases for Linux (glibc and musl, x86-64 and aarch64, as archives,
.deb and .rpm), Windows, the AUR and a Nix flake.
Changed
- tgradish is no longer a Python package: install a release build or a
package, or build it withcargo install tgradish. converttakes its inputs as arguments, without-i, and its options
have new names: seetgradish convert --help.
Removed
- The config file of ffmpeg command lines, with
config copyfromand
config restore: presets and flags take their place, and
--encoder-optionsand--ffmpeg-argspass on what they don't cover. --multithreading,--loop,--maxrate,--minrateand
--verbosity.
Full Changelog: https://github.com/sliva0/tgradish/commits/v2.0.0