Advertise Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

sdkIQ for iPhone
($4.99)

Your First iPhone App
($1.99)

iPhone Code Generator
($9.99)

Dual Matches
($0.99)

Calcuccino Programmers' Calculator
($2.99)

SDKtoday
(free)

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 01-03-2009, 01:42 AM   #1 (permalink)
Registered Member
 
Join Date: Dec 2008
Location: Ahmedabad
Posts: 17
Default Image Slicing

Hello all, can someone give a head start on how to slice a image. Basically I want to use parts of a whole image as buttons in my application, just like the phone UI (TelephonyUI).
ashish1405 is offline   Reply With Quote
Old 01-03-2009, 07:22 PM   #2 (permalink)
Registered Member
 
Join Date: Dec 2008
Location: Hawaii
Posts: 52
Default Image Slicing

Could you use adobe photoshop?
lab12 is offline   Reply With Quote
Old 01-03-2009, 08:38 PM   #3 (permalink)
Registered Member
 
Join Date: Dec 2008
Posts: 495
Default

I think they mean more like using image sprites, which is something I had been curious about too.

If you have 20 icons you need to use in your application, you can compress a single png file containing all of them down more than you could if you had 20 different png files.
exorcyze is offline   Reply With Quote
Old 01-05-2009, 02:00 AM   #4 (permalink)
Registered Member
 
Join Date: Dec 2008
Location: Ahmedabad
Posts: 17
Default

walla, i did manage to make this work using

Code Sample: Crop an image using the iPhone SDK | Hive05 software products

had to do some manipulations though. And one more important thing the 0,0 of the image is taken as left bottom corner. So imagine that the image is in first quadrant of a 2D axis.
ashish1405 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


» Advertisements
» Stats
Members: 41,862
Threads: 49,770
Posts: 213,057
Top Poster: BrianSlick (3,139)
Welcome to our newest member, futurevilla216
Powered by vBadvanced CMPS v3.1.0

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