Search found 3 matches
- 2013-12-17T02:58:27-07:00
- Forum: Developers
- Topic: Change white background
- Replies: 4
- Views: 6329
Re: Change white background
Sorry, mby somebody know the best way to do this using PHP ? I make this with following code for ($i = 0; $i < 4; $i++) { echo "<pre>"; exec("convert ".$i.".jpg -evaluate Multiply 0.949 ".$i."_result.jpg"); echo "</pre>"; } But mby there is other way, by using Imagick for PHP ?
- 2013-12-17T00:49:15-07:00
- Forum: Developers
- Topic: Change white background
- Replies: 4
- Views: 6329
Re: Change white background
Wooow... It's very nice, many thanks to yousnibgo wrote:Multiplying by #f2f2f2 will darken all the pixels. You can easily do this with IM. #f2 = 242. 242/255 = 0.949.Code: Select all
convert test.jpg -evaluate Multiply 0.949 out.png


- 2013-12-17T00:34:25-07:00
- Forum: Developers
- Topic: Change white background
- Replies: 4
- Views: 6329
Change white background
Hello, i'm trying to change image background from #FFFFFF to #F2F2F2, without damaging image. I try to make image transparent (delete all background along the counter and then set my new color bg, but it damage pixels). Then i try to replace all white pixels and replace it with needed color, but it ...