How to create a 8 * 8 image

33 views (last 30 days)
matlabgeek
matlabgeek on 10 Jan 2016
Commented: matlabgeek on 10 Jan 2016
I want to process a image which is 8 * 8 in Matlab, which means both its width and height 8. For example, how do we create a 8 * 8 jpeg image? Thank you very much.
Or how do we change a image from non 8 * 8 to 8 * 8 image?

Accepted Answer

Image Analyst
Image Analyst on 10 Jan 2016
Another possibility:
image8x8 = imresize(originalImage, [8,8]);

More Answers (0)

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!