drwhocares / imgdanke Goto Github PK
View Code? Open in Web Editor NEWA small GUI wrapper utility around imagemagick and pingo for image optimization
License: MIT License
A small GUI wrapper utility around imagemagick and pingo for image optimization
License: MIT License
Just to keep things clean in the folder with the .exe.
Scaling is all broken.
If the "AutoSize" property is ever set to "False" everything breaks irreparably.
Need to investigate mitigating these resizing issues.
-nodithering
may potentially produce a better result than dithering for certain images with -pngpalette
values greater than ~75.
More testing needs to be done on more images to see how it compares to magick, and what types of images it does well on, along with which bins it starts becoming worse on.
Default will likely be size.
Optimal decompression optimizations are done by using pingo b63. pingo_b63 -uncompress image.png & pingo_b63 -compress image.png
Optimal png optimizations need to be evaluated to figure out what's general best case. Absolute best case (for pure decompression speed) is just a straight uncompressed version, which is -define png:compression-level=0 -define png:compression-strategy=2 -define png:compression-filter=1
It'll work if you run it a second time, but it should happen after finishing the magick command.
(and create it if it isn't there)
Steps to reproduce:
May be platform specific (WINE 5.12), needs repro. When hanging in this manner, the program uses a sizeable amount of CPU resources.
When doing this over and over again after closing the program while frozen, the program appears to move on to the next file to be worked on, despite the list being selected just the same, and there being no files in the destination folder.
Only replaces images selected.
Currently the process will continue in the background.
As of commit 86f29f1 termination works successfully, but it would be better to implement a method of pausing and asking the user if they actually want to quit.
If pausing is not possible, then simply prompting when hitting the close button. Hitting cancel should always immediately cancel.
This should extend to the Cancel button as well.
This is actually because of the export from psd.
Currently they just go off screen.
Potentially also just display the file sizes somewhere in addition to displaying the total saved.
License need to be properly fixed to adhere to the packages being used, along with following whatever rules are with the package licenses.
There are caveats to this approach, but overall it should work in most cases.
Could be some sort of refreshing issue? Not really certain. User config was empty as expected.
Issue was fixed by adding it manually to the user config file.
Steps to reproduce:
Fortunately, clicking continue in the dialoue that pops up lets the program continue running, seemingly without issue.
Currently they'll get cut off if you maximize, drag the splitter down, then unmaximize.
Apply is still greyed out. Would be nice if the output folder box is filled automatically with the input folder if replace original files is checked.
If the output folder box has the path to a folder that doesn't exist, the program runs but the progress bar doesn't complete and nothing happens.
Currently hardcoded to look for magick.exe and pingo.exe. Remove that limitation when not on Windows.
Would also be nice to be able to automatically generate output names based on parameters (optional, and individually optional).
Function needs to be updated to have the same IS_LINUX fix found in the other command processing functions.
License is very permissive, so redistributing is fine so long as I include the license.
Would also be nice to be able to check to see if there's a new version of imagemagick.
Likely, open a new console window with the output.
Or output to a file.
Requires a long-term solution to both GUI space and code bloat.
I'm not that skilled with C# overall, so I'm liking doing a bunch of things wrong and needlessly bloating the code with every additional option.
Currently a bit too dark
If you end up making the files larger, it still says you saved XX amount.
Basically, if you're just running pingo on files, and you have the option selected, it deletes the files, leaving you with nothing.
Basically, make a copy of the tree, but in a separate location.
pingo's creator is mysterious and I have no idea what the license is. So likely it's the "no license, everything is Cedric's alone" or something. Look into it.
Would also be nice to be able to check if there's a new version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.