Skip to content

Releases: Talesoft/phim

Fixes to class namespaces for Composer v2

20 Oct 10:59
065b4fa
Compare
Choose a tag to compare

Allow user settable weights for CIEDE2000

12 Nov 15:14
Compare
Choose a tag to compare

This adds a third parameter to Color::getDifference(ColorInterface $color, ColorInterface $compareColor, array $weights) to specify custom weights to use when comparing colors. The parameter needs to be a tuple of 3 floats with [1, 1, 1] being the default.

Thank you @chamby

Bugfixes

08 Jun 08:10
6dfdf4b
Compare
Choose a tag to compare
  • Fixed #8

Fix Color::parseHexString for input of 6 characters

31 Mar 15:19
Compare
Choose a tag to compare
1.0.3

fix Color::parseHexString for input of 6 characters (#6)

Bugfixes

27 May 18:52
Compare
Choose a tag to compare
1.0.2

- Finally removed 5.6 from Travis, support for 5.6 will be dropped in…

Bugfixes

27 May 17:44
Compare
Choose a tag to compare
Fixed Color int conversion (#3)

* Fixed Color int conversion

- Color::parseInt will only return RgbaColor (0xffffff is the same as 0xffffff00 in PHP, so an RGBA color with Alpha 0 would've been seen as an RgbColor (implying full alpha))
- Color::toInt will now use pack/unpack to build the int value to avoid platform difference problems
* Updated PHPUnit tests to work with travis again
* Remove HHVM and PHP5.6 Support (It's still installable, but it won't be tested anymore)

1.0

27 May 14:10
Compare
Choose a tag to compare
1.0
- Transformation stuff

1.0-dev

17 Feb 12:16
Compare
Choose a tag to compare
- Updated README

0.1

27 Jul 21:04
Compare
Choose a tag to compare
0.1
README update