envexlabs Posted October 16, 2007 Share Posted October 16, 2007 Hey, I have a script that crops and image and resizes it, but that's not the problem. If the image is smaller than the crop area, PHP just fills it in with black. Is there a way to make PHP fill it in with white instead of black? Thanks, envex. Link to comment https://forums.phpfreaks.com/topic/73512-image-create-default-background-color/ Share on other sites More sharing options...
BlueSkyIS Posted October 16, 2007 Share Posted October 16, 2007 you'll probably need to fill it yourself: imagefill ( resource image, int x, int y, int color ) Link to comment https://forums.phpfreaks.com/topic/73512-image-create-default-background-color/#findComment-370847 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.