forked from tTh/FloatImg
trying to solve start/end issue
This commit is contained in:
parent
e410b64514
commit
706e218ff0
@ -156,17 +156,14 @@ if (FIMG_TYPE_RGB != iarray[2]) {
|
|||||||
w = iarray[0], h = iarray[1];
|
w = iarray[0], h = iarray[1];
|
||||||
fprintf(stderr, "first image size : %dx%d\n", w, h);
|
fprintf(stderr, "first image size : %dx%d\n", w, h);
|
||||||
|
|
||||||
fimg_create(&A, w, h, 3); pFirst = &A;
|
fimg_create(&A, w, h, 3); pFirst = &A; fimg_clear(&A);
|
||||||
fimg_vdeg_a(&A, idx_values[0].value);
|
fimg_create(&B, w, h, 3); pSecond = &B; fimg_clear(&B);
|
||||||
|
|
||||||
fimg_create(&B, w, h, 3); pSecond = &B;
|
|
||||||
fimg_create(&Out, w, h, 3);
|
fimg_create(&Out, w, h, 3);
|
||||||
|
|
||||||
ipng = 0;
|
ipng = 0;
|
||||||
for (idx=0; idx<globbuf.gl_pathc; idx++) {
|
for (idx=0; idx<globbuf.gl_pathc; idx++) {
|
||||||
|
|
||||||
curpix = idx_values[idx].idx;
|
curpix = idx_values[idx].idx;
|
||||||
|
|
||||||
cptr = globbuf.gl_pathv[curpix]; /* aliasing filename */
|
cptr = globbuf.gl_pathv[curpix]; /* aliasing filename */
|
||||||
|
|
||||||
/* read the next file in B */
|
/* read the next file in B */
|
||||||
@ -215,7 +212,6 @@ for (idx=0; idx<globbuf.gl_pathc; idx++) {
|
|||||||
pFirst = pTmp;
|
pFirst = pTmp;
|
||||||
/* XXX THIS CODE DON'T WORK !!! */
|
/* XXX THIS CODE DON'T WORK !!! */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(stderr, "\ngenerated %d png files\n", ipng);
|
fprintf(stderr, "\ngenerated %d png files\n", ipng);
|
||||||
|
Loading…
Reference in New Issue
Block a user