Image Formats
The supported image formats depend on your GD Library configuration but best-case Intervention Image supports the following image formats.
Format | Read | Write |
---|---|---|
JPEG | ||
PNG | ||
GIF |
See documentation of make method to see how to read image formats from different sources.
Example
// read png image and save in jpg format
$img = Image::make('public/foo.png')->save('public/foo.jpg', 75);
当前内容版权归 intervention 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 intervention .