Make the scaling API a bit more friendly
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@422 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
@@ -98,8 +98,8 @@ public class TJExample {
|
||||
|
||||
|
||||
byte [] tmpbuf=new byte[tji.width*tji.height*3];
|
||||
tjd.decompress(inputbuf, inputsize, tmpbuf, tji.width*3,
|
||||
3, 1, scalefactor, TJ.BOTTOMUP);
|
||||
tjd.decompress(inputbuf, inputsize, tmpbuf, tji.width, tji.width*3,
|
||||
tji.height, 3, TJ.BOTTOMUP);
|
||||
tjd.close();
|
||||
|
||||
TJCompressor tjc=new TJCompressor();
|
||||
|
||||
Reference in New Issue
Block a user