problem with imwrite in matlab. No write permission.
6 views (last 30 days)
Show older comments
I'm trying to resize my image using matlab to 240*320 dimensions using the following code
ans = imread('11_1.jpg');
imresize(ans,[240,320]);
imwrite(ans,'11_2.jpg','jpg');
1 Comment
Lokesh Ravindranathan
on 15 Jul 2013
Can you be more specific with the error message? Are you using linux or windows? Do you have write permissions in that directory?
Answers (1)
Image Analyst
on 15 Jul 2013
What is your current folder? Windows 7 won't let you write to folders under Program Files, and many other folders either.
0 Comments
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!