Skip to content
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

Support webp image format #636

Closed
hsandt opened this issue Nov 26, 2023 · 4 comments · Fixed by #642
Closed

Support webp image format #636

hsandt opened this issue Nov 26, 2023 · 4 comments · Fixed by #642
Labels
enhancement New feature or request

Comments

@hsandt
Copy link

hsandt commented Nov 26, 2023

Description of requested feature:

Add webp (with adequate quality range 0-100) to the list of supported image format in Preferences > Main > Image format

Reasons for adding feature:

Allows me to capture many lightweight screenshots during development of my apps (esp. games) without having to convert png to webp afterward.

Extra information, such as Shutter version, operating system and ideas for how to implement:

Linux Ubuntu 22.04 (webp support already installed, I can preview webp images in eye of gnome at least)
Shutter 0.99.2 Rev.1593

(P.S.: any way to see version in app instead of using command line shuuter -v which printed a bunch of errors before finally showing the version number?)

@hsandt hsandt added the enhancement New feature or request label Nov 26, 2023
@DarthGandalf
Copy link
Member

any way to see version in app instead of using command line

Help>About should show it

@Photon89
Copy link
Member

It gives the wrong value for the current stable release though. I created the release tarball right after bumping the version info and it looks like something went wrong...

@Photon89
Copy link
Member

Regarding the actual issue: https://github.com/aruiz/webp-pixbuf-loader adds webp support to GDK Pixbuf. If you install it, Shutter will be able to open webp images and the editor will be able to edit them. But I assume that we would need to add an entry to the settings dialog where the image format for saving new screenshots can be selected. The entry should only be visible if the dependency is available though.

@Photon89 Photon89 linked a pull request Dec 27, 2023 that will close this issue
@Photon89
Copy link
Member

Webp support is implemented in #642. Please test!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants