I have this set of codes using ImageEn 6.3.2 (64 Bit) (v3.0.5 DLL)
if flist.Cells[2, x] = 'Rotate 90º Clockwise' then k := jpeglosslesstransform2(imagefile,jtRotate90) else if flist.Cells[2, x] = 'Rotate 90º Counterclockwise' then k := jpeglosslesstransform2(imagefile,jtRotate270) else if flist.Cells[2, x] = 'Rotate 180º' then k := jpeglosslesstransform2(imagefile,jtRotate180) else if flist.Cells[2, x] = 'Flip Horizontal' then k := jpeglosslesstransform2(imagefile,jtHorizFlip) else if flist.Cells[2, x] = 'Flip Vertical' then k := jpeglosslesstransform2(imagefile,jtVertFlip);
It appears that the jtRotate90 and jtRotate270 causes a hard crash but the others work as they should.
What I got was the original files tagged with a '0' behind the file extension but the transformed files is either 0kb in size with no contents.
Is there anything I might be doing wrong ?
* Update : I just tried the v2.0.1 DLL and it works like a charm.
Thanks. |