mirror of
https://github.com/Intervention/image.git
synced 2025-08-29 00:29:55 +02:00
Merge branch 'main' into feature/image-cloning
This commit is contained in:
26
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
26
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**Code Example**
|
||||
Code example to reproduce the behavior.
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Images**
|
||||
If applicable, add problematic images or screenshots to help explain your problem.
|
||||
|
||||
**Environment (please complete the following information):**
|
||||
- PHP Version:
|
||||
- OS:
|
||||
- Intervention Image Version:
|
||||
- GD or Imagick:
|
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
@@ -1,4 +1,4 @@
|
||||
FROM php:8-cli
|
||||
FROM php:8.1-cli
|
||||
|
||||
RUN apt update \
|
||||
&& apt install -y \
|
||||
|
@@ -33,6 +33,8 @@ documentation](https://image.intervention.io/v3/).
|
||||
## Code Examples
|
||||
|
||||
```php
|
||||
use Intervention\Image\ImageManager;
|
||||
|
||||
// create image manager with desired driver
|
||||
$manager = new ImageManager(
|
||||
new Intervention\Image\Drivers\Gd\Driver()
|
||||
@@ -87,4 +89,4 @@ If you discover any security related issues, please email oliver@intervention.io
|
||||
|
||||
Intervention Image is licensed under the [MIT License](http://opensource.org/licenses/MIT).
|
||||
|
||||
Copyright 2020 [Oliver Vogel](http://intervention.io/)
|
||||
Copyright 2023 [Oliver Vogel](http://intervention.io/)
|
||||
|
@@ -16,6 +16,7 @@ class DrawLineModifier extends AbstractDrawModifier
|
||||
public function apply(ImageInterface $image): ImageInterface
|
||||
{
|
||||
foreach ($image as $frame) {
|
||||
imageantialias($frame->native(), true);
|
||||
imageline(
|
||||
$frame->native(),
|
||||
$this->drawable->start()->x(),
|
||||
|
Reference in New Issue
Block a user