PHP/GD change the color of a simple black/dark gray PNG to another solid color -


i have images these: http://imgur.com/a/pbqzw

and want them end first of image here (with second image being result of code made): http://imgur.com/a/zqyix

i tried:

imagefilter($img, img_filter_grayscale); imagefilter($img, img_filter_contrast, -250); 

i tried adding brightness filter, changing contrast filter around - never gets perfect.

i tried change black blue, since image made of grays, doesn't work.


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -