Skip to content

Commit

Permalink
[TASK] Improve format description of GIFBUILDER (#819)
Browse files Browse the repository at this point in the history
A PNG file is also possible at least since TYPO3 v11.
Additionally, a JPG can either be configured with "jpg" or "jpeg".

Releases: main, 12.4, 11.5

Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and brotkrueml authored Oct 28, 2023
1 parent 3e53a76 commit b9496ef
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Documentation/Gifbuilder/ObjectNames/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,22 +122,26 @@ different each time!
the section "GIFBUILDER".


.. _gifbuilder-format:

.. container:: table-row

Property
format

Data type
"gif" / "jpg"
"gif" / "jpg" / "jpeg" / "png"

Default
gif

Description
Output type.
File type of the output image.

"jpg"/"jpeg" = jpg-image
It is possible to define the quality of a JPG image globally via
:ref:`$TYPO3_CONF_VARS['GFX']['jpg_quality'] <t3coreapi:typo3ConfVars_gfx_jpg_quality>`
or via the :ref:`quality <gifbuilder-quality>` property on a per-image
basis.



Expand Down Expand Up @@ -201,6 +205,8 @@ different each time!
reduceColors-option or render text with niceText-option.


.. _gifbuilder-quality:

.. container:: table-row

Property
Expand All @@ -210,7 +216,7 @@ different each time!
positive integer (10-100)

Description
JPG-quality (if ".format" = jpg/jpeg)
JPG-quality (if :ref:`.format <gifbuilder-format>` = jpg/jpeg)


.. container:: table-row
Expand Down

0 comments on commit b9496ef

Please sign in to comment.