summaryrefslogtreecommitdiff
path: root/include/colors.php
AgeCommit message (Collapse)Author
2023-02-10Fix calculating average color for *.icoChih-Hsuan Yen
Currently colorPalette() always fails for *.ico due to a logic error. It's a regression from 8f749fe61b038833069c4e2d0dec4749643b4371.
2021-11-14Address PHPStan warnings in 'include/colors.php'.wn_
Also some formatting for readability.
2021-11-01Address PHPStan warnings in 'include/colors.php'.wn_
------ ------------------------------------------------------------------ Line include/colors.php ------ ------------------------------------------------------------------ 215 Variable $out might not be defined. 223 Parameter #3 $pad_string of function str_pad expects string, int given. 255 Variable $h might not be defined. 317 Variable $img might not be defined. ------ ------------------------------------------------------------------
2021-02-16fix floicon not imported from global namespaceAndrew Dolgov
2021-02-16move rgb/hsl functions to their own namespaceAndrew Dolgov
2021-02-06_color_pack: define variable before usingAndrew Dolgov
2019-12-06php 7.4 deprecation-related fixesAndrew Dolgov
2017-04-26remove some redundant php closing tagsAndrew Dolgov
2013-06-15do no try to pass MS icon files to GDAndrew Dolgov
2013-06-14colorPalette: try checking imagesize before invoking GDAndrew Dolgov
2013-05-19add a placeholder where floicon might be added if needed, still keep itAndrew Dolgov
off trunk re: author being a shitlord
2013-05-19Revert "remove floicon because its author is a colossal shitlord ↵Andrew Dolgov
(http://tt-rss.org/forum/viewtopic.php?f=1&t=2055&p=10824#p10822)" This reverts commit dce5037888968788518dfdb6b1c29f3863238b92.
2013-05-18remove floicon because its author is a colossal shitlord ↵Andrew Dolgov
(http://tt-rss.org/forum/viewtopic.php?f=1&t=2055&p=10824#p10822)
2013-05-07Fixing bugs found by static analysisRasmus Lerdorf
2013-04-19Revert "_DISABLE_FLOICON -> _ENABLE_FLOICON"Andrew Dolgov
This reverts commit 7f1113a56ad8e66ce3dd9886b4b11dfc30573c7f.
2013-04-18_DISABLE_FLOICON -> _ENABLE_FLOICONAndrew Dolgov
2013-04-18add _DISABLE_FLOICONAndrew Dolgov
2013-04-17fix blank character after opening bracket in function callsAndrew Dolgov
2013-04-16Revert "remove floIcon: bugs"Andrew Dolgov
This reverts commit 7970c0925505ba1bd3b3dd15a45bebf2e839f5cf.
2013-04-16remove floIcon: bugsAndrew Dolgov
2013-04-15properly remove and replace favicon color when favicon gets manually ↵Andrew Dolgov
removed/uploaded
2013-04-15try to improve color guessing algorithm a bitAndrew Dolgov
2012-10-27colors: fix resolving html color namesAndrew Dolgov
2012-10-25add rrow background color setting by first assigned labelAndrew Dolgov