Search found 2 matches

by haloween
Forum: Developers
Topic: question about cloneImage problem ?
Replies: 1
Views: 3384

question about cloneImage problem ?

i write a program to resize an image use resizeImage function, however i found that, the depth value was changed after resizeImage function called, then i read the source of the resize.c, find that, the depth was changed after the CloneImage() like 1172 fprintf(fp, "----- image %u\n", image->depth);...
by haloween
Forum: Users
Topic: How to borders on the inside ?
Replies: 1
Views: 1606

How to borders on the inside ?

Hi guys and gals, When i add borders to images, it places the border on the outside of the image thus increasing the images dimensions. How can i add a border to the inside of the image, so that the image retains its previous dimensions but has a border overlayed around the edges of the image? Cheer...