Converting Image to Byte Array and then to String

Hi All...
Can anyone please help me. I have got a problem while converting a Byte array of BufferedImage to String.
This is my code, First i convert a BufferedImage to a byte array using ImageIO.wirte
public String dirName="C:\\image";
ByteArrayOutputStream baos=new ByteArrayOutputStream(1000);
BufferedImage img=ImageIO.read(new File(dirName,"red.jpg"));
ImageIO.write(img, "jpg", baos);
baos.flush();
byte[] resultimage=baos.toByteArray();
baos.close();
Then i tried to convert this byte array to a string
String str=new String(resultimage);
byte[] b=str.getBytes();
This much worked fine. But when i reversed this process to re-create the image from that string. i found the image distroted.
BufferedImage imag=ImageIO.read(new ByteArrayInputStream(b));
ImageIO.write(imag, "jpg", new File(dirName,"snap.jpg"));
I got this snap.jpg as distroted.
Please help me i have to convert the image to a string and again i have to re-create the image from that string.

To conver the bytearray to string use base64.encoding
String base64String= Base64.encode(baos.toByteArray());
To convert back use Base64.decode;
byte[] bytearray = Base64.decode(base64String);
BufferedImage imag=ImageIO.read(bytearray);

Similar Messages

  • Converting image into byte array

    Hi all,
    How to convert an integer array image into byte array ?
    here i have a image like this :
    private static int pixelArray[] = {
    0xff000000, 0xff000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
    0xff000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
    From this one i create image like this one :
    Image image = Image.createRGBImage(pixelArray, width, height, true);
    Now i want to convert that pixelArray into byte array ? how to do this
    additionally i want to send this byte array to servlet .
    thanks in advance.

    Hi,
    If you want to convert your int array to a byte array you should
    split each integer into 4 bytes to avoid losing information. You can
    rebuild your integer array later if you need to. I think this code
    will work (i havent tested it):
    byte[] pixel= new byte[pixelArray.length<< 2];
    for (int i= pixelArray.length- 1; i>= 0; i--) {
      int aux= i<< 2;  // i* 4 = i<< 2
      pixel[aux]=    (byte) (pixelArray>> 32);
    pixel[aux+ 1]= (byte) (pixelArray[i]>>> 16);
    pixel[aux+ 2]= (byte) (pixelArray[i]>>> 8);
    pixel[aux+ 3]= (byte) pixelArray[i];
    Greets.

  • Reading in any file and converting to a byte array

    Okay what I am trying to do is to write a program that will read in any file and convert it into a int array so that I can then manipulate the values of the int array and then re-write the file. Once I get the file into an int array I want to try and compress the data with my own algorithm as well as try to write my own encryption algorithm.
    What I have been looking for is code samples that essentially read in the file as a byte array and then I have been trying to convert that byte array into an int array which I could then manipulate. So does anyone have any sample code that essentially takes a file and converts it into an int array and then converts it back into a byte array and write the file. I have found code that is close but I guess I am just too new to this. Any help would be appreciated.

    You can read a whole file into a byte array like this:File f = new File("somefile");
    int size = (int) f.length();
    byte[] contents = new byte[size];
    DataInputStream in = new DataInputStream(
                              new BufferedInputStream(new FileInputStream(f)));
    in.readFully(contents);
    in.close();Note that you need to add in the proper exception handling code. You could also use RandomAccessFile instead of the DataInputStream.
    Writing a byte array to a file is easier; just construct the FileOutputStream, call write on it with the byte array, and close the stream.

  • Converting from spreadshet string to array and then back to spreadsheet string

    My questions is; why is the Spreadsheet string to array function creating more data than the original string had when you change the array back into a spreadsheet string. Im trying to analyze a comma delimited file using array functions since my column and row size is constant, but my data varies. Thus my reason for not using string parsing functions which would get more involved and difficult. So, however, after i convert to a 2D array of data from the comma delimited file I read from, and then I convert back to string using the Array to Spreadsheet String, I get added columns to the file, which prevents another program from receiving these files. Also, the data which I am reading is not all contiguous, it has gaps in some places for empty data. Looking at the file compared to the original after it has gone from string to array and then back to string again, looks almost identical except for the file size which got larger by 400 bytes and where the original file has empty spaces, the new file has a lot of commas added. Any idea?
    Charles

    The result you get is normal when the spreadsheet string contains rows of uneven length. Since the array rows have the same number of elements, nil values are added during the coonversion. And of course, the back to string conversion keep those added values in the string, with the associated commas.
    example : 3 x 3 array
    1,2,3
    4
    5,6,7
    is converted into
    1 2 3
    4 0 0
    5 6 7
    then back to
    1,2,3
    4,0,0
    5,6,7
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Converting ASCII text (byte array ending in null) to a String

    Hi all,
    I am trying to convert a null terminated ascii string stored in a byte array to a java String. When I pass the byte array to the String constructor it
    does not detect/interpret the null as a terminator for the ascii string. Is this something I have to manually program in? ie Check for where the null is and then
    pass that subarray of everything before the null to the String constructor?
    example of problem
    //               A   B  C   D   null   F   (note F is junk in the array, and should be ignored since it is after null)
    byte[] asciiArray = { 65, 66, 67, 68, 0,  70 };
    System.out.println(new String(asciiArray, "UTF-8"));
    //this prints ABCD"sqare icon"F

    Why do you expect the null character to terminate the string? If you come from a C or C++ background, you need to understand that java.lang.String is not just a mere character array. It's a full-fledged Java object that knows its length without having any need for null terminator. So Ascii 0 is just another character for String object. To achieve what you want to do, you have to manually loop through the byte array and stop when you encounter a null character.

  • Display image from byte array

    Hello Everybody,
    I need to display an image given in a byte array, how can I show this image in a JFrame?
    1. I tryied saving the image in a .jpg file,
         File file1 = new File("Path to my destination image");2. then I use a FileOutputStream to save the image in the path:
            FileOutputStream fos1 = new FileOutputStream(docu);
            fos1.write(ImageInbyteArray);
            fos1.close();3. Once I have the image in a file I'm trying to load it using a JButton, but the JButton doesn't display the image. I think that for some unknown (at least for me ;-) reason the file isn't still available to be used in the ImageIcon, this is my code:
            imgIconDocu = new ImageIcon("Path to my destination image");
            jBtnDocu = new JButton(imgIconDocu);What's wrong here?
    Thanks a lot

    Does the byte array contain a JPEG image? Where did
    you get the contents of the byte array?yes the array contains the JPEG image, I have a database in PostgreSQL, and the images are stored in blob in the database. I have to call a service in the server and in return it gives me the 3 images as byte arrays, that's the reason I only have the byte arrays. so I tryed saving the images as jpeg files in my hard disk to show them, but it appears that they are not available to show them in Swing after saving them. I can only show the images if I close my application and start it again :-(
    I tryed flushing and closing the FileOutputStream after the writting process (fos.write(bytearrayImage);
    fos.flush();
    fos.close();)
    Y also tryed:
    fos.write(bytearrayImage);
    fos.close();
    fos.flush();But it doesn't work either :-(
    What do you recommend me?.
    Thanks a lot,
    Johnny G L

  • How can i convert object to byte array very*100 fast?

    i need to transfer a object by datagram packet in embeded system.
    i make a code fallowing sequence.
    1) convert object to byte array ( i append object attribute to byte[] sequencailly )
    2) send the byte array by datagram packet ( by JNI )
    but, it's not satisfied my requirement.
    it must be finished in 1ms.
    but, converting is spending 2ms.
    network speed is not bottleneck. ( transfer time is 0.3ms and packet size is 4096 bytes )
    Using ObjectOutputStream is very slow, so i'm using this way.
    is there antoher way? or how can i improve?
    Edited by: JongpilKim on May 17, 2009 10:48 PM
    Edited by: JongpilKim on May 17, 2009 10:51 PM
    Edited by: JongpilKim on May 17, 2009 10:53 PM

    thanks a lot for your reply.
    now, i use udp socket for communication, but, i must use hardware pci communication later.
    so, i wrap the communication logic to use jni.
    for convert a object to byte array,
    i used ObjectInputStream before, but it was so slow.
    so, i change the implementation to use byte array directly, like ByteBuffer.
    ex)
    public class ByteArrayHelper {
    private byte[] buf = new byte[1024];
    int idx = 0;
    public void putInt(int val){
    buf[idx++] = (byte)(val & 0xff);
    buf[idx++] = (byte)((val>>8) & 0xff);
    buf[idx++] = (byte)((val>>16) & 0xff);
    buf[idx++] = (byte)((val>>24) & 0xff);
    public void putDouble(double val){ .... }
    public void putFloat(float val){ ... }
    public byte[] toByteArray(){ return this.buf; }
    public class PacketData {
    priavte int a;
    private int b;
    public byte[] getByteArray(){
    ByteArrayHelper helper = new ByteArrayHelper();
    helper.putInt(a);
    helper.putInt(b);
    return helper.toByteArray();
    but, it's not enough.
    is there another way to send a object data?
    in java language, i can't access memory directly.
    in c language, if i use struct, i can send struct data to copy memory by socket and it's very fast.
    Edited by: JongpilKim on May 18, 2009 5:26 PM

  • I would like to migrate from Aperture. What happens to my Masters which are on a RAID array and then what do I do with my Vault which is on a separate Drive please ?

    I am sorry, but I do noisy understand what happens to my RAW original Master files, which I keep offline on a RAID array and then what I do with my Vault which as all my edited photos ? Sorry for such a simple question, but would someone please help my lift the fog ?
    Thanks,
    Rob

    Dear John ,
    Apologies, as I am attempting to get to the bottom of this migration for my wife ( who is away on assignment ) and I am not 100% certain on the technical aspects of Aperture, so excuse my ignorance.
    She has about 6TB worth of RAW Master images ( several 100 thousand ) which, as explained, are on an external RAID drive. She uses a separate Drive as a Vault . Can I assume that this Vault contains all of her edits, file structures , Metadata, etc ?
    So, step by step........She can Import into Lightroom her Referenced Masters from her RAID and still keep them there ? Is that correct ?
    The Managed Files that are backed up by her Vault , are in the pictures folder of her MacPro, but not in a structure that looks like her Aperture library ? This means Lightroom will just organize all the Managed files, simply by the date in the Metadata ? Am I correct ( Sorry for being so tech illiterate ).
    How do I ensure she imports into Lighgtroom in exactly the same format as she runs her workflow in Aperture ?  ( Projects, that are organized by year and shoot location and Albums within those projects with sub-locations, or species , etc ). What exactly do I need to do in Aperture please to organize Managed Files to create a mirror structure of Aperture on my internal Hard Drive ?
    There are a couple of points I am unsure about in regard to Lightroom. Does it work in the same way as Aperture ? Meaning, can she still keep Master Files on an external RAID and Lightroom will reference them ? If the answer is yes, how do you back up your Managed ( edited ) work in Lightroom ? ( Can you still use an external Drive as a Vault ? ) . Will the vault she uses now be able to continue to back up Managed Files post migration ?

  • I am looking for an application that would allow me to open a word doc, and take notes in the .doc using a stylus pen.  I'd then like to convert those notes to text, and then be able to copy / paste those notes into an email.  Does this app exist?

    I am looking for an application that would allow me to open a word doc, and take notes in the .doc using a stylus pen.  I'd then like to convert those notes to text, and then be able to copy / paste those notes into an email.  Does this app exist?  It seems like we were doing these same types of things with Palm Pilots years ago, one would think this would work with iPads?

    I don't believe it will open a Word document, but Writepad allows for handwritten conversion of notes to text and then to email. Might help you some of the way...

  • Converting PDF Forms to Word and Then Back to PDF with Forms In Tact

    Hello,
    We are currently having a heck of a time replacing some keywords in a collection of about a thousand PDF forms.  These forms were created in Word without any interactive functionality and then converted to PDF.  The simple form interactions were then added using Acrobat.
    We figured out a way to replace all of the keywords by converting the PDF to Word, and then running a Visual Basic macro that does a Find and Replace on all of the documents at once.  Our problem is that we lose the functionality of the forms when we convert them to Word.  The docs have to be converted back to PDFs, and putting in all of the form interactivity in each file would take far longer than we have.
    Is there a better way to go about this than we're attempting?
    Is there a way to do these conversions and keep the interactive forms?
    We essentially want the forms to behave exactly as they did, just with a few keywords changed.
    Thanks for any help you can offer!

    If you are going to convert regularly, you may want to subscribe to ExportPDF,
    https://www.acrobat.com/exportpdf/en/pricing.html
    And please don't write your messages in all caps; it makes reading difficult, and in the Internet it is considered the equivalent of shouting.

  • My Iphoto has stopped downloading images from my camera and then crashes iPhoto

    My Iphoto has stopped downloading images from my camera and then crashes iPhoto

    This is what apperes on my screen
    Process:         iPhoto [1603]
    Path:            /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Identifier:      com.apple.iPhoto
    Version:         9.4.2 (9.4.2)
    Build Info:      iPhotoProject-710042000000000~2
    App Item ID:     408981381
    App External ID: 11723545
    Code Type:       X86 (Native)
    Parent Process:  launchd [143]
    User ID:         501
    Date/Time:       2013-01-17 21:16:29.594 +0000
    OS Version:      Mac OS X 10.8.2 (12C60)
    Report Version:  10
    Interval Since Last Report:          28280 sec
    Crashes Since Last Report:           1
    Per-App Interval Since Last Report:  545 sec
    Per-App Crashes Since Last Report:   1
    Anonymous UUID:                      AA2EE243-DC20-80AD-2F81-12E02E8E930A
    Crashed Thread:  26  Dispatch queue: com.apple.RedRock.RKInfoDictionaryMgr
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSMallocException', reason: 'Out of memory. We suggest restarting the application. If you have an unsaved document, create a backup copy in Finder, then try to save.'
    Application Specific Backtrace 1:
    0   CoreFoundation                      0x9797912b __raiseError + 219
    1   libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    2   Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    3   CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    4   CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    5   CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    6   CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    7   CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    8   Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    9   CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    10  CoreFoundation                      0x9797925c __raiseError + 524
    11  libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    12  Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    13  CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    14  CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    15  CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    16  CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    17  CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    18  Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    19  CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    20  CoreFoundation                      0x9797925c __raiseError + 524
    21  libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    22  Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    23  CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    24  CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    25  CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    26  CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    27  CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    28  Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    29  CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    30  CoreFoundation                      0x9797925c __raiseError + 524
    31  libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    32  Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    33  CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    34  CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    35  CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    36  CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    37  CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    38  Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    39  CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    40  CoreFoundation                      0x9797925c __raiseError + 524
    41  libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    42  Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    43  CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    44  CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    45  CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    46  CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    47  CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    48  Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    49  CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    50  CoreFoundation                      0x9797925c __raiseError + 524
    51  libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    52  Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    53  CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    54  CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    55  CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    56  CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    57  CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    58  Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    59  CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    60  CoreFoundation                      0x9797925c __raiseError + 524
    61  libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    62  Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    63  CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    64  CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    65  CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    66  CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    67  CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    68  Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    69  CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    70  CoreFoundation                      0x9797925c __raiseError + 524
    71  libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    72  Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    73  CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    74  CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    75  CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    76  CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    77  CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    78  Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    79  CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    80  CoreFoundation                      0x9797925c __raiseError + 524
    81  libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    82  Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    83  CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    84  CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    85  CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    86  CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    87  CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    88  Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    89  CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    90  CoreFoundation                      0x9797925c __raiseError + 524
    91  libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    92  Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    93  CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    94  CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    95  CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    96  CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    97  CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    98  Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    99  CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    100 CoreFoundation                      0x9797925c __raiseError + 524
    101 libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    102 Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    103 CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    104 CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    105 CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    106 CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    107 CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    108 Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    109 CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    110 CoreFoundation                      0x9797925c __raiseError + 524
    111 libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    112 Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    113 CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    114 CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    115 CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    116 CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    117 CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    118 Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    119 CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    120 CoreFoundation                      0x9797925c __raiseError + 524
    121 libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    122 Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    123 CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    124 CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    125 CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    126 CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    127 CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    128 Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    129 CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    130 CoreFoundation                      0x9797925c __raiseError + 524
    131 libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    132 Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    133 CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    134 CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    135 CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    136 CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    137 CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    138 Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    139 CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    140 CoreFoundation                      0x9797925c __raiseError + 524
    141 libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    142 Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    143 CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    144 CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    145 CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    146 CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    147 CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    148 Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    149 CoreFoundation                      0x9788e7c1 -[NSArray description] + 49
    150 CoreFoundation                      0x9797925c __raiseError + 524
    151 libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    152 Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    153 CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    154 CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    155 CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    156 CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    157 CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    158 Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    159 CoreFoundation                      0x97968fc0 -[NSArray descriptionWithLocale:] + 48
    160 Foundation                          0x923bcf04 _NSDescriptionWithLocaleFunc + 94
    161 CoreFoundation                      0x97844f00 __CFStringAppendFormatCore + 16320
    162 CoreFoundation                      0x9789174c _CFStringCreateWithFormatAndArgumentsAux + 108
    163 CoreFoundation                      0x97906a96 _CFLogvEx + 118
    164 Foundation                          0x923f7cc8 NSLogv + 137
    165 Foundation                          0x923f7c3a NSLog + 27
    166 AppKit                              0x932c3f85 -[NSApplication reportException:] + 84
    167 AppKit                              0x93a43b81 _NSDefaultTopLevelErrorHandler + 115
    168 AppKit                              0x9360c9f1 uncaughtErrorProc + 99
    169 CoreFoundation                      0x979791d6 __raiseError + 390
    170 libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    171 Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    172 CoreFoundation                      0x9784601d __CFStringChangeSizeMultiple + 1645
    173 CoreFoundation                      0x97845872 __CFStringAppendBytes + 850
    174 CoreFoundation                      0x97844fbf __CFStringAppendFormatCore + 16511
    175 CoreFoundation                      0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    176 CoreFoundation                      0x97902e78 -[__NSCFString appendFormat:] + 88
    177 Foundation                          0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    178 CoreFoundation                      0x97968fc0 -[NSArray descriptionWithLocale:] + 48
    179 Foundation                          0x923bcf04 _NSDescriptionWithLocaleFunc + 94
    180 CoreFoundation                      0x97844f00 __CFStringAppendFormatCore + 16320
    181 CoreFoundation                      0x9789174c _CFStringCreateWithFormatAndArgumentsAux + 108
    182 CoreFoundation                      0x97906a96 _CFLogvEx + 118
    183 Foundation                          0x923f7cc8 NSLogv + 137
    184 Foundation                          0x923f7c3a NSLog + 27
    185 AppKit                              0x932c3f85 -[NSApplication reportException:] + 84
    186 AppKit                              0x93a43b81 _NSDefaultTopLevelErrorHandler + 115
    187 AppKit                              0x9360c9f1 uncaughtErrorProc + 99
    188 CoreFoundation                      0x979791d6 __raiseError + 390
    189 libobjc.A.dylib                     0x9975c52e objc_exception_throw + 230
    190 Foundation                          0x924c0804 ___NSInitializePlatform_block_invoke_0 + 0
    191 CoreFoundation                      0x9784601d __CFStringChangeSizeM
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib                  0x989187d2 mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x98917cb0 mach_msg + 68
    2   com.apple.CoreFoundation                0x9786f599 __CFRunLoopServiceMachPort + 185
    3   com.apple.CoreFoundation                0x97874f7f __CFRunLoopRun + 1247
    4   com.apple.CoreFoundation                0x9787463a CFRunLoopRunSpecific + 378
    5   com.apple.CoreFoundation                0x978744ab CFRunLoopRunInMode + 123
    6   com.apple.HIToolbox                     0x941fc15a RunCurrentEventLoopInMode + 242
    7   com.apple.HIToolbox                     0x941fbec9 ReceiveNextEventCommon + 374
    8   com.apple.HIToolbox                     0x941fbd44 BlockUntilNextEventMatchingListInMode + 88
    9   com.apple.AppKit                        0x933bba3a _DPSNextEvent + 724
    10  com.apple.AppKit                        0x933bb26c -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
    11  com.apple.AppKit                        0x933b16cc -[NSApplication run] + 855
    12  com.apple.AppKit                        0x933546f6 NSApplicationMain + 1053
    13  com.apple.iPhoto                        0x000fac99 0xeb000 + 64665
    14  com.apple.iPhoto                        0x000fa2e5 0xeb000 + 62181
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x9891ac02 __select_nocancel + 10
    1   libdispatch.dylib                       0x90b32a08 _dispatch_mgr_invoke + 376
    2   libdispatch.dylib                       0x90b327a9 _dispatch_mgr_thread + 53
    Thread 2:: Dispatch queue: com.apple.root.default-priority
    0   libsystem_kernel.dylib                  0x9891a672 __mmap + 10
    1   libsystem_c.dylib                       0x97d0163b allocate_pages + 163
    2   libsystem_c.dylib                       0x97d06d54 large_malloc + 1087
    3   libsystem_c.dylib                       0x97d0cc7b szone_malloc_should_clear + 3889
    4   libsystem_c.dylib                       0x97d01a3e szone_malloc + 24
    5   libsystem_c.dylib                       0x97cff54b malloc_zone_malloc + 75
    6   libsystem_c.dylib                       0x97cfff87 malloc + 53
    7   com.apple.CoreServices.CarbonCore          0x96619587 CSMemNewPtr + 50
    8   com.apple.CoreServices.CarbonCore          0x96618651 CSMemNewHandle + 61
    9   com.apple.QD                            0x999354e4 AllocatePixMapBuffer + 231
    10  com.apple.QD                            0x99934e8d NewGWorldPB + 391
    11  com.apple.QD                            0x999352e6 NewGWorld + 166
    12  com.apple.QuickTime                     0x93f2deb2 QTNewGWorld + 349
    13  com.apple.QuickTime                     0x93f6232d GetNewGWorld + 664
    14  com.apple.QuickTime                     0x93f5b032 AllocateCodecImageBuffer + 1557
    15  com.apple.QuickTime                     0x93f1bc9d ICMSequenceBuildChain + 554
    16  com.apple.QuickTime                     0x93f0e794 DoBandedDecompress + 4167
    17  com.apple.QuickTime                     0x93f0d6e0 ICMAction + 1286
    18  com.apple.QuickTime                     0x93f0cfd0 ICMDeviceLoop + 3924
    19  com.apple.QuickTime                     0x93f130a0 DecompressSequenceFrameWhen + 803
    20  com.apple.QuickTime                     0x93f12d74 DecompressSequenceFrameS + 61
    21  com.apple.QuickTimeImporters.component          0x965857ad importGraphicDrawInternal + 1834
    22  com.apple.QuickTimeImporters.component          0x9657f1ea importGraphicDrawOrDecide + 1782
    23  com.apple.CoreServices.CarbonCore          0x966e2abf CallComponentFunctionCommonWithStorage(char**, ComponentParameters*, long (*)(), unsigned long) + 45
    24  com.apple.CoreServices.CarbonCore          0x966e2aff CallComponentFunctionWithStorageProcInfo + 30
    25  com.apple.QuickTimeImporters.component          0x9657dd31 ImportGraphicComponentDispatch + 81
    26  com.apple.CoreServices.CarbonCore          0x9665caee CallComponent + 151
    27  com.apple.CoreServices.CarbonCore          0x9665cb65 DelegateComponentCall + 24
    28  com.apple.QuickTimeImporters.component          0x9651c768 ImportJFIFComponentDispatch + 98
    29  com.apple.CoreServices.CarbonCore          0x9665caee CallComponent + 151
    30  com.apple.CoreServices.CarbonCore          0x9665cb48 CallComponentDispatch + 29
    31  com.apple.QuickTimeComponents.component          0x95e97b61 0x95305000 + 12135265
    32  com.apple.QuickTimeComponents.component          0x95bd4be0 0x95305000 + 9239520
    33  com.apple.CoreServices.CarbonCore          0x966f191f callComponentStorage_444 + 32
    34  com.apple.CoreServices.CarbonCore          0x966e2abf CallComponentFunctionCommonWithStorage(char**, ComponentParameters*, long (*)(), unsigned long) + 45
    35  com.apple.CoreServices.CarbonCore          0x966e2aff CallComponentFunctionWithStorageProcInfo + 30
    36  com.apple.QuickTimeComponents.component          0x95bd3b92 ExportBaseComponentDispatch + 81
    37  com.apple.CoreServices.CarbonCore          0x9665caee CallComponent + 151
    38  com.apple.CoreServices.CarbonCore          0x9665cb65 DelegateComponentCall + 24
    39  com.apple.QuickTimeComponents.component          0x95bd83e2 ExportJFIFComponentDispatch + 98
    40  com.apple.CoreServices.CarbonCore          0x9665caee CallComponent + 151
    41  com.apple.CoreServices.CarbonCore          0x9665cb48 CallComponentDispatch + 29
    42  com.apple.QuickTimeComponents.component          0x95e98825 0x95305000 + 12138533
    43  com.apple.QuickTimeComponents.component          0x95bd4125 0x95305000 + 9236773
    44  com.apple.CoreServices.CarbonCore          0x966f1adb callComponentStorage_44 + 25
    45  com.apple.CoreServices.CarbonCore          0x966e2abf CallComponentFunctionCommonWithStorage(char**, ComponentParameters*, long (*)(), unsigned long) + 45
    46  com.apple.CoreServices.CarbonCore          0x966e2aff CallComponentFunctionWithStorageProcInfo + 30
    47  com.apple.QuickTimeComponents.component          0x95bd3b92 ExportBaseComponentDispatch + 81
    48  com.apple.CoreServices.CarbonCore          0x9665caee CallComponent + 151
    49  com.apple.CoreServices.CarbonCore          0x9665cb65 DelegateComponentCall + 24
    50  com.apple.QuickTimeComponents.component          0x95bd83e2 ExportJFIFComponentDispatch + 98
    51  com.apple.CoreServices.CarbonCore          0x9665caee CallComponent + 151
    52  com.apple.CoreServices.CarbonCore          0x9665cb48 CallComponentDispatch + 29
    53  com.apple.QuickTime                     0x940fe8b7 GraphicsExportDoExport + 43
    54  com.apple.iPhoto                        0x004aa843 0xeb000 + 3930179
    55  com.apple.iPhoto                        0x0040b01c 0xeb000 + 3276828
    56  com.apple.iPhoto                        0x0040b862 0xeb000 + 3278946
    57  com.apple.iPhoto                        0x0040b9a1 0xeb000 + 3279265
    58  com.apple.Foundation                    0x92423cc1 -[NSBlockOperation main] + 188
    59  com.apple.Foundation                    0x923f6fb9 -[__NSOperationInternal start] + 740
    60  com.apple.Foundation                    0x923f6cce -[NSOperation start] + 67
    61  com.apple.Foundation                    0x923fedc9 __block_global_6 + 135
    62  libdispatch.dylib                       0x90b33f8f _dispatch_call_block_and_release + 15
    63  libdispatch.dylib                       0x90b2fc82 _dispatch_client_callout + 46
    64  libdispatch.dylib                       0x90b30f02 _dispatch_worker_thread2 + 285
    65  libsystem_c.dylib                       0x97ce7e12 _pthread_wqthread + 441
    66  libsystem_c.dylib                       0x97ccfcca start_wqthread + 30
    Thread 3:
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97cea512 pthread_cond_timedwait_relative_np + 47
    3   com.apple.Foundation                    0x9242c3c6 -[NSCondition waitUntilDate:] + 404
    4   com.apple.Foundation                    0x9242c1ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282
    5   com.apple.Foundation                    0x92431740 -[NSConditionLock lockWhenCondition:] + 69
    6   com.apple.proxtcore                     0x0209ce12 -[XTMsgQueue waitForMessage] + 47
    7   com.apple.proxtcore                     0x0209befa -[XTThread run:] + 412
    8   com.apple.Foundation                    0x923fe1d8 -[NSThread main] + 45
    9   com.apple.Foundation                    0x923fe15b __NSThread__main__ + 1396
    10  libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    11  libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 4:
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97cea512 pthread_cond_timedwait_relative_np + 47
    3   com.apple.Foundation                    0x9242c3c6 -[NSCondition waitUntilDate:] + 404
    4   com.apple.Foundation                    0x9242c1ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282
    5   com.apple.Foundation                    0x92431740 -[NSConditionLock lockWhenCondition:] + 69
    6   com.apple.proxtcore                     0x0209ce12 -[XTMsgQueue waitForMessage] + 47
    7   com.apple.proxtcore                     0x0209befa -[XTThread run:] + 412
    8   com.apple.Foundation                    0x923fe1d8 -[NSThread main] + 45
    9   com.apple.Foundation                    0x923fe15b __NSThread__main__ + 1396
    10  libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    11  libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 5:
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97cea512 pthread_cond_timedwait_relative_np + 47
    3   com.apple.Foundation                    0x9242c3c6 -[NSCondition waitUntilDate:] + 404
    4   com.apple.Foundation                    0x9242c1ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282
    5   com.apple.Foundation                    0x92431740 -[NSConditionLock lockWhenCondition:] + 69
    6   com.apple.proxtcore                     0x0209ce12 -[XTMsgQueue waitForMessage] + 47
    7   com.apple.proxtcore                     0x0209befa -[XTThread run:] + 412
    8   com.apple.Foundation                    0x923fe1d8 -[NSThread main] + 45
    9   com.apple.Foundation                    0x923fe15b __NSThread__main__ + 1396
    10  libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    11  libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 6:
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97cea512 pthread_cond_timedwait_relative_np + 47
    3   com.apple.Foundation                    0x9242c3c6 -[NSCondition waitUntilDate:] + 404
    4   com.apple.Foundation                    0x9242c1ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282
    5   com.apple.Foundation                    0x92431740 -[NSConditionLock lockWhenCondition:] + 69
    6   com.apple.proxtcore                     0x0209ce12 -[XTMsgQueue waitForMessage] + 47
    7   com.apple.proxtcore                     0x0209befa -[XTThread run:] + 412
    8   com.apple.Foundation                    0x923fe1d8 -[NSThread main] + 45
    9   com.apple.Foundation                    0x923fe15b __NSThread__main__ + 1396
    10  libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    11  libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 7:
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97cea512 pthread_cond_timedwait_relative_np + 47
    3   com.apple.Foundation                    0x9242c3c6 -[NSCondition waitUntilDate:] + 404
    4   com.apple.Foundation                    0x9242c1ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282
    5   com.apple.Foundation                    0x92431740 -[NSConditionLock lockWhenCondition:] + 69
    6   com.apple.proxtcore                     0x0209ce12 -[XTMsgQueue waitForMessage] + 47
    7   com.apple.proxtcore                     0x0209befa -[XTThread run:] + 412
    8   com.apple.Foundation                    0x923fe1d8 -[NSThread main] + 45
    9   com.apple.Foundation                    0x923fe15b __NSThread__main__ + 1396
    10  libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    11  libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 8:
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97cea512 pthread_cond_timedwait_relative_np + 47
    3   com.apple.Foundation                    0x9242c3c6 -[NSCondition waitUntilDate:] + 404
    4   com.apple.Foundation                    0x9242c1ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282
    5   com.apple.Foundation                    0x92431740 -[NSConditionLock lockWhenCondition:] + 69
    6   com.apple.proxtcore                     0x0209ce12 -[XTMsgQueue waitForMessage] + 47
    7   com.apple.proxtcore                     0x0209befa -[XTThread run:] + 412
    8   com.apple.Foundation                    0x923fe1d8 -[NSThread main] + 45
    9   com.apple.Foundation                    0x923fe15b __NSThread__main__ + 1396
    10  libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    11  libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 9:
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97cea512 pthread_cond_timedwait_relative_np + 47
    3   com.apple.Foundation                    0x9242c3c6 -[NSCondition waitUntilDate:] + 404
    4   com.apple.Foundation                    0x9242c1ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282
    5   com.apple.Foundation                    0x92431740 -[NSConditionLock lockWhenCondition:] + 69
    6   com.apple.proxtcore                     0x0209ce12 -[XTMsgQueue waitForMessage] + 47
    7   com.apple.proxtcore                     0x0209befa -[XTThread run:] + 412
    8   com.apple.Foundation                    0x923fe1d8 -[NSThread main] + 45
    9   com.apple.Foundation                    0x923fe15b __NSThread__main__ + 1396
    10  libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    11  libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 10:
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97cea512 pthread_cond_timedwait_relative_np + 47
    3   com.apple.Foundation                    0x9242c3c6 -[NSCondition waitUntilDate:] + 404
    4   com.apple.Foundation                    0x9242c1ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282
    5   com.apple.Foundation                    0x92431740 -[NSConditionLock lockWhenCondition:] + 69
    6   com.apple.RedRock                       0x026ea48f -[RKAsyncImageRenderer _backgroundRenderThread:] + 173
    7   libobjc.A.dylib                         0x99769586 -[NSObject performSelector:] + 62
    8   com.apple.proxtcore                     0x020a5df9 -[XTThreadSendOnlyDetached _detachedMessageHandler:] + 167
    9   libobjc.A.dylib                         0x997695d3 -[NSObject performSelector:withObject:] + 70
    10  com.apple.proxtcore                     0x0209e22c -[XTSubscription postMessage:] + 191
    11  com.apple.proxtcore                     0x0209daef -[XTDistributor distributeMessage:] + 681
    12  com.apple.proxtcore                     0x0209d313 -[XTThread handleMessage:] + 515
    13  com.apple.proxtcore                     0x0209bf10 -[XTThread run:] + 434
    14  com.apple.Foundation                    0x923fe1d8 -[NSThread main] + 45
    15  com.apple.Foundation                    0x923fe15b __NSThread__main__ + 1396
    16  libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    17  libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 11:: com.apple.CFSocket.private
    0   libsystem_kernel.dylib                  0x9891abe6 __select + 10
    1   com.apple.CoreFoundation                0x978b8c00 __CFSocketManager + 1632
    2   libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    3   libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 12:
    0   libsystem_kernel.dylib                  0x989187d2 mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x98917cb0 mach_msg + 68
    2   com.apple.CoreFoundation                0x9786f599 __CFRunLoopServiceMachPort + 185
    3   com.apple.CoreFoundation                0x97874f7f __CFRunLoopRun + 1247
    4   com.apple.CoreFoundation                0x9787463a CFRunLoopRunSpecific + 378
    5   com.apple.CoreFoundation                0x978744ab CFRunLoopRunInMode + 123
    6   com.apple.Foundation                    0x92403946 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278
    7   com.apple.proxtcore                     0x0209e06c -[XTRunLoopThread run:] + 469
    8   com.apple.Foundation                    0x923fe1d8 -[NSThread main] + 45
    9   com.apple.Foundation                    0x923fe15b __NSThread__main__ + 1396
    10  libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    11  libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 13:
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97cea512 pthread_cond_timedwait_relative_np + 47
    3   com.apple.CoreServices.CarbonCore          0x966c16ad TSWaitOnConditionTimedRelative + 177
    4   com.apple.CoreServices.CarbonCore          0x966c1184 TSWaitOnSemaphoreCommon + 272
    5   com.apple.CoreServices.CarbonCore          0x966c140d TSWaitOnSemaphoreRelative + 24
    6   com.apple.QuickTimeComponents.component          0x958fb5ac 0x95305000 + 6251948
    7   libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    8   libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 14:: jpegdecompress_MPLoop
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97d77afc pthread_cond_wait + 48
    3   com.apple.QuickTimeComponents.component          0x95a12556 0x95305000 + 7394646
    4   libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    5   libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 15:: jpegdecompress_MPLoop
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97d77afc pthread_cond_wait + 48
    3   com.apple.QuickTimeComponents.component          0x95a12556 0x95305000 + 7394646
    4   libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    5   libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 16:: jpegdecompress_MPLoop
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97d77afc pthread_cond_wait + 48
    3   com.apple.QuickTimeComponents.component          0x95a12556 0x95305000 + 7394646
    4   libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    5   libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 17:: jpegdecompress_MPLoop
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97d77afc pthread_cond_wait + 48
    3   com.apple.QuickTimeComponents.component          0x95a12556 0x95305000 + 7394646
    4   libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    5   libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 18:: jpegdecompress_MPLoop
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97d77afc pthread_cond_wait + 48
    3   com.apple.QuickTimeComponents.component          0x95a12556 0x95305000 + 7394646
    4   libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    5   libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 19:: jpegdecompress_MPLoop
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97d77afc pthread_cond_wait + 48
    3   com.apple.QuickTimeComponents.component          0x95a12556 0x95305000 + 7394646
    4   libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    5   libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 20:: jpegdecompress_MPLoop
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea289 _pthread_cond_wait + 938
    2   libsystem_c.dylib                       0x97d77afc pthread_cond_wait + 48
    3   com.apple.QuickTimeComponents.component          0x95a12556 0x95305000 + 7394646
    4   libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    5   libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 21:
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea220 _pthread_cond_wait + 833
    2   libsystem_c.dylib                       0x97d700a1 pthread_cond_wait$UNIX2003 + 71
    3   com.apple.Foundation                    0x923fc734 -[NSCondition wait] + 274
    4   com.apple.iPhoto                        0x0013ca64 0xeb000 + 334436
    5   com.apple.iPhoto                        0x0013c672 0xeb000 + 333426
    6   com.apple.CoreFoundation                0x978cad6d __invoking___ + 29
    7   com.apple.CoreFoundation                0x978caca7 -[NSInvocation invoke] + 279
    8   com.apple.RedRock                       0x0270685b -[RKInvoker _invokeTarget:] + 33
    9   com.apple.RedRock                       0x027175f4 -[RKInvoker _invokeTargetWithPool:] + 68
    10  libobjc.A.dylib                         0x997695d3 -[NSObject performSelector:withObject:] + 70
    11  com.apple.proxtcore                     0x020a5df9 -[XTThreadSendOnlyDetached _detachedMessageHandler:] + 167
    12  libobjc.A.dylib                         0x997695d3 -[NSObject performSelector:withObject:] + 70
    13  com.apple.proxtcore                     0x0209e22c -[XTSubscription postMessage:] + 191
    14  com.apple.proxtcore                     0x0209daef -[XTDistributor distributeMessage:] + 681
    15  com.apple.proxtcore                     0x0209d313 -[XTThread handleMessage:] + 515
    16  com.apple.proxtcore                     0x0209bf10 -[XTThread run:] + 434
    17  com.apple.Foundation                    0x923fe1d8 -[NSThread main] + 45
    18  com.apple.Foundation                    0x923fe15b __NSThread__main__ + 1396
    19  libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    20  libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 22:: Import thread 0
    0   libsystem_kernel.dylib                  0x9891a91a __psynch_mutexwait + 10
    1   libsystem_c.dylib                       0x97ceb13b pthread_mutex_lock + 595
    2   com.apple.Foundation                    0x923a8a34 -[NSRecursiveLock lock] + 26
    3   com.apple.iPhoto                        0x002103e7 0xeb000 + 1201127
    4   com.apple.iPhoto                        0x00210347 0xeb000 + 1200967
    5   com.apple.iPhoto                        0x0020f557 0xeb000 + 1197399
    6   com.apple.iPhoto                        0x0020f0e1 0xeb000 + 1196257
    7   com.apple.iPhoto                        0x0020a212 0xeb000 + 1176082
    8   com.apple.iPhoto                        0x00208ead 0xeb000 + 1171117
    9   libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    10  libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 23:
    0   libsystem_kernel.dylib                  0x9891b0ee __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x97ce804c _pthread_workq_return + 45
    2   libsystem_c.dylib                       0x97ce7e19 _pthread_wqthread + 448
    3   libsystem_c.dylib                       0x97ccfcca start_wqthread + 30
    Thread 24:
    0   libsystem_kernel.dylib                  0x9891b0ee __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x97ce804c _pthread_workq_return + 45
    2   libsystem_c.dylib                       0x97ce7e19 _pthread_wqthread + 448
    3   libsystem_c.dylib                       0x97ccfcca start_wqthread + 30
    Thread 25:: CVDisplayLink
    0   libsystem_kernel.dylib                  0x9891a8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97cea220 _pthread_cond_wait + 833
    2   libsystem_c.dylib                       0x97d700a1 pthread_cond_wait$UNIX2003 + 71
    3   com.apple.CoreVideo                     0x915bd16d CVDisplayLink::runIOThread() + 903
    4   com.apple.CoreVideo                     0x915bcdce startIOThread(void*) + 160
    5   libsystem_c.dylib                       0x97ce5557 _pthread_start + 344
    6   libsystem_c.dylib                       0x97ccfcee thread_start + 34
    Thread 26 Crashed:: Dispatch queue: com.apple.RedRock.RKInfoDictionaryMgr
    0   com.apple.CoreFoundation                0x97979947 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 7
    1   libobjc.A.dylib                         0x9975c52e objc_exception_throw + 230
    2   com.apple.Foundation                    0x924c0804 _NSOutOfMemoryErrorHandler + 72
    3   com.apple.CoreFoundation                0x9784601d __CFStringChangeSizeMultiple + 1645
    4   com.apple.CoreFoundation                0x97845872 __CFStringAppendBytes + 850
    5   com.apple.CoreFoundation                0x97844fbf __CFStringAppendFormatCore + 16511
    6   com.apple.CoreFoundation                0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    7   com.apple.CoreFoundation                0x97902e78 -[__NSCFString appendFormat:] + 88
    8   com.apple.Foundation                    0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    9   com.apple.CoreFoundation                0x9788e7c1 -[NSArray description] + 49
    10  com.apple.CoreFoundation                0x9797925c __raiseError + 524
    11  libobjc.A.dylib                         0x9975c52e objc_exception_throw + 230
    12  com.apple.Foundation                    0x924c0804 _NSOutOfMemoryErrorHandler + 72
    13  com.apple.CoreFoundation                0x9784601d __CFStringChangeSizeMultiple + 1645
    14  com.apple.CoreFoundation                0x97845872 __CFStringAppendBytes + 850
    15  com.apple.CoreFoundation                0x97844fbf __CFStringAppendFormatCore + 16511
    16  com.apple.CoreFoundation                0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    17  com.apple.CoreFoundation                0x97902e78 -[__NSCFString appendFormat:] + 88
    18  com.apple.Foundation                    0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    19  com.apple.CoreFoundation                0x9788e7c1 -[NSArray description] + 49
    20  com.apple.CoreFoundation                0x9797925c __raiseError + 524
    21  libobjc.A.dylib                         0x9975c52e objc_exception_throw + 230
    22  com.apple.Foundation                    0x924c0804 _NSOutOfMemoryErrorHandler + 72
    23  com.apple.CoreFoundation                0x9784601d __CFStringChangeSizeMultiple + 1645
    24  com.apple.CoreFoundation                0x97845872 __CFStringAppendBytes + 850
    25  com.apple.CoreFoundation                0x97844fbf __CFStringAppendFormatCore + 16511
    26  com.apple.CoreFoundation                0x97902ebd _CFStringAppendFormatAndArgumentsAux + 61
    27  com.apple.CoreFoundation                0x97902e78 -[__NSCFString appendFormat:] + 88
    28  com.apple.Foundation                    0x9236d3b9 -[_NSCallStackArray descriptionWithLocale:indent:] + 207
    29  com.apple.CoreFoundation                0x9788e7c1 -[NSArray description] + 49
    30  com.apple.CoreFoundation     

  • How to split the blob byte array and insert in oracle

    how to split the blob byte array and insert in oracle
    I am having a string which is of more than lenght 4000 so i am using BLOB datatype as input to get the string.
    need to split the blob in oracle and store in the different column
    The string is of bytearray i need to strore it in each column based on the byte array.

    this will be my input i need to split the above and store it in different columns in a table.
    for spliting say
    Column1 -1 byte
    Column2-3 byte
    Column3-5 byte
    ColumnN-5 byte
    Table will have corresponding data type
    Column1 - number(10,2)
    Column2 - Float
    Column3 - Float
    ColumnN-Float
    here Column2 datatype is float but it will always have 3 byte information.
    where as Column3 datatype is also float but it will always have 5 byte information.
    Say N is Column 120

  • How to convert an int number to a byte array, and how to convert back?

    Hello, everybody,
    Just as the topic, if I have an int number(which should have 32-bit, or 4-byte), how can I convert it into a byte array. And also, how to convert it back.
    Thank you in advance!

    Alternatively you can use ByteBuffers to do this work for you
    // to a Byte Array
    int originalInt =...;
    ByteBuffer myBuffer = ByteBuffer.allocate(4);
    myBuffer.putInt( originalInt );
    byte myArray[] = myBuffer.array();
    // and back to an int
    ByteBuffer myOtherBuffer = ByteBuffer.wrap(myArray);
    int finalInt = myOtherBuffer.getInt();

  • How to send byte array and String values to servlet from Swing application

    Hi all,
    I am new to swing, servlet, and socket connection.
    I have swing application to draw images and some input data. I dont know to send to server.
    byte[] buf = baos.toByteArray();
    URL servletURL = new URL("http://10.70.70.1:8080/servlet/SaveImage)
    URLConnection conn = servletURL.openConnection();
    conn.setDoOutput(true);
    BufferedWriter out = new BufferedWriter( new OutputStreamWriter( conn.getOutputStream() ) );
    out.write(buf&a=aaaa&b=bbbbb);
    out.flush();
    out.close();
    can I do like this. Strings are received in server side perfect. but i cant get byte array data. Please help me.
    Thanks in advance.

    <img src="myservlet">
    In your myservlet:
    response.setContentType("image/jpeg");
    then write your image date via ImageIO that uses response output stream.

  • What is the best way to get an image as byte array

    Hi, I have an iamge stored in a file (jpg or gif) and I want to get the pixels as byte array. The image will be black and white only (tresholded) so byte will be enough to hold all the colors. What I'm doing now works but it just doesn't look good so I think there must be a better way.
    Thanks!

    just in case somebody else tries to do the same. When
    you first get the jpg image with the JPEG decoder and
    store it in a BufferedImage you can't get the pixel
    samples as byte arrays. You'll have to get them first
    as int[] and then make your own byte[].Anything coming in as pixels tends to be highly organized. You have this image array right. Now, how is it organized you must ask yourself? Then you can access it, bytewise or bitwise!

Maybe you are looking for

  • How to change the default language?

    How to change the default language of the Ubuntu desktop and of the Firefox program to Norwegian or Danish?

  • Replacing PSU on Quicksilver G4

    Hi there, I have a 10 year old Quicksilver G4, and have arrived at the conclusion that the power supply needs replacing. I have tried to follow the instructions on the apple web site http://docs.info.apple.com/article.html?artnum=58769 However, I can

  • Unable to see my contacts in icloud.

    I Am unable to see my contacts in icloud.com

  • Sourcecode for anyone who's interested

    Hi there, I started a project on sourceforge. DevEnhancer https://sourceforge.net/projects/sapb1-ui-di-fw It's a framework or a toolbox for Business One developers. About 2500 lines of code. I decided to put it on sourceforge, because the project is

  • Is Firefox compatible with the Chrome OS? And if so, where can I download?

    I have a Chrome OS, Chrome Notebook and would love to have my Firefox browser on it. Is it compatible with the Chrome OS? And if it is, where can I download the most up to date browser? I do not like the Chrome browser at all and miss my Firefox brow