public void setSourceSubsampling ( int pXSub , int pYSub ) { // Re-fetch everything, if subsampling changed if ( xSub != pXSub || ySub != pYSub ) { dispose ( ) ; } if ( pXSub > 1 ) { xSub = pXSub ; } if ( pYSub > 1 ) { ySub = pYSub ; } }
Sets the source subsampling for the new image .