Using ImageEn 3.1.2
I have a problem where i read in an image, scale it, and export it out.
Code is like below...
Image := tImageEn.create(nil);
image.IO.LoadFromFile(fn);
w:=image.Bitmap.Width;
if (w>800) then image.proc.Resample(800,-1,rfnearest);
Image.io.Params.JPEG_Quality:=75;
image.IO.SaveToFileJpeg(outputFN);
Sometimes the output file "works" as in other apps can view it, but imageEN can not. ImageEN wont error out loading it, but it wont show anything either. And sometimes it just makes 0 byte files when saving.