android - Does a copied bitmap have the same options? -


bitmapfactory.options options = new bitmapfactory.options();              options.inpurgeable = true;             bitmap original = bitmapfactory.decoderesource(getresources(),                     drawableid,options);             bitmap bm = original.copy(bitmap.config.rgb_565, true);             original.recycle(); 

in above code option settings copied on when call bitmap.copy? bm have inpurgeable set true?

yes, bitmapfactory.options control way bitmap generated. once created, created once , copying make exact copy of way created.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -