-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] PNG convert/pngcrush extension #405
base: master
Are you sure you want to change the base?
Conversation
Thing is- a nemo action may be more easier to maintain. If it was to like open up a new dialog and have lots of other options it'd make sense. Otherwise this may be best to be put into nemo-image-converter? |
Oh I agree actually. But since image converter isn't mine I thought I'd just start with a pull request like this and see what came out of the discussion. If you'd like me to modify image converter to add this and resubmit I will. Sent via the Samsung Galaxy A11, an AT&T 4G LTE smartphone
-------- Original message --------From: Joshua Peisach ***@***.***> Date: 3/26/21 7:25 AM (GMT-06:00) To: linuxmint/nemo-extensions ***@***.***> Cc: threadreaper ***@***.***>, Author ***@***.***> Subject: Re: [linuxmint/nemo-extensions] PNG convert/pngcrush extension (#405)
Thing is- a nemo action may be more easier to maintain. If it was to like open up a new dialog and have lots of other options it'd make sense. Otherwise this may be best to be put into nemo-image-converter?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Well It'd probably end up being rewritten in C, using something like the ImageMagick API |
That would probably improve the performance. I may expand this to support conversion to multiple image formats and handle a few other operations as well. I just happen to be doing a project that requires dealing with a ton of images and they need to be PNGs with clean iTxt chunks, so I produced this real quick. I just thought I'd share in case it was useful to anyone else. I think something like a multi-format "swiss army knife" for basic image operations would be more justified in being it's own separate extension. If I do decide to tackle that project I will probably consider doing it in C.Sent via the Samsung Galaxy A11, an AT&T 4G LTE smartphone
-------- Original message --------From: Joshua Peisach ***@***.***> Date: 3/26/21 1:17 PM (GMT-06:00) To: linuxmint/nemo-extensions ***@***.***> Cc: threadreaper ***@***.***>, Author ***@***.***> Subject: Re: [linuxmint/nemo-extensions] PNG convert/pngcrush extension (#405)
Well It'd probably end up being rewritten in C, using something like the ImageMagick API
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi, I'll mark this as WIP. In Cinnamon 5.2 we're planning to introduce a new spice type: nemo actions. This could be done with a single text file as a nemo action, not just easier to maintain but easier for people to install, review, etc.. |
This is an extension for Nemo that adds context menu shortcuts to bulk-convert images to PNG format, and optionally optimize them with pngcrush. Obviously, pngcrush is a dependency, but if it's not present, the image conversion pieces should still work. Depending on how many images are selected to convert/crush, the process can be lengthy, so a progress window is shown to the user. Python dependencies are pillow and PySimpleGUI, both available on PyPi.