Comments (11)
thank you for reporting and testing. i've created a release so you can now update via composer
from zebra_image.
i think the best way would be to have it transparent for images that support transparency and a user defined colour for JPEG
from zebra_image.
yes, i understand. i'll try and work on it over the weekend
from zebra_image.
You mean like if from an 100x100 image I would crop 50, 50, 150, 150?
from zebra_image.
That would be nice
from zebra_image.
from zebra_image.
Because it's possible to set the cropping outside the picture, I get black bars.
from zebra_image.
Iโll test it
from zebra_image.
I did a commit that should fix this issue. It will automatically use a transparent colour for transparent GIF and PNGs and black for non-transparent images. A custom colour can be also specified. I updated the documentation. Please consider this work-in-progress. Thanks!
from zebra_image.
Cool ๐ thx. I will test it today
from zebra_image.
@stefangabos tested ๐ .. thank you
from zebra_image.
Related Issues (20)
- How to write multiple images? HOT 5
- PHP Warning exif_read_data(): File not supported HOT 1
- Manipulate stream instead of files HOT 1
- Gaussian Blur level
- Chrome
- PHP message: PHP Warning: exif_read_data(phpM6q1lm): Illegal IFD size in inc/ZebraImage.php on line 1360, referer: url HOT 2
- Supports SVG HOT 2
- Crop Images by Circle HOT 1
- Release 2.3.0 is not in Packagist HOT 1
- Output Progressive / Interlaced JPG HOT 6
- WebP support? HOT 7
- Undefined variable $arguments... HOT 1
- Resize Mode Doesn't Work in PHP 8.1 HOT 12
- Animated WEBP images throw exception HOT 2
- php 8.1.12 - imagecolorsforindex Argument #2 ($color) is out of range HOT 3
- Supports ico and bmp formats๏ผ HOT 6
- No filter applied
- Composer package code mismatch even if version is the same as GitHub HOT 3
- resized png's do not retain alpha HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zebra_image.