ADmad
f712d684db
Fix typo in mime type. ( #1399 )
2024-10-27 11:10:32 +01:00
Oliver Vogel
3618c8fbaf
Add .well-known directory to .gitattributes
2024-10-19 16:43:11 +02:00
Oliver Vogel
d09d985f0d
Add funding-manifest-urls
2024-10-19 16:41:09 +02:00
Oliver Vogel
1e0a2b6d76
Add MediaType::fileExtensions() & MediaType::fileExtension()
3.9.0
2024-10-06 17:37:56 +02:00
Oliver Vogel
20ad74ed6b
Add FileExtension::mediaType() & FileExtension::mediaTypes()
2024-10-06 17:28:02 +02:00
Oliver Vogel
57508a5f5a
Add new method Format::fileExtension()
2024-10-06 17:15:16 +02:00
Oliver Vogel
4a5a7f6065
Add method Format::mediaType()
2024-10-06 17:07:06 +02:00
Oliver Vogel
cfa0986afe
Format phpunit config file
2024-10-06 17:06:43 +02:00
Oliver Vogel
8cf0405a9a
Pass mime type manually to avoid finfo dependency
2024-10-06 16:37:26 +02:00
Oliver Vogel
a09c7c9c33
Remove unnecessary brackets
2024-10-06 16:13:07 +02:00
Oliver Vogel
eff5c7d81a
Change test values
2024-10-06 11:55:01 +02:00
Oliver Vogel
623476d8b0
Change test values
2024-10-06 11:50:15 +02:00
Oliver Vogel
e77a33394c
Switch EncodedImage::class to temporary stream resource
2024-10-06 11:36:17 +02:00
Oliver Vogel
e244bc9c93
Remove unnecessary brackets
2024-10-06 11:25:12 +02:00
Oliver Vogel
e9dbb82486
Remove already configured path from phpstan call
2024-09-14 08:47:04 +02:00
Oliver Vogel
e878ccc4a8
Add doc blocks
2024-09-13 09:02:27 +02:00
Oliver Vogel
8e14e99324
Edit description of ImageInterface::fill()
2024-08-21 15:35:29 +02:00
Oliver Vogel
1786ad5e17
Fix bug in ResizeCanvasModifier::class
3.8.0
2024-08-16 16:57:26 +02:00
Oliver Vogel
21cb93dcc6
Fix alpha blending in ResizeCanvasModifier
2024-08-15 16:11:05 +02:00
Oliver Vogel
3ba445b2d3
Fix bug with overlapping colors in ResizeCanvasModifier ( #1394 )
2024-08-14 15:07:00 +02:00
Oliver Vogel
50a16bbdc1
Fix lost transparency when converting to GIF format
2024-08-14 14:57:09 +02:00
Oliver Vogel
54aa51efda
Add missing doc blocks
2024-08-11 17:13:33 +02:00
Oliver Vogel
706ca2c31d
Remove test code
2024-08-11 16:05:34 +02:00
Oliver Vogel
32548d0332
Add tested support for PHP 8.4 ( #1321 )
2024-08-11 13:52:46 +02:00
Oliver Vogel
9deb50b0bc
Change colorspace adjustment logic
2024-08-11 13:41:19 +02:00
Oliver Vogel
e7554ec048
Allow png results to be 'grayscale' with 'indexed' option
2024-08-11 13:27:46 +02:00
Oliver Vogel
78534a3b0c
Let gd's PngEncoder encode binary transparency in indexed mode
2024-08-11 13:24:53 +02:00
Oliver Vogel
20dae08304
Merge branch 'develop' into feature/png-encoder-indexed-option
2024-08-11 12:03:19 +02:00
Oliver Vogel
9f5e0624d4
Fix bug in cloner transparency ( #1388 )
...
If an image was cloned with cloneEmpty() and a fully transparent color for exampe "rgba(255, 255, 255, 0)" the turned out as white background when encoding formats with only binary transparency like GIF.
This patch sets the background color as fully transparent if it has an alpha channel value is below `0.5`.
2024-08-11 12:02:30 +02:00
Oliver Vogel
31779d0263
Add ability to read instances of EncodedImaged::class ( #1386 )
...
* Implement EncodedImageObjectDecoder::class
* Add tests for EncodedImageObjectDecoder::class
2024-08-11 11:43:54 +02:00
Oliver Vogel
4a614ddfb8
Implement new method ColorInterface::isClear() ( #1387 )
2024-08-11 11:41:38 +02:00
Oliver Vogel
6196ff1eb9
Fix bug when loading png greyscale type
...
turn image into rgb if colorspace if other than CMYK, RGB, HSL or HSV.
this prevents working on greyscale colorspace images when loading from
PNG color type greyscale format.
2024-08-11 11:38:33 +02:00
Oliver Vogel
568444c939
Change logic of encoding indexed PNG format
2024-08-11 11:19:47 +02:00
Oliver Vogel
5d5cf355e4
Add ko-fi support badge
2024-08-10 08:42:28 +02:00
Oliver Vogel
de7fb02efa
Update FUNDING.yml
2024-08-09 16:23:28 +02:00
Oliver Vogel
5e9b4aa681
Rename method
2024-08-05 16:54:09 +02:00
Oliver Vogel
839bc6a3c6
Refactor code
2024-08-05 16:38:16 +02:00
Oliver Vogel
50feb11dce
Refactor code
2024-08-04 08:44:52 +02:00
Oliver Vogel
68479181fc
Reactivate blending color methods on ImageInterface
2024-08-04 08:41:09 +02:00
Oliver Vogel
2adc3b45de
Fix blending problem in GD's PngEncoder
2024-08-03 17:07:53 +02:00
Oliver Vogel
63990a8fb3
Add tests for PNG indexed options
2024-08-03 11:15:29 +02:00
Oliver Vogel
2ee997d98f
Add method to detect PNG color types
2024-08-03 11:04:30 +02:00
Oliver Vogel
460b205687
Rename class
2024-08-03 11:03:32 +02:00
Oliver Vogel
66040006f3
Implement 'indexed' option in PNG encoders
2024-08-03 11:01:03 +02:00
Oliver Vogel
ce4d2bc75c
Set imagick image formats to uppercase
2024-07-28 08:42:12 +02:00
Oliver Vogel
6daaedf7ed
Add non-standard mime type image/x-heic
2024-07-10 13:49:46 +02:00
P.H. Knot
5451ff9f90
Allow animated WEBP's ( #1375 )
...
* Don't merge layers when image is animated
* Update src/Drivers/Imagick/Encoders/WebpEncoder.php
---------
Co-authored-by: Oliver Vogel <oliver@olivervogel.com>
3.7.2
2024-07-05 15:35:01 +02:00
Oliver Vogel
115d2ad3be
Rewrite return type
2024-07-03 17:19:15 +02:00
Oliver Vogel
3b7f6a0cde
Remove redundant code
2024-07-03 17:18:36 +02:00
Oliver Vogel
75ab2c2225
Refactor format detection
2024-07-03 17:16:10 +02:00