meowtec / imagine Goto Github PK
View Code? Open in Web Editor NEW🖼️ PNG/JPEG optimization app for macOS, Windows and Linux.
License: MIT License
🖼️ PNG/JPEG optimization app for macOS, Windows and Linux.
License: MIT License
TODO:
0.11 win10 无法优化, 质量或者色彩调整,无任何反映
优化后里面没有图片显示
Any pointers are appreciated.
注意:此下载方式已失效,目前没有找到免费好用的存储分发服务,暂不提供其他下载方式。
请移步 https://github.com/meowtec/Imagine/releases
当然你可以在一些国产的软件站上面找一找,但是我不会对这些来源的安全性负责。
I would like to configure the ability to send the resized images to an email address. This would require another options panel to configure the SMTP server, plus another option in the ActionsBar for email.
I have built electron apps before, but this one is a bit more complex, especially regarding the use of react which I have never used.
I would love to try and contribute and add this feature myself, but would greatly appreciate a few pointers.
Basically, where might you suggest I start to add the components for the Options Popup, which would be quite similar to the ImageOptions panel, except of course it would be a form with SMTP server address, SMTP credentials and from address.
Thank you for any assistance you could provide. And thank you for the project, I like it quite a bit and would love to contribute with some assistance.
Hi,
I am using Imagine on my Manajro Linux computer. I downloaded the AppImage and execute that. But after importing images, it doesn't optimize them. There is a red indicator appears, mean the images are not optimized.
Can you help with this ?
eg: 0.5.0
eg: Windows 10 x64
当我同时处理100张或者更少的图片时,一旦处理完毕,当我点击“清理”时,会出现菜单栏移位和卡死的情况,如下图:
https://i.loli.net/2019/05/28/5cec7e60098e446910.png
此时无法点击部分菜单,
No progress bar is a big flaw.I cannot know the progress of the conversion
没有进度条是很大缺陷,我不知道转换的进度
I did a comparative evaluation of the same type of image compression tools
我做了一个同类型的图片压缩工具的对比测评
Comparative evaluation summary picture
对比测评总结图片
https://i.loli.net/2020/08/26/y89fvUXB16c7VEw.jpg
Text summary
文字总结
https://oldmenplus.xyz/%E6%9C%AC%E5%9C%B0%E5%9B%BE%E7%89%87%E5%8E%8B%E7%BC%A9%E5%B7%A5%E5%85%B7%E6%B5%8B%E8%AF%84/
If you offend, please forgive me
如有冒犯,请原谅
This tool is one of the easier to use for the time being. I'm glad to use it
该工具是暂时我接触到的比较好用的几个之一,很高兴可以用到
(-ω-`)⌒)_
eg: 0.3.1
eg: Windows 10 x64
What happened?
希望加个批量处理完后自动保存文件。。。
The desktop file is lacking a Categories=
entry in the *.desktop
file.
According to the menu spec,
By including one of the Main Categories in an application's desktop entry file, the application will be ensured that it will show up in a section of the application menu dedicated to this category. If multiple Main Categories are included in a single desktop entry file, the entry may appear more than once in the menu.
Hence, please add at least one of the following in the Categories=
key.
Main Category | Description | Notes |
---|---|---|
AudioVideo | Application for presenting, creating, or processing multimedia (audio/video) | |
Audio | An audio application | Desktop entry must include AudioVideo as well |
Video | A video application | Desktop entry must include AudioVideo as well |
Development | An application for development | |
Education | Educational software | |
Game | A game | |
Graphics | Application for viewing, creating, or processing graphics | |
Network | Network application such as a web browser | |
Office | An office type application | |
Science | Scientific software | |
Settings | Settings applications | Entries may appear in a separate menu or as part of a "Control Center" |
System | System application, "System Tools" such as say a log viewer or network monitor | |
Utility | Small utility application, "Accessories" |
In addition, you could specify one or more from the longer list of Additional Categories.
Please test the result with desktop-file-validate
and make sure it passes.
electron-builder offers native support for this since v19.22.1.
Reference: AppImage/appimage.github.io#2
I there, thanks for this great soft,
Would be great to have a button to remove all images that are going to be bigger.
Use case :
Some other software have similar feature, for example in RIOT :
There are 2 indicators to prevent the user to increase the file size he originally wants to reduce.
Another example from Caesium :
jpeg -> png:
just use pngquant (OSX)
ImageMagick + pngquant
png -> jpeg:
use https://github.com/meowtec/mozjpeg
0.11 win10 无法优化, 质量或者色彩调整,无任何反映
优化后里面没有图片显示
An integrated possiblity to change image dimensions would be great.
The software works fine and I really like it when it comes to optimize images with Imagine. However I noticed that while saving an image to another file extension, the target file extension doesn't adds in the image name.
For example I am optimizing a PNG image and save it as Webp, then in the final file it still shows the PNG extension though the converted file is Webp. Same happens with the JPG image.
It is minor issue but I it needs to be fixed.
I think it's time to update this project's dependencies again as per #54. The currently used Electron version is 7 while the latest stable Electron version is 8.2.1. NodeJS could also be updated from the LTS version 10 to the LTS version 12.
eg: 0.3.1
eg: Windows 10 x64
加了个三百多张PNG图片的文件夹,想转换为JPG。
发现要等软件的界面上所有的图片左上角变成绿点,点保存才有用。
中途点击的话保存的图片则不全。
这个交互是否可以重新考虑。不是太方便,图片过多的时候,也很难查看到转换进度。
能实现webp到jpg的转换吗
Imagine/modules/backend/menu-actions.ts
Lines 31 to 45 in f68ae12
I have just discovered there does not appear to be a way to resize the dimensions of an image? Where might I find the best place to change this? I am just going to statically set it for now and add menus/functions later.
在批量执行了400多张图片后发现,少部分的图片体积不仅没减少,还增加了。
另外如果要换一种格式,增加量可能达到400%多。
latest version
eg: Windows 10 x64
npm i
npm start
(electron) 'getName function' is deprecated and will be removed. Please use 'name property' instead.
and electron does not open. it shows electron as running in windows tasks.
没有vpn下载不了啊。
0.3.2貌似不支持gif?
I created the flatpak package for Imagine.
https://github.com/scx/imagine-flatpak
I am in the process of submitting it to the Flathub repo.
flathub/flathub#786
https://github.com/scx/flathub/tree/com.github.meowtec.Imagine
It would be nice if the author decided to participate in the further development of this flatpak package.
First of all, I would ask you to verify the AppData file:
https://github.com/scx/flathub/blob/com.github.meowtec.Imagine/com.github.meowtec.Imagine.appdata.xml
Please also verify the Desktop file:
https://github.com/scx/flathub/blob/com.github.meowtec.Imagine/com.github.meowtec.Imagine.desktop
Add an option to convert all (or selected) files to one format. Right now, need to do it for each file separately.
Can the command line call can the command line call the software compressed image?If not, can you support it?
能否命令行调用软件压缩图片?如果没有的话能否支持?
If you offend, please forgive me, I'm glad to use it
如有冒犯,请原谅,很高兴可以用到
eg: 0.5.0
eg: Windows 10 x64
#12 提到过,这个问题我踩了一个大坑。。。
给数据库的图片做压缩,为了方便替换,得保证压缩前后名称不变,结果emmmm。
And release v1.0
现在默认是jpg格式,想转换成webp格式,还得一个一个的点击,图片太多了,太麻烦了。
希望增加一个软件功能,默认设置成什么格式。
然后导入图片之后,自动根据设置来就行了。
你好,我按照你的代码重新编写代码后,发现使用webp图片进行压缩后,图片体积反而增大了,想问下这种情况是正常的吗?
操作系统:win10 64
工具:cwep.exe
图片格式: webp,22KB
压缩后:webp,120KB
I am running Elementary OS, how can I install this? :D
Hey,
I see no reason for an image optimizer to require administrative privileges. This kinda scares users off, at least it scares off me.
Is there any reason for doing this?
Does it have an API since I want to integrate it into my own project
This application seem not to be updated in a while. Are you still maintaining it? We made an AUR for it here https://aur.archlinux.org/packages/imagine-git/ and we wanted to know if anyone is keeping this one updated. Cheers!
0.5
mac 10.14.1
I have to drop pic to the app or find it in the path, but I can't paste the pic from my clipboard which I captured from the screenshot.
Please support paste picture from the clipboard, which is really helpful to save our time, thanks!
这一类需求越来越频繁,现在是用的两个工具来压缩,PNG和JPG用Imagine,GIF用另一个。如果Imagine能集成gif压缩就太好了。
感谢作者提供如此好用的工具。
eg: 0.5.0
eg: Windows 10 x64
What happened?
directly optimise individual files from the context menu or an entry to "open in imagine" for single or multiple file select
npm run release 并没有打包出
如果jpg图形以.JPG结尾,在覆盖原文件时会生成一个带两个后缀的副本。
win平台能否有便携版?
on npm run dev
run get
modules/renderer/store/reducer.ts(58,49): error TS2345: Argument of type '{ [x: string]: ((state: ITaskItem[], action: Action<ITaskAddPayloadItem[]>) => ITaskItem[]) | ((s...' is not assignable to parameter of type 'ReducerMap<ITaskItem[], ITaskItem[]>'.
Index signatures are incompatible.
Type '((state: ITaskItem[], action: Action<ITaskAddPayloadItem[]>) => ITaskItem[]) | ((state: ITaskItem...' is not assignable to type 'Reducer<ITaskItem[], ITaskItem[]> | ReducerNextThrow<ITaskItem[], ITaskItem[]>'.
Type '(state: ITaskItem[], action: Action<string[]>) => ITaskItem[]' is not assignable to type 'Reducer<ITaskItem[], ITaskItem[]> | ReducerNextThrow<ITaskItem[], ITaskItem[]>'.
Type '(state: ITaskItem[], action: Action<string[]>) => ITaskItem[]' has no properties in common with type 'ReducerNextThrow<ITaskItem[], ITaskItem[]>'.
modules/renderer/store/reducer.ts(122,55): error TS2345: Argument of type '{ [x: string]: ((state: IGlobals, action: Action<string>) => { activeId: string | undefined; upda...' is not assignable to parameter of type 'ReducerMap<IGlobals, IGlobals>'.
Index signatures are incompatible.
Type '((state: IGlobals, action: Action<string>) => { activeId: string | undefined; updateInfo?: IUpdat...' is not assignable to type 'Reducer<IGlobals, IGlobals> | ReducerNextThrow<IGlobals, IGlobals>'.
Type '(state: IGlobals, action: Action<string>) => { activeId: string | undefined; updateInfo?: IUpdate...' is not assignable to type 'Reducer<IGlobals, IGlobals> | ReducerNextThrow<IGlobals, IGlobals>'.
Type '(state: IGlobals, action: Action<string>) => { activeId: string | undefined; updateInfo?: IUpdate...' has no properties in common with type 'ReducerNextThrow<IGlobals, IGlobals>'.
eg: 0.5.1
eg: Windows 10 x64
mozjpeg更新到4.0了,imagine也更新一下好,你这个超好用呀~
Latest appimage does not display the imagine icon. Tested on Arch Linux with Gnome. Cheers!
比较一下, https://squoosh.app/
开源代码 https://github.com/GoogleChromeLabs/squoosh
连个mozJPG和optiPNG压缩应该都没有支持吧
压缩率和压缩选项差劲
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.