Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
flozz committed Oct 20, 2022
1 parent 6542bbe commit 5bedefc
Show file tree
Hide file tree
Showing 6 changed files with 133 additions and 65 deletions.
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ Changelog

* **[NEXT]** (changes on ``master`` but not released yet):

* Nothing yet :)

* **v1.2.0:**

* Interface / User Experience:

* More compact and less bloated interface (#17)
Expand All @@ -214,7 +218,7 @@ Changelog
* Fix a crash when generating thumbnails for JPEGs with an invalid
orientation EXIF tag (#29)
* Fix inverted width and height with rotated JPEGs
* Fix a crash of the image import process when generating the thubmanil of
* Fix a crash of the image import process when generating the thumbnail of
a broken image (#27)
* Fix a crash of the optimization batch if an error occurs when optimizing
an image (#27)
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ This file is a memo for the maintainer.
* Check the locales list is up to date in ``winbuild/clean-gtk.sh``
* Check Copyright years in the About dialog
* Update screenshots
* Check screenshot links in ``linuxpkg/org.flozz.yoga-image-optimizer.metainfo.xml``


1. Release
Expand All @@ -19,6 +18,7 @@ This file is a memo for the maintainer.
* Update version number in ``setup.py``
* Update version number in ``yoga_image_optimizer/__init__.py``
* Add release in ``linuxpkg/org.flozz.yoga-image-optimizer.metainfo``
* Check appstream file: ``appstream-util validate-relax linuxpkg/org.flozz.yoga-image-optimizer.metainfo.xml``
* Edit / update changelog in ``README.rst``
* Commit / tag (``git commit -m vX.Y.Z && git tag vX.Y.Z && git push && git push --tags``)

Expand Down
184 changes: 124 additions & 60 deletions linuxpkg/org.flozz.yoga-image-optimizer.metainfo.xml
Original file line number Diff line number Diff line change
@@ -1,69 +1,133 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.flozz.yoga-image-optimizer</id>
<name>YOGA Image Optimizer</name>
<project_license>GPL-3.0-or-later</project_license>
<summary>A graphical tool to convert and optimize JPEG, PNG and WebP images</summary>
<developer_name>Fabien LOISON</developer_name>

<url type="homepage">https://yoga.flozz.org/</url>
<url type="bugtracker">https://github.com/flozz/yoga-image-optimizer/issues</url>
<url type="contact">https://contact.flozz.fr/</url>
<url type="donation">https://github.com/flozz/yoga-image-optimizer#supporting-this-project</url>
<id>org.flozz.yoga-image-optimizer</id>
<name>YOGA Image Optimizer</name>
<project_license>GPL-3.0-or-later</project_license>
<summary>Convert and optimize JPEG, PNG and WebP images</summary>
<developer_name>Fabien LOISON</developer_name>

<categories>
<category>Utility</category>
<category>Graphics</category>
</categories>
<url type="homepage">https://yoga.flozz.org/</url>
<url type="bugtracker">https://github.com/flozz/yoga-image-optimizer/issues</url>
<url type="contact">https://contact.flozz.fr/</url>
<url type="donation">https://github.com/flozz/yoga-image-optimizer#supporting-this-project</url>

<description>
<p>
YOGA Image Optimizer is a graphical user interface for YOGA Image that
converts and optimizes the size of JPEGs, PNGs and WebP image files.
</p>
<p>
You will be able to save about 30 % of space on JPEGs and 20 % on PNGs.
Optimizing a WebP image will save you only few percents... but
converting a JPEG to a lossy WebP can reduce image size to a half and
converting a PNG to a lossy WebP can save you 35 % on average.
</p>
<p>
Please note that image optimization is slow and may require a lot of RAM
(for example, the JPEG encoder needs 300 MB of RAM per Mpix).
</p>
</description>
<categories>
<category>Utility</category>
<category>Graphics</category>
</categories>

<screenshots>
<screenshot type="default">
<caption>Main window while optimizing images</caption>
<image>https://yoga.flozz.org/images/screenshot.png</image>
</screenshot>
</screenshots>
<launchable type="desktop-id">org.flozz.yoga-image-optimizer.desktop</launchable>
<provides>
<binary>yoga-image-optimizer</binary>
<binary>yoga</binary>
</provides>

<releases>
<release version="1.1.2" date="2022-09-12">
<description>
<p>New translations:</p>
<ul>
<li>Spanish</li>
<li>Russian</li>
</ul>
<p>Updated translation:</p>
<ul>
<li>Turkish</li>
</ul>
</description>
</release>
<release version="1.1.1" date="2021-09-29"/>
<release version="1.1.0" date="2021-09-06"/>
<release version="1.0.0" date="2021-06-11"/>
</releases>
<description>
<p>
YOGA Image Optimizer is a free tool to convert and optimize images. It currently
supports JPEG, PNG and WebP as output formats and much more image formats
are supported as input.
</p>
<p>
With YOGA, you will be able to save about 30 % of space on JPEGs and 20 % on PNGs.
On WebP images, you will only save few percents... but converting a
JPEG to a lossy WebP can reduce image size to a half and converting
a PNG to a lossy WebP can save you 35 % on average.
</p>
<p>
Please note that image optimization can be slow and may require a lot of RAM, especially
for JPEGs. For example, the JPEG encoder needs 300 MB of RAM and 3 min
per Mpix (PNG and WebP encoders are less resource hungry).
</p>
</description>

<screenshots>
<screenshot type="default">
<caption>Main windows</caption>
<image>https://raw.githubusercontent.com/flozz/yoga-image-optimizer/master/screenshot.png</image>
</screenshot>
<screenshot>
<caption>Main view with output options</caption>
<image>https://yoga.flozz.org/images/v1.2.0/yoga-image-optimizer_v1.2_output-options.png</image>
</screenshot>
<screenshot>
<caption>Main view with transformation options</caption>
<image>https://yoga.flozz.org/images/v1.2.0/yoga-image-optimizer_v1.2_transformations-options.png</image>
</screenshot>
<screenshot>
<caption>Optimization in progress</caption>
<image>https://yoga.flozz.org/images/v1.2.0/yoga-image-optimizer_v1.2_optimizing.png</image>
</screenshot>
<screenshot>
<caption>YOGA Image Optimizer settings</caption>
<image>https://yoga.flozz.org/images/v1.2.0/yoga-image-optimizer_v1.2_settings.png</image>
</screenshot>
</screenshots>

<releases>

<release version="1.2.0" date="2022-10-20">
<description>
<p>Interface / User Experience:</p>
<ul>
<li>More compact and less bloated interface (#17)</li>
<li>Allow opening input images in the default image viewer by double-clicking
on them</li>
<li>Asynchronous generation and loading of thumbnails to not freeze
the interface when importing a lot of images (#26)</li>
<li>Speeded up thumbnail loading on Linux by using already generated
thumbnails from the shared cache</li>
<li>Speeded up thumbnail generation using BOX sampling instead
of LANCZOS</li>
<li>Displayed a warning icon if the output image is larger than
the input one</li>
</ul>
<p>Bugfix / Code Improvement:</p>
<ul>
<li>Fix a crash when generating thumbnails for JPEGs with an invalid
orientation EXIF tag (#29)</li>
<li>Fix inverted width and height with rotated JPEGs</li>
<li>Fix a crash of the image import process when generating the
thumbnail of a broken image (#27)</li>
<li>Fix a crash of the optimization batch if an error occurs when
optimizing an image (#27)</li>
<li>Fix issues related to "concurrent.futures" on Python 3.7 and
3.8 (#32)</li>
<li>Updated the code to not use deprecated constants on newer Pillow
versions
</li>
<li>Various typo fixed (@kianmeng, #31)</li>
</ul>
<p>Translations:</p>
<ul>
<li>Dutch translation (incomplete) (@Vistaus, #25)</li>
<li>German Translation (Jürgen Benvenuti)</li>
</ul>
</description>
</release>

<release version="1.1.2" date="2022-09-12">
<description>
<p>New translations:</p>
<ul>
<li>Spanish</li>
<li>Russian</li>
</ul>
<p>Updated translation:</p>
<ul>
<li>Turkish</li>
</ul>
</description>
</release>

<release version="1.1.1" date="2021-09-29" />
<release version="1.1.0" date="2021-09-06" />
<release version="1.0.0" date="2021-06-11" />

</releases>

<metadata_license>CC0-1.0</metadata_license>
<content_rating type="oars-1.1" />

<launchable type="desktop-id">org.flozz.yoga-image-optimizer.desktop</launchable>
<provides>
<binary>yoga-image-optimizer</binary>
<binary>yoga</binary>
</provides>
<metadata_license>CC0-1.0</metadata_license>
<content_rating type="oars-1.1" />
</component>
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name="yoga_image_optimizer",
version="1.1.2",
version="1.2.0",
description="A graphical interface to convert and optimize JPEG, PNG and WebP images (based on YOGA)",
url="https://github.com/flozz/yoga-image-optimizer",
license="GPLv3",
Expand Down
2 changes: 1 addition & 1 deletion yoga_image_optimizer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

APPLICATION_ID = "org.flozz.yoga-image-optimizer"
APPLICATION_NAME = "YOGA Image Optimizer"
VERSION = "1.1.2"
VERSION = "1.2.0"
2 changes: 1 addition & 1 deletion yoga_image_optimizer/about_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def __init__(self, parent=None):
"JPEG, PNG and WebP images (based on YOGA)"
),
version=VERSION,
copyright="Copyright (c) 2021 Fabien LOISON",
copyright="Copyright (c) 2021-2022 Fabien LOISON",
website_label="yoga.flozz.org",
website="https://yoga.flozz.org/",
license_type=Gtk.License.GPL_3_0,
Expand Down

0 comments on commit 5bedefc

Please sign in to comment.