Question: Write a program in Java to for image quanitzation for a given image. Read each byte of given image file into a 2D array with

Write a program in Java to for image quanitzation for a given image. Read each byte of given image file into a 2D array with equal dimensions as image file then iterate throught he 2d array consisting of bytes by a computed divisor to scale down the bit size. the operation should be run for every pixel. the scaled values are then put into a new 2d array and output into a new png file.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!