 |
 |
|
 |
06-19-2009, 11:31 PM
|
#1 (permalink)
|
|
Registered Member
Join Date: Oct 2008
Posts: 19
|
save image at higher resolution without pixelating it
Hi
I am using the image picker controller to get an image from the user. After some operations on the image, I want the user to be able to save the image at 1600x1200 px, 1024x1024 px or 640x480 px (something like iFlashReady app).
The last option is the size of image I get in the UIImagePickerControllerDelegate method (when using image from camera roll)
Is there any way we can save the image at these resolutions without pixelating the images?
I tried creating a bitmap context with the width and height I want (CGBitmapContextCreate) and drawing the image there. But the image gets pixelated at 1600x1200.
Thanks
|
|
|
06-20-2009, 09:22 PM
|
#2 (permalink)
|
|
Senior Member
iPhone Dev SDK Supporter
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 2,577
|
There is no way to increase the size of a bitmap image without decreasing the quality. With the resize you're doing, each pixel has to stretch to cover six new pixels; that will never look good. The detail just isn't there.
Maybe someone else knows how to get a larger picture from the camera roll.
__________________
|
|
|
06-21-2009, 08:00 AM
|
#3 (permalink)
|
|
Registered Member
Join Date: Oct 2008
Posts: 19
|
We get 1600x1200 images if we use the original image (from editingInfo) from the camera and 640x480 images from the photo library
The problem is I use this image for a UIImageView and place some more graphics on it. Now I want to save back the entire image (as displayed on the current view) I can capture the image and the dimensions are 320x480. But I want to save it at a higher resolution than that.
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 377 |
| 33 members and 344 guests |
| appleman, ashish_pandita, Bertrand21, bulksms, doudou974, d_amal, Ed99, felixtgomezjr, fft16a, flamingliquid, GreenApple, harkonian, Hololont, jazzbearz, jwutke, Kalimba, LemonMeringue, linuxgood, marchinram, mlfarrell, Mopedhead, pockeysoft, redmouse, sfeast, sio2interactive, sle39lvr, sumanth, tpearce, tsfrocks, tvromero, vanillasky65, walkman2001, warmi |
| Most users ever online was 779, 05-11-2009 at 09:55 AM. |
» Stats |
Members: 24,333
Threads: 39,128
Posts: 171,563
Top Poster: smasher (2,577)
|
| Welcome to our newest member, SteveMc |
|