Hi,
I am resizing images using the image_lib library. I define a height and width, but most of the images I am trying to resize are already smaller. Is there a way to force the size and fill the rest with white, thus making all my images the same size?
Thanks
$config['source_image'] = 'abc.jpg';
$config['new_image'] = 'def.jpg';
$config['create_thumb'] = TRUE;
$config['maintain_ratio'] = TRUE;
$config['thumb_marker'] = '';
$config['width'] = 100;
$config['height'] = 100;
$this->image_lib->initialize($config);
$this->image_lib->resize();