Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-03-2009, 06:55 AM   #1 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 6
Default how to find information about image

Hi all,
I am developing an aplication where i need the information about image like size,date of creation,type(.jpg/png).I am picking image using UIImagePickerController. Is there any methods used to get this.
s kumar is offline   Reply With Quote
Old 03-03-2009, 11:44 AM   #2 (permalink)
New Member
 
RickMaddy's Avatar
 
Join Date: Oct 2008
Location: Denver, CO
Posts: 2,121
Default

When you get access to an image from the UIImagePickerController you have none of that info. You don't have access to a file. The image data has been converted to an internal bitmap format that is neither PNG nor JPEG. All you have is raw pixel data. No EXIF info, nothing.
RickMaddy is offline   Reply With Quote
Old 03-04-2009, 12:52 AM   #3 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 6
Default

Hi thanx for replying
Is there any way to do this. Actually my application taking image using
UIImagePickerControllerSourceTypeSavedPhotosAlbum. Then i am clicking on any image and it is loaded on window in full size. On window i am using nav barand button .I want on button click it shows info on table view.

s kumar
s kumar is offline   Reply With Quote
Old 03-04-2009, 05:27 AM   #4 (permalink)
Registered Member
 
Join Date: Dec 2008
Posts: 428
Default

What part of "No EXIF info, nothing" was difficult to understand?

All you get are the image dimensions.
lbendlin is offline   Reply With Quote
Old 03-04-2009, 10:45 AM   #5 (permalink)
Pro. Game Developer
iPhone Dev SDK Supporter
 
Join Date: Feb 2009
Location: żLa Islas Hermosas?
Posts: 1,426
Default

I understand that you're saying it's impossible, but how do I do it?

Kalimba is offline   Reply With Quote
Old 03-04-2009, 11:02 AM   #6 (permalink)
Registered Member
 
Join Date: Dec 2008
Posts: 428
Default

I like your attitude... Jailbroken devices are your only playing ground for that.
lbendlin is offline   Reply With Quote
Old 03-04-2009, 10:43 PM   #7 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 6
Default

Hi
If i can not do this then i must stop working on this application.

can it possible that i just download image from iPhone hard drive and saved it on view in group and get information using file manager.
s kumar is offline   Reply With Quote
Old 03-05-2009, 12:04 AM   #8 (permalink)
Registered Member
 
Join Date: Dec 2008
Posts: 428
Default

can you maybe reformulate your question? It is difficult to understand what you want.
lbendlin is offline   Reply With Quote
Old 03-05-2009, 06:29 AM   #9 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 6
Default

hi
Earlier i was picking image from iPhone photo gallery using UIImagePickerController but the problem was that when i pick image then want information about that image like size, date of creation and type(jpg/png) but it was not possible .
so now i want all image will loaded from resource directry and pasted on view created using UIView controller.

is it possible .

thanx
s kumar is offline   Reply With Quote
Old 03-05-2009, 07:43 AM   #10 (permalink)
Registered Member
 
Join Date: Dec 2008
Posts: 428
Default

Look into the NSFileManager documentation and see which file properties are available.
lbendlin is offline   Reply With Quote
Old 03-06-2009, 12:08 AM   #11 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 6
Default

Hi
I am able to load image on view in group of 20 using rect on single view. when i am trying to click particular image for displaying on another view in full size but not any click action is happening, so what i can do for it.
s kumar is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,259
Threads: 39,050
Posts: 171,261
Top Poster: smasher (2,573)
Welcome to our newest member, andyarosh
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:20 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0