Search found 2 matches

by haloween
2019-03-18T21:12:56-07:00
Forum: Developers
Topic: question about cloneImage problem ?
Replies: 1
Views: 8936

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
2019-03-18T21:11:43-07:00
Forum: Users
Topic: How to borders on the inside ?
Replies: 1
Views: 3093

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 ...