IPhone SDK save/crop image as tiff?

Hi,
Can someone tell me if it is even possible to change the way the images are stored on iPhone or in the minimum return a cropped image in a different format (preferablt tiff) using the SDK classes?
In simple, all I am trying is, once the user selects an image, I want to be able to convert it to a tiff format?
Thanks,
Javid

Hi - I've found this post that might describe a similar (or same?) issue.
http://discussions.apple.com/thread.jspa?messageID=7936896&tstart=0
Hope that helps. You've gotten much farther than me - I'm still trying to figure out how to capture camera images using the SDK for a personal photo application. I couldn't find any mention of it in the UIImage Class Reference. Do you know where I might find docs on how to do it?
Thanks

Similar Messages

  • I need to crop image in TIFF format. what product i need to buy

    i need to crop image in TIFF format. what product i need to buy

    Photoshop should be able to handle cropping your TIFF file, possibly Photoshop Elements as well which would cost less.  You should get the trial version to make sure rather than buying before trying.
    You might also want to check if you already have something on your machine that can do it.  On a PC you should be able to right click the image and choose "Open With" whereby a menu of programs should appear with programs that can open the file.  You can check to see if any of those listed provide the cropping tool.
    If you have further questions you should try posting in the Photoshop forum instead of here (http://forums.adobe.com/community/photoshop?view=discussions).  This forum is primarly for questions about downloading and installing Adobe applications.

  • How to save raw images as TIFF files on Adobe Bridge?

    I am trying to upload my raw images from my camera onto Adobe Bridge and save them as a TIFF file. But it does not give me that option and simply automatically saves them as JPEGs.
    Where is the option to keep them as raw, large TIFF files?

    This is the Adobe Reader forum.  Your question is concerning about what software?

  • IPhone SDK: Saving an image from the camera rotates it

    When I use an image retrieved from the camera and try to save it to the disk, it always looks rotated -90 degrees. Anybody else have this problem? Or know what's going on? What's the easiest way to just rotate it 90 degrees?
    <code>
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *writablePath = [[paths objectAtIndex:0] stringByAppendingString:@"/newImg.jpg"];
    NSData * imageData = UIImageJPEGRepresentation([UIImage imageWithCGImage:cameraImage,1);
    if (imageData != nil) {
    [imageData writeToFile:writablePath atomically:NO];
    </code>

    Hi - I've found this post that might describe a similar (or same?) issue.
    http://discussions.apple.com/thread.jspa?messageID=7936896&tstart=0
    Hope that helps. You've gotten much farther than me - I'm still trying to figure out how to capture camera images using the SDK for a personal photo application. I couldn't find any mention of it in the UIImage Class Reference. Do you know where I might find docs on how to do it?
    Thanks

  • IPhone SDK: Add background Image to Tabel cell

    Hi all,
    I am trying to add a image to the UITableViewCell. For some reason I could not see the image when I called *cell.backgroundView addSubview:imageView*. But if I changed the code to *cell.contentView addSubview:imageView*, I could see the image.
    Anyone has idea why?
    Thanks in advance.
    --------------------Here is my code
    CGRect rect;
    rect = CGRectMake(0.0, 0.0, 320.0, ROW_HEIGHT);
    UITableViewCell *cell = [[[UITableViewCell alloc] initWithFrame:rect reuseIdentifier:identifier] autorelease];
    UIImage *image = [[UIImage imageNamed:@"test.png"] retain];
    UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
    imageView.image = image;
    imageView.opaque = YES;
    [cell.backgroundView addSubview:imageView];
    [imageView release];

    hi, as far as i know, the property backgroundView does not contain a view at all. If you want to use it, you have to assign a UIView (or subclass) to it.
    So you may set the image as the cell's backgroundView with
    call.backgroundView = imageView;
    or you create a UIView, set it as backgroundView and add the image as subview of the newly created UIView;
    cell.backgroundView = [[UIView alloc] initWithFrame:CGRectZero];
    [cell.backgroundView adSubView:imageView];

  • I have a problem when cropping 8 but tiff files in elements 12. Once area is selected and I crop the image it disappears. The file no. sill shows but the image is not viewable. I have saved the file from that point and tries reopening but the image isn't

    Has anyone experienced this before ? I have previously been able to crop images with no problem. Recently when I open an image and crop it and confirm the action the image 'disappears' If I save and go to reopen the file is there but it will be  zero meg in size.

    Hi,
    Try resetting the crop tool.
    To the right of the tool option bar, click on the little horizontal lines and you should see reset tool option.
    Good luck
    Brian

  • How can I save the images to the iPhone anywhere

    Hello  I own Time capsule 3 tb. How can I save the images to the iPhone anywhere in Time capsule
    note i used fileexplorer when Outside the home isee Outside Message " error connection failed with the error operation time out "
    Thanks

    Most Simple Back Up:
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
    Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store
    If you want to back up the Photos only:
    Export them using the File -> Export command.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • Learning iPhone SDK - Trying to draw an image

    Although I have programmed for Mac in the last years, I have never used Mac-specific technologies as Cocoa (I have programmed more in OpenGL, SDL, and the like).
    Now I am getting started with the iPhone SDK. I'd like to do some OpenGL|ES stuff, but since it is not supported in the Simulator, and you need to join the Developer Program to test stuff on directly on the device (and admission of new members is closed right now), I am focused on other stuff right now, like using Core Graphics for drawing images on the iPhone.
    My application is based on the Cocoa Touch Application template. I left the default code except for a few changes.
    In file "UntitledAppDelegate.m", I have changed the method applicationDidFinishLaunching to:
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
    contentView = [[[MyView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease];
    [window addSubview:contentView];
    [window makeKeyAndVisible];
    Then, in the MyView interface file (MyView.h), I have added the attribute "UIImageView* image;" to the class, which is declared as a property, and synthesized.
    In the class implementation (MyView.m), I have changed the method initWithFrame to:
    - (id)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
    self.backgroundColor = [UIColor darkGrayColor];
    image = [self loadImageView:@"box01.png"];
    [self addSubview:image];
    return self;
    loadImageView is a private method I have implemented as:
    - (UIImageView *)loadImageView:(NSString *) imageName {
    UIImage *img = [UIImage imageNamed:imageName];
    UIImageView *theView = [[UIImageView alloc] initWithImage:img];
    return theView;
    Since I have loaded the UIImage, and initialized a UIImageView with it, and the image view is added as a subview of the main view attached to the window, I thought it should be everything needed to draw an image on the screen. But nothing is visible. The screen is simply black when I run this on the Simulator. It doesn't even set the background to dark gray.
    So I need some help with this, I sure that anyone with experience in Mac programming will know how to help me.
    Thank you in advance.
    Message was edited by: Jedive

    I removed the XIB file from the project, but that didn't help. It was a problem with my inexperience with Objective-C. When accessing class properties in a method of the same class, i was not putting "self." before the property (in C++ that's redundant). For example, in the line "window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];". After adding it, it works correctly.

  • How do I save a photo after I have zoomed in on it?  I want to save the zoom-in as a new photo and can't work out why this doesn't work the same way saving a cropped image, or adjusted image does.  Thank you.

    How do I save an image after I have zoomed in on it?  I can't work out why I can't save a zoom-in the same way
    I can save a cropped image or an adjusted image. Thanks, Lily A.

    Hi Matt, thanks for your reply.  Have realised that Zoom in Iphoto is just  a viewing tool and not an editing tool.
    Was creating beautiful abstractions by zooming in and wanted to create a new image of the result.   Have since discovered that cropping after zooming takes me a little way to where I want to go but it isn't the same effect.  Will perhaps have to try to create it when actually shooting.  Am doing a photoshop course in February and maybe will learn a bit more then, too.  Am pretty much an amateur just finding my way.
    Thanks again,
    Best, Lily

  • I am using adobe photoshop cs6. I am facing a problem. When i save any image as "save for web". After saving image it show cropped. An image show many parts of the image after saving the image. Please help me. Thanks in advance.

    I am using adobe photoshop cs6. I am facing a problem. When i save any image as "save for web". After saving image it show cropped. An image show many parts of the image after saving the image. Please help me. Thanks in advance.

    Just go back in photoshop and use the Slice Select tool, then just click and select the slice and hit delete - if you're not sure which one is the active slice just right click and find the one that has the Delete Slice option.
    It's possible you either added the slices by accident or if you received it from someone they just had the slices hidden. For the future, you can go to View > Show > Slices to display (or hide) slices.

  • How do you crop and save a cropped image

    How do you crop and save a cropped image in PS Touch?

    This forum does not deal with any of the Touch applications.
    Try here:
    http://forums.adobe.com/community/photoshop_touch_for_phone
    or here:
    http://forums.adobe.com/community/creative_cloud_touch_apps/adobe_photoshop_touch

  • IPhone SDK disk image size?

    Hi everyone, thanks in advance for the assistance.
    I've tried downloading the iPhone SDK about 4 times now (using Safari). Each time, Safari indicates that the download is complete. But when I attempt to mount the disk image, I keep getting an error that says the disk image failed to mount. The reason simply states "not recognized".
    The DMG file size is 2,147,484,366 bytes. I'm not sure if this is correct, but I've tried 4 times now, and each file is exactly the same size.
    Can anyone provide any advice? Thanks very much.

    No, not at all. Just plain old Safari (and attempted from plain old Firefox too).
    I'm still having the same problem.
    Here's what I've considered so far and ruled out as possible problems:
    1) Browser issue - tried on both Firefox, Safari
    2) Network issue - used both my ISP & my office network
    3) Hard drive space issue - but it has 23GB free
    4) The source file has a problem - but surely someone else would have experienced the same problem as me.
    My next 'tests' will be:
    5) Can my drive store files larger than 2GB?
    6) Can I download it correctly on another mac?
    7) Can I download it correctly on a Windows/Linux machine?
    8) Email Apple and ask them for help.
    If anyone can suggest any explanation or reason for this, I'd really appreciate it. I don't know enough to suggest a reason why my browser reports a complete download, but the file is short 0.1GB.

  • Image Filter, iPhone SDK

    Hi all,
    What should be the best way to implement Edge Detection Filter for an iPhone app?
    It seems neither Core Image nor Fragment Shader is available in iPhone.

    No. At least not publicly exposed. Core-Image is part of QuartzCore.framework, which although is present in iPhone SDK but it doesn't contain the Core-Image headers. The reason I can think of is that Core-Image filters are primarily meant to run on GPU. May be - not supported on iPhone's arm processor's. May be.
    - Vijay

  • IPhone SDK: How to create an image from raw data

    Creating a UIImage from some form of bitmap file format is easy, whether you let UIImage load the file itself or create it with an NSData. But what if you have raw bitmap data in memory and you want to create an image?
    In Cocoa NSBitmapImageRep can be created by passing it a pointer to a block of memory and the relevant heigh, width, bit depth etc. information. From that you can easily create an NSImage. There doesn't seem to be anything equivalent on the iPhone. CGImage can be created but it looks like you have to write a CGImageProvider. CGBitmapContextCreate takes a void * to a block of memory. Does it clear that block?
    Is there a good way to do this?

    ElNono wrote:
    You can't do RGB565 on a CGImageRef/CGContextRef. The only 5bpp modes supported are 1555 ARGB or 5551 RGBA. If you just need to display the image, use OpenGL. One of the supported texture formats is RGB565. If you need to save the image then you're going to have to pre-convert it to RGB888.
    hi ElNono , i have test the RGB888 data now , the image can show , but another problem is the image just like serveral picture over lap together , also is blurred , my code is here:
    const size_t width = 1024;
    const size_t height = 768;
    const size_t bitsPerComponent = 8;
    const size_t bitsPerPixel = 32;
    const size_t bytesPerRow = (bitsPerPixel * width)/8;
    CGBitmapInfo bitmapInfo = kCGImageAlphaPremultipliedLast;
    CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
    NSString *imagePath = [[NSBundle mainBundle] pathForResource: @"Test" ofType: @"rgb"];
    NSFileHandle* file = [NSFileHandle fileHandleForReadingAtPath:imagePath];
    NSData* imageData = [file readDataToEndOfFile];
    CGContextRef context = CGBitmapContextCreate((void*)[imageData bytes], width, height, bitsPerComponent, bytesPerRow, colorSpace, bitmapInfo);
    CGImageRef imageRef = CGBitmapContextCreateImage (context);
    UIImage*rawImage = [UIImage imageWithCGImage:imageRef];
    CGColorSpaceRelease(colorSpace);
    CGContextRelease(context);
    CGImageRelease(imageRef);

  • IPhone SDK crashes?

    When I try to open the photos app on the iPhone SDK, a warning comes up and says and try to save an image from Mobile Safari by click-holding an image until it says "Save Photo" Safari crashes and it says "MobileSafari quit unexpectedly." How can I fix this? I have the latest iPhone SDK update.

    Found a solution.
    I reload the table before i ask it to scroll to a position.
    - (void) setOrdinal:(jint) topItem {
    NSIndexPath *indexPath = [NSIndexPath indexPathForRow:topItem inSection:0];
    [tableView reloadData];
    [tableView scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionTop animated:NO];
    The setOrdinal method is called by the user of the view containing the table.
    This works just fine.
    Thanks to all who took time to read this post.
    -TRS

Maybe you are looking for

  • Apple loops download doesn't work?

    Just upgraded to a new iMac and noticed many of the standard Apple loops are greyed out. When I double-click one, I get: "The Software Instrument or Apple Loop selected is not currently installed on your computer. Would you like to install the comple

  • Obiee 11.1.1.6 logging in without password

    We have upgraded from obiee 11.1.1.5 to 11.1.1.6. Its a linux machine. Issue is when any user tries to log in to anlaytics, it allows user to log in without password. For example suppose user id is asingh and username for that user is Ajay Singh, the

  • What are the ways to Run an LAb veiw application remotely in windows Xp /2000 System.

    I need to run LV Appliccation remotely what is the best possible way to do. Suresh Thangappan

  • NAT on Multilayer Switch 3560 and 3750

    Hi , Wish you happy new year all.. I tried configure NAT over 3560 Switch, unfortunately NAT is not supported. Is possible configure NAT on 3750? Maybe I can change my 3560 by one 3750, but I need NAT feature. Please help on this.. Thanks in advance!

  • Survey Application problem

    I have installed the survey application successfully on my machine but unfortunately when i try to log in i get this unexpected error.Can you give me a solution asap.I belong to ORACLE DIRECT India.. PLs respond Asap. Thanks in advance, Sreedhara [Te