Advertisement:

Author Topic: black background photo! Gd-library change color  (Read 1786 times)

Gabender

  • Jr. Member
  • **
  • Posts: 53
black background photo! Gd-library change color
« on: January 17, 2014, 07:12:46 pm »
gd library using the background of every picture you see black .. I have to change it in the red .. how can I do?

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: black background photo! Gd-library change color
« Reply #1 on: January 18, 2014, 10:45:17 am »
@Gabender
On latest version of osclass (3.3) problem with black background should be fixed and now only white background is created.
If you do not run on 3.3, please update  ;)

Gabender

  • Jr. Member
  • **
  • Posts: 53
Re: black background photo! Gd-library change color
« Reply #2 on: January 19, 2014, 09:44:47 pm »
@Gabender
On latest version of osclass (3.3) problem with black background should be fixed and now only white background is created.
If you do not run on 3.3, please update  ;)
but I want to use the background, I need gray .. how can I?  :-\

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: black background photo! Gd-library change color
« Reply #3 on: January 20, 2014, 12:13:27 am »
@Gabender
I am not sure, but you can try to play bit with this file:
/oc-includes/osclass/classes/ImageResizer.php

Try to replace white word with gray and maybe we are done  ;)

Gabender

  • Jr. Member
  • **
  • Posts: 53
Re: black background photo! Gd-library change color
« Reply #4 on: January 20, 2014, 06:23:36 pm »
 :'( does not work

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: black background photo! Gd-library change color
« Reply #5 on: January 20, 2014, 07:55:49 pm »
@Gabender
Are you sure you have replaced everything? I know only about this part that resize and make final images  :o

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: black background photo! Gd-library change color
« Reply #6 on: January 22, 2014, 12:22:05 am »
Guys,
I think we are not talking about bug, @Gabender only wants to have red background instead white  :)