|
|
|
@ -156,17 +156,14 @@ if (FIMG_TYPE_RGB != iarray[2]) {
@@ -156,17 +156,14 @@ if (FIMG_TYPE_RGB != iarray[2]) {
|
|
|
|
|
w = iarray[0], h = iarray[1]; |
|
|
|
|
fprintf(stderr, "first image size : %dx%d\n", w, h); |
|
|
|
|
|
|
|
|
|
fimg_create(&A, w, h, 3); pFirst = &A; |
|
|
|
|
fimg_vdeg_a(&A, idx_values[0].value); |
|
|
|
|
|
|
|
|
|
fimg_create(&B, w, h, 3); pSecond = &B; |
|
|
|
|
fimg_create(&A, w, h, 3); pFirst = &A; fimg_clear(&A); |
|
|
|
|
fimg_create(&B, w, h, 3); pSecond = &B; fimg_clear(&B); |
|
|
|
|
fimg_create(&Out, w, h, 3); |
|
|
|
|
|
|
|
|
|
ipng = 0; |
|
|
|
|
for (idx=0; idx<globbuf.gl_pathc; idx++) { |
|
|
|
|
|
|
|
|
|
curpix = idx_values[idx].idx; |
|
|
|
|
|
|
|
|
|
cptr = globbuf.gl_pathv[curpix]; /* aliasing filename */ |
|
|
|
|
|
|
|
|
|
/* read the next file in B */ |
|
|
|
@ -215,7 +212,6 @@ for (idx=0; idx<globbuf.gl_pathc; idx++) {
@@ -215,7 +212,6 @@ for (idx=0; idx<globbuf.gl_pathc; idx++) {
|
|
|
|
|
pFirst = pTmp; |
|
|
|
|
/* XXX THIS CODE DON'T WORK !!! */ |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fprintf(stderr, "\ngenerated %d png files\n", ipng); |
|
|
|
|