matlab - How to decrease the size of an image by decreasing the pixels -


i trying decrease size of image reducing pixel values present @ width, height , colorchannel. tried make 0 (means black) value of file size increased.

can suggest how can decrease size wihout using imresize.

you can decrease size of image decrasing quality parameter (is equal 75 in example below)

sharp('input.jpg')   .resize(300)   .quality(75)   .tofile('result.jpg', function(err, info) {     if(err) console.error(err);     console.log(info);   }); 

Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -