More Java API cleanup

This commit is contained in:
DRC
2011-03-16 00:02:53 +00:00
parent 22faf366c3
commit f90d1d84c7
13 changed files with 391 additions and 379 deletions

View File

@@ -282,7 +282,7 @@ public class TJExample {
if(img != null)
jpegBuf = tjc.compress(img, 0);
else {
tjc.setBitmapBuffer(bmpBuf, width, 0, height, TJ.PF_BGRX);
tjc.setSourceImage(bmpBuf, width, 0, height, TJ.PF_BGRX);
jpegBuf = tjc.compress(0);
}
jpegSize = tjc.getCompressedSize();