CImage Negative
-
CImage 회전, 반전 (Rotation, Flip)C, C++/잡기장 | Notebook 2019. 8. 19. 09:25
CImage Rotation, Flip /*[input]Image: source image,szNew: size of new image,nRotate: 0=no rotate, 1=rotate 90 left, 2=rotate 90 right, 3=rotate 180 upside downnFlip: 0=no flip, 1=horizontal, 2=verticalbNegative: true=film like negative image[return]pointer to new cimage*/CImage* EditImage(CImage& Image, CSize szNew, int nRotate, int nFlip, bool bNegative){float fX, fY;if (nRotate == 1 || nRotate..