-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Collection of breaking change ideas for next major version #1391
Comments
Standardization and simplification of offset parametersTo specify parameters for offsets, For example, just |
More universal ColorInterface::create() methodCurrently only string values of the colors are processed. It would also be nice if the values of the color channels could be specified directly. use Intervention\Image\Colors\Rgb\Color;
// currently
$color = Color::create('rgb(255, 255, 255)');
// more universal
$color = Color::create('rgb(255, 255, 255)');
$color = Color::create(255, 255, 255); |
Change from scale (int) 0 - 100 to (float) 0 - 1, for more precise input options.Many functions use 0 - 100 integers as the standard for inputs. For a more precise definition of values, you could consider switching to float values from 0 - 1.
|
Collection of ideas that would be nice to have but would introduce a BC and would therefore only be possible in the next major version.
Please note that this is an initial collection of ideas that may or may not be adopted.
The text was updated successfully, but these errors were encountered: