Fill transparent areas with white in JPEG output (closes #362)
check / check (push) Failing after 57m50s
check / check (push) Failing after 57m50s
JPEG has no transparency, and libvips filled transparent areas with black, so a logo on a transparent background came back on a black square. The README now says JPEG output is filled with white. Model: opus-5-5
This commit was merged in pull request #373.
This commit is contained in:
1 parent
3ad266309c
commit
c9040dee20
2 files changed
+17
-2
No files matched your search
@@ -549,6 +549,10 @@ example.
|
||||
PNG or JPEG XL source. This holds in every output format, `orig` included. So an
|
||||
animated GIF requested as GIF comes back as a still GIF.
|
||||
|
||||
**Transparency.** JPEG has no transparency, so pixa fills the transparent areas
|
||||
of an image with white in JPEG output. This applies to `auto` too, when it
|
||||
chooses JPEG.
|
||||
|
||||
**SVG sources.** `orig` of an SVG source is the SVG itself, unchanged, and is
|
||||
cached like any other image. It is given only at the `orig` size, since pixa
|
||||
does not resize an SVG as SVG. `orig` of an SVG at any other size is refused
|
||||
|
||||
Reference in new issue
Block a user