1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 20:28:21 +01:00

88 Commits

Author SHA1 Message Date
Oliver Vogel
5e5d2dfe33 Merge branch 'next' into next-method-renaming 2023-10-26 15:53:14 +02:00
Oliver Vogel
e81a9969e3 Change behaviour of Image::getFrame()
Method now throws exception if the given frame could not be found.
2023-10-26 15:46:45 +02:00
Oliver Vogel
2d565be6cb Refine color profiles
- Add tests for profile methods
- Add ProfileInterface
- Add profile methods to ImageInterface
2023-10-26 15:37:24 +02:00
Oliver Vogel
826fd22f4f Rename methods
SizeInterface::getWidth to SizeInterface::width
SizeInterface::getHeight to SizeInterface::height
2023-10-24 20:07:30 +02:00
Oliver Vogel
9150e4bfa3 Rename method
Image::getSize to Image::size
2023-10-24 19:52:21 +02:00
Oliver Vogel
c5a73894a3 Rename methods
Image::getWidth to Image::width
Image::getHeight to Image::height
2023-10-24 19:50:26 +02:00
Oliver Vogel
4cbb0de586 Remove debug code 2023-10-24 17:24:33 +02:00
Oliver Vogel
6d744bf302 Add CropModifier 2023-10-23 15:55:10 +02:00
Oliver Vogel
6cff224934 Rename methods 2023-10-22 15:13:09 +02:00
Oliver Vogel
9ba015742d Fix bugs 2023-10-22 15:11:18 +02:00
Oliver Vogel
03a8ede2c6 Add tests for CMYK colorspace detection 2023-10-22 12:36:36 +02:00
Oliver Vogel
24c8071200 Add colorspace transformation 2023-10-22 12:29:08 +02:00
Oliver Vogel
f16b56103a Revert "Remove Cmyk Colors for now"
This reverts commit f24a33705815b7f48351d4a157795cb064d8747b.
2023-10-22 09:12:32 +02:00
Oliver Vogel
2acb4c547f Change method signature 2023-10-21 17:56:23 +02:00
Oliver Vogel
019c333b22 Refactor & add docblocks 2023-10-21 17:47:35 +02:00
Oliver Vogel
6f1e27b06f Check test result only on color values 2023-10-21 10:20:32 +02:00
Oliver Vogel
b5cbff3a89 Remove remaining toRgb() calls 2023-10-21 09:25:36 +02:00
Oliver Vogel
df4c3e0ddd Adjust modifiers for new color model 2023-10-20 16:08:28 +02:00
Oliver Vogel
f24a337058 Remove Cmyk Colors for now 2023-10-19 18:10:33 +02:00
Oliver Vogel
6445957646 Move color parsers to decoder classes 2023-10-19 17:44:18 +02:00
Oliver Vogel
d95120153f Remove Rgba color space
RGB colors with alpha channel are now handles by RGB.
2023-10-16 17:28:04 +02:00
Oliver Vogel
56ab8b1ea7 Replace color implementation in FillModifiers 2023-10-15 16:35:20 +02:00
Oliver Vogel
dbbcded7a4 Replace driver color classes 2023-10-15 10:39:15 +02:00
Oliver Vogel
d71448e6bf Rename class 2023-10-07 16:08:02 +02:00
Oliver Vogel
d9f4c2440a Revert "Rename methods of ImageInterface"
This reverts commit ba01e87883b18a8da728db8bcab8f50429315ede.
2023-10-07 10:25:41 +02:00
Oliver Vogel
ba01e87883 Rename methods of ImageInterface
Rename pickColor() to getColor() and pickColors() to getColors().
2023-10-07 09:31:08 +02:00
Oliver Vogel
f15a30932c Add tests for EXIF data reading 2023-10-05 17:54:19 +02:00
Oliver Vogel
d317c47871 Add tests for Image::getExif() & Image::setExif() 2023-10-05 17:42:56 +02:00
Oliver Vogel
1c45941711 Add file pointer image decoder 2023-10-04 16:29:28 +02:00
Oliver Vogel
defc71240d Fix doc block reference 2023-10-04 15:49:26 +02:00
Oliver Vogel
af2ee6c11e Add avif encoding 2023-10-03 17:24:52 +02:00
Oliver Vogel
8eb1394b99 Add methods to create new animated images 2023-10-03 10:20:01 +02:00
Oliver Vogel
bc69b936c5 Remove type check 2023-10-03 10:13:40 +02:00
Oliver Vogel
635567e9c2 Add remove animation modifiers 2023-09-30 17:17:21 +02:00
Oliver Vogel
25572c0ef9 Refactor checking for driver objects 2023-09-30 11:38:53 +02:00
Oliver Vogel
4374d15931 Add encoders for MS Windows Bitmap format (BMP) 2022-08-23 20:21:00 +02:00
Oliver Vogel
de1eb734b6 Add test for DrawPolygonModifiers 2022-08-12 17:50:08 +02:00
Oliver Vogel
fe05a1e35d Add tests for DrawEllipseModifiers 2022-08-12 17:44:59 +02:00
Oliver Vogel
71e94564a1 Add tests for DrawLineModifier 2022-08-12 17:38:47 +02:00
Oliver Vogel
b5ae8a2723 Add tests for DrawRectangleModifier 2022-08-12 17:30:01 +02:00
Oliver Vogel
7be06787a3 Refactor draw modifiers 2022-08-12 17:27:59 +02:00
Oliver Vogel
f8f3baca0e Consolidate method naming 2022-07-20 16:45:18 +02:00
Oliver Vogel
abd8376257 Merge branch 'next' into feature/draw 2022-07-19 17:31:54 +02:00
Oliver Vogel
d1313a420b Replace Size::class with Rectangle::class 2022-07-19 15:29:36 +00:00
Oliver Vogel
347942f14c Implement HTML color name decoder 2022-07-09 16:15:46 +02:00
Oliver Vogel
6092ec113f Implement DrawPixelModifier 2022-07-07 16:52:25 +02:00
Oliver Vogel
5dc4e66969 Extended Textwriter to handle multi line text 2022-07-04 15:16:00 +02:00
Oliver Vogel
ae3762d455 Prepare TextWriter for multi line functionality 2022-06-25 12:30:09 +02:00
Oliver Vogel
afec510ad0 Add test for AbstractFont 2022-06-21 20:09:54 +02:00
Oliver Vogel
90ed724cb5 Refactor storage of Imagick core, remove method
Imagick core image was disassembled in the decoding process.
This made the whole object not very memory efficient. This
fixes the issue by keeping the original Imagick object in
the Intervention Image object.

Also the Image::getFrames() method was removed. Users should
use iteration to access frames.
2022-06-20 19:09:51 +02:00