Info

This question is closed. Reopen it to edit or answer.

i want an new image with one pixel differance

1 view (last 30 days)
aaru sri
aaru sri on 7 Feb 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
i hv lena image of [256 256 3]
now i hv to chnge one pixel .....in it

Answers (1)

Walter Roberson
Walter Roberson on 7 Feb 2019
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

Community Treasure Hunt

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

Start Hunting!