0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations/image/test/fixtures/basic-image
Valentin Bersier e4348a4eb4
@astrojs/image: add a background option/prop to replace the alpha layer (#4642)
* Added `background` option and prop.
This optional color specifies which background to use when removing the
alpha channel if the output format doesn't support transparency.

* Modified existing tests

* Fixed wrong dimensions in tests

* Fixing a few instances of jpeg vs jpg

* Added color checking

* working on the tests

* tests are now passing

* Adding tests

* Added tests for background color

* no need to test with subpath

* Added fixture

* Renamed test fixture for background-color

* skipping test until fixed

* Typo

* Working on tests

* tests are passing

* Updated readme and added changeset

* Updated lockfile

* Updated lockfile

* Updated lockfile

Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2022-09-07 17:22:11 +00:00
..
public Image integration refactor and cleanup (#4482) 2022-08-30 21:09:44 +00:00
server Adds an @astrojs/image integration for optimizing images (#3694) 2022-07-01 15:47:48 +00:00
src @astrojs/image: add a background option/prop to replace the alpha layer (#4642) 2022-09-07 17:22:11 +00:00
astro.config.mjs [@astrojs/image] adds a logger to the the image integration (#4342) 2022-08-22 19:13:19 +00:00
package.json Adds a new <Picture> component to the image integration (#3866) 2022-07-08 21:37:55 +00:00