Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Vips #286

Open
wants to merge 48 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
72361f8
add width option
freekmurze Jan 15, 2025
53368aa
Fix styling
freekmurze Jan 15, 2025
be1dfca
implement brightness
freekmurze Jan 15, 2025
38f7e11
add gamma operation
freekmurze Jan 15, 2025
eeff5e4
Merge branch 'add-vips-driver' of github.com:spatie/image into add-vi…
freekmurze Jan 15, 2025
6a1fa8c
Add new, base64, exif and autoRotate
riasvdv Jan 17, 2025
48bfc9e
Fix styling
riasvdv Jan 17, 2025
054b583
Add background()
riasvdv Jan 17, 2025
5f71b51
Fix styling
riasvdv Jan 17, 2025
7defd5f
Add blur
riasvdv Jan 17, 2025
2e0ae50
Implement brightness
riasvdv Jan 17, 2025
2802f14
Add greyscale + missing greyscale test
riasvdv Jan 17, 2025
4540158
Fix styling
riasvdv Jan 17, 2025
8ca4196
Add sepia
riasvdv Jan 17, 2025
d8ed086
Fix styling
riasvdv Jan 17, 2025
c5a1a70
Add sharpen
riasvdv Jan 17, 2025
2c4b60f
Add orientation
riasvdv Jan 20, 2025
58fe4e5
Add flip
riasvdv Jan 20, 2025
d44892b
Implement image()
riasvdv Jan 20, 2025
33c77fd
resize isn't implemented yet
riasvdv Jan 20, 2025
874189a
wip
freekmurze Jan 20, 2025
4bdc261
implement pixelate
freekmurze Jan 20, 2025
372440a
implement resize
freekmurze Jan 20, 2025
082ad8a
Fix styling
freekmurze Jan 20, 2025
4f0bf5a
implement width and height
freekmurze Jan 20, 2025
8c418b9
Merge branch 'add-vips-driver' of github.com:spatie/image into add-vi…
freekmurze Jan 20, 2025
99fb78a
implement quality
freekmurze Jan 20, 2025
4694755
Fix styling
freekmurze Jan 20, 2025
87adbe5
readability
freekmurze Jan 20, 2025
20736fb
Merge branch 'add-vips-driver' of github.com:spatie/image into add-vi…
freekmurze Jan 20, 2025
d368bc9
add pick color
freekmurze Jan 20, 2025
095226f
add pick color
freekmurze Jan 20, 2025
ff26803
Fix styling
freekmurze Jan 20, 2025
1bc6981
formatting
freekmurze Jan 20, 2025
c36f9f4
Merge branch 'add-vips-driver' of github.com:spatie/image into add-vi…
freekmurze Jan 20, 2025
577c189
wip
freekmurze Jan 20, 2025
75edbf1
add manual crop
freekmurze Jan 22, 2025
e274f39
Fix styling
freekmurze Jan 22, 2025
26c8245
add crop
freekmurze Jan 22, 2025
99f8a63
Merge branch 'add-vips-driver' of github.com:spatie/image into add-vi…
freekmurze Jan 22, 2025
0a72cf0
Fix styling
freekmurze Jan 22, 2025
6b843a7
add focal crop
freekmurze Jan 22, 2025
431dcd2
Merge branch 'add-vips-driver' of github.com:spatie/image into add-vi…
freekmurze Jan 22, 2025
e159e90
Fix styling
freekmurze Jan 22, 2025
9ce8b87
readability
freekmurze Jan 22, 2025
62fc8a1
Merge branch 'add-vips-driver' of github.com:spatie/image into add-vi…
freekmurze Jan 27, 2025
25dee39
add colorize operation
freekmurze Jan 27, 2025
fd2f4a6
Fix styling
freekmurze Jan 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"require-dev": {
"ext-gd": "*",
"ext-imagick": "*",
"jcupitt/vips": "^2.4",
"laravel/sail": "^1.34",
"pestphp/pest": "^2.28",
"phpstan/phpstan": "^1.10.50",
Expand All @@ -35,6 +36,11 @@
"spatie/ray": "^1.40.1",
"symfony/var-dumper": "^6.4|7.0"
},
"suggest": {
"ext-gd": "To use the GD driver",
"ext-imagick": "To use the Imagick driver",
"jcupitt/vips": "To use the Vips driver"
},
"autoload": {
"psr-4": {
"Spatie\\Image\\": "src"
Expand Down
7 changes: 7 additions & 0 deletions src/Drivers/Vips/VipsColor.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

namespace Spatie\Image\Drivers\Vips;

use Spatie\Image\Drivers\Gd\GdColor;

class VipsColor extends GdColor {}
Loading