Sunday, 8 September 2013

How to save an image using its URL in Matlab

How to save an image using its URL in Matlab

I have a problem to save an image with its URL. I once used URLWRITE
function. it works well for most of image urls. However, for this one:
http://www.freegreatpicture.com/files/157/1562-cute-little-cat.jpg , I
cannot save this image to my disk using urlwrite(url, 'cat.jpg'); . Anyone
can help ? Thanks !
PS. the saved image cannot be opened. After I click the url, the image is
as this:

No comments:

Post a Comment