i want an new image with one pixel differance

i hv lena image of [256 256 3]
now i hv to chnge one pixel .....in it

Answers (1)

imread then make the change then imwrite.
However if the image is a JPEG file then changing just one pixel is not always possible . If you need specific pixel values to be stored then never use jpeg (but jpeg2 might be okay )

This question is closed.

Tags

Asked:

on 7 Feb 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!