How to Draw the UIImage with the NSData

15 views
Skip to first unread message

yadalam rakesh

unread,
Nov 6, 2009, 7:45:46 AM11/6/09
to iphonesdkd...@googlegroups.com
Hi,

I am working on Picasa Albums Using with the Goople API's for iPhone.
I have some problem in fetching the data to uiimage.
I am getting the url and making that to NSData.If i make that data to UIImage , that image is not coming clearly (it became blur).
Did any one worked on that issue , plz share with me..

Thanks in Advance,
Rakesh.Y



shelly

unread,
Nov 10, 2009, 12:10:57 PM11/10/09
to iPhone SDK Development
Happened to me when didn't compress the image I was writting.

[UIImageJPEGRepresentation(image, 1.0f) writeToFile:[self
findUniqueSavePath] atomically:YES];

SETIMAGE(image);

yadalam rakesh

unread,
Nov 10, 2009, 11:43:12 PM11/10/09
to iphonesdkd...@googlegroups.com
Thank you Shelly. I got the solution ,in that i am calling the method called mediaThumbnail.instead of that i have to call the mediaContent.Now it is working fine.
Once again thank you for your approach.

Cheers,
Rakesh Yadalam (+919740265848),
iPhone Games Developer,
Permeative Tehnologies Pvt. Ltd.
Bangalore-29.


Stephen Leacock  - "I detest life-insurance agents: they always argue that I shall some day die, which is not so."
Reply all
Reply to author
Forward
0 new messages