Failed to resize jpeg file

Hello! I have a method that do resize of the jpeg image:
private Boolean resizePhoto(String fileName, int destWidth, int destHeight, String destFile) {
        FileInputStream fileInputStream = null;
        FileOutputStream fileOutputStream = null;
        float scaleX,scaleY;
        try {
            fileInputStream = new FileInputStream(fileName);
            SeekableStream s = SeekableStream.wrapInputStream(fileInputStream, true);
            RenderedOp image = JAI.create("stream", s);
            ((OpImage) image.getRendering()).setTileCache(null);
            scaleX = (float)destWidth / (float)image.getWidth();
            if(destHeight==0) scaleY = scaleX;
            else scaleY = destHeight / image.getHeight();
            ParameterBlock pb = new ParameterBlock();
            pb.addSource(image);                    // The source image
            pb.add(scaleX);                         // The xScale
            pb.add(scaleY);                         // The yScale
            pb.add(0.0F);                           // The x translation
            pb.add(0.0F);                           // The y translation
            pb.add(new InterpolationNearest());     // The interpolation
            RenderedOp resizedImage = JAI.create("scale", pb, null);
            fileOutputStream = new FileOutputStream(destFile);
            JAI.create("encode", resizedImage, fileOutputStream, "JPEG", null);
            return true;
        } catch (FileNotFoundException ex) {
            System.out.println("FileNotFoundException");
            ex.printStackTrace();
            return false;
        } finally {
            try {
                fileInputStream.close();
                fileOutputStream.close();
            } catch (IOException ex) {
                System.out.println("IOException");
                ex.printStackTrace();
                return false;
    }But cannot resize certain photos and getting an error:
Error: One factory fails for the operation "jpeg"
Occurs in: javax.media.jai.ThreadSafeOperationRegistry
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)
        at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1682)
        at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)
        at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)
        at com.sun.media.jai.opimage.StreamRIF.create(StreamRIF.java:110)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)
        at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1682)
        at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)
        at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)
        at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:830)
        at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:878)
        at javax.media.jai.RenderedOp.getRendering(RenderedOp.java:899)
        at krakersupdater.PhotoProcessor.resizePhoto(PhotoProcessor.java:181)
        at krakersupdater.PhotoProcessor.doInBackground(PhotoProcessor.java:92)
        at krakersupdater.PhotoProcessor.doInBackground(PhotoProcessor.java:33)
        at javax.swing.SwingWorker$1.call(SwingWorker.java:278)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at javax.swing.SwingWorker.run(SwingWorker.java:317)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.OutOfMemoryError: Java heap space
        at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
        at java.awt.image.Raster.createPackedRaster(Raster.java:458)
        at sun.awt.image.codec.JPEGImageDecoderImpl.allocateDataBuffer(JPEGImageDecoderImpl.java:338)
        at sun.awt.image.codec.JPEGImageDecoderImpl.readJPEGStream(Native Method)
        at sun.awt.image.codec.JPEGImageDecoderImpl.decodeAsBufferedImage(JPEGImageDecoderImpl.java:210)
        at com.sun.media.jai.codecimpl.JPEGImage.<init>(JPEGImageDecoder.java:114)
        at com.sun.media.jai.codecimpl.JPEGImageDecoder.decodeAsRenderedImage(JPEGImageDecoder.java:53)
        at com.sun.media.jai.opimage.CodecRIFUtil.create(CodecRIFUtil.java:120)
        at com.sun.media.jai.opimage.JPEGRIF.create(JPEGRIF.java:52)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)
        at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1682)
        at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)
        at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)
        at com.sun.media.jai.opimage.StreamRIF.create(StreamRIF.java:110)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)
        at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1682)
        at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)
        at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)
        at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:830)
        at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:878)
        at javax.media.jai.RenderedOp.getRendering(RenderedOp.java:899)
        at krakersupdater.PhotoProcessor.resizePhoto(PhotoProcessor.java:181)
        at krakersupdater.PhotoProcessor.doInBackground(PhotoProcessor.java:92)
        at krakersupdater.PhotoProcessor.doInBackground(PhotoProcessor.java:33)
        at javax.swing.SwingWorker$1.call(SwingWorker.java:278)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)Why I cannot resize some photos ? It is because of color space ? If so, how can I convert from one color space to another ?
This is link to photo which my function cannot handle: http://www.tvksmp.pl/~filipb/MULSUEEKR0006_LRG.jpg
Edited by: CheckRaise on Aug 7, 2009 5:43 AM
Edited by: CheckRaise on Aug 7, 2009 5:47 AM

I was using ImageIO earlier for resizing but then got problems with jpg in another color spaceYou can save a JPEG in CMYK color space. The JPEGImageReader in core java is unable to read such jpegs, and will throw an IOException complaining that it can't. Although JAI won't throw an exception, it to isn't able to properly read the jpeg. JAI interprets cmyk images as argb images and the colors get all screwed up.
And why this function consumes so much memory?What's the size of the largest image you are reading? And to what size are you scaling it?

Similar Messages

  • Resizing JPEG Files and overwrite existing files

    I've got a folder with about 30 subfolders with JPEGs only. I need to resize all of them to a specific size and they must stay within the subfolder structure they currently reside in. I have selected all of the files (using the show files in subfolders menu setting) and have tried to Export so that the smaller files go back in the original folder and also "Overwrite WITHOUT WARNING". When I do this, LR3 will go through it's process, but will come up with a message like this one:
    Is what I am seeking to accomplish not possible in Lightroom? Or is there another way to do this? I'm about ready to make a Photoshop Action to get this over with but wanted to see if LR can do what I need it to do.

    Thanks for the response. These are not original RAW images, but are images for a project I'm working on. I have all the original RAW files, but they are scattered throughout my library on different volumes. I had originally exported the RAWs into one JPEG folder, then sorted images into a bunch of different subfolders during the editing process. Some files still have camera names and some are renamed, so doing it over again by re-exporting and sorting to move in chunks is not an option. I simply want a way to overwrite the images without having to resort everything back into the different subfolders. Isn't that what the "Overwrite WITHOUT WARNING" should be for? I don't understand why it won't let me overwrite the images.

  • Image Processing- comparing JPeg files

    Hi All,
    sorry for posting this question at this forum, but I could not find a separate forum for Image Processing. (although i could search for such forums, but i believe they are taken off.)
    I want to compare one input jpeg file with 10 existing files and find the closest match.
    can someone give me pointers to start with. i believe there are tools to achieve this.
    thanx n regards

    Not sure about the way you are using, but look at these links.
    Resizing Photos for Emailing
    http://www.apple.com/pro/tips/emailresize.html
    Resize!
    http://kstudio.net/
    PhotoToolCM
    http://www.pixture.com/software/macosx.php
    SmallImage
    http://www.iconus.ch/fabien/smallimage2/
    ImageTool
    http://www.macupdate.com/info.php/id/23281
    ImageWell
    http://www.xtralean.com/IWOverview.html
    Resize JPEG Files
    http://www.macworld.com/weblogs/macgems/2006/09/jpegresize/index.php
     Cheers, Tom

  • Failing to import .NEF files into iphoto

    i photo will not import .NEF files. Every time I try to import a file an error message comes up saying...
    The following file could not be imported. (import failed).
    The .JPEG file imports straight from the camera, however the .NEF file will not import and I get this error message.
    Please help me!

    Is your Nikon listed here (http://www.apple.com/macosx/upgrade/cameras.html) as a Tiger compatible camera? Also have you run this update: Digital Camera RAW Support Update 1.0.1 (Universal)
    Do you Twango?

  • Failed to export the JPEG file

    When I attempt to export a jpeg from InDesign I get the following error message, please help:
    "Failed to export the JPEG file: File cannot be written.
    Disc may be locked or full."
    The disc it is writing to has 90Gb of memory free and I've tried knocking the quality of the export down with no success.
    I am running CS6 on a fully updated Macbook Pro.
    Thanks.

    I'm trying to export to the hard drive on the Mac as usual, and have never had this issue before?

  • InDesign CS6 "Failed to export the JPEG file. File cannot be written. Disk may be locked or full."

    I get this error "Failed to export the JPEG file. File cannot be written. Disk may be locked or full." when sending small (3"x3") and large (40"x60") files to a printer hot folder. Sometime if I close the program and restart it will let me export. What could be causing this to happen?
    I am on Windows 7 with 4GB RAM PC.

    I guess the printer is grabbing the file before it is entirely written…
    Workaround: Do not save to a hot folder. Move the files after exporting to the hot folder.
    Uwe

  • Can I resize photos and reduce JPEG file sizes by using Photpshop Elements?

    Can I resize photos and reduce JPEG file sizes by using Photpshop Elements?

    Go to Image>Resize>image size.
    For purpose of web posting, go to File>save for web.

  • Reading .jpeg files in FILE or FTP adapter

    Hii
    I have to send .jpeg files at regular intervals using BPEL.
    I read about Base64 data type. I tried to create File Adapter and FTP adapter. I specified the folder location and *.jpeg as file pattern. I have made schema to opaque.
    But neither File or FTP adatper are picking up the file from specified directory. As per my plan, once I will get Opaque schema in BPEL, I will use Base64 encoding to get the data as string and to pass it to the endpoints.
    Any idea what I need to do in order to read .jpeg files.
    Any help is highly appreciated.

    Thanks for the help. Actually, I am following the similar process as given in "Tutorial 11 : File DB Integrations – Handling of opaque data types".
    I'm using SOA Suite 10.1.3.3; the .jpeg file is being picked up by the File Adapter, but failing to create BPEL instance with the following log details :
    +"<2009-03-06 17:02:13,053> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": [com.collaxa.cube.engine.delivery.CorrelationResolutionException: Correlation definition not registered.+
    +The correlation set definition for operation "ReadJPEGOp", process "SyncBase64BPELProcess", has not been registered with the process domain.+
    +Please try to redeploy your process to the process domain.+
    +]+
    +ORABPEL-03802+
    +Correlation definition not registered.+
    +The correlation set definition for operation "ReadJPEGOp", process "SyncBase64BPELProcess", has not been registered with the process domain.+
    +Please try to redeploy your process to the process domain."+
    I have deployed the process multiple times on two different SOA Suite Server 10133, but getting the similar logs. The file is being picked up but not generating BPEL instance.
    Any idea ???

  • Jpeg attachments appearing as a .dat file and not .jpeg files

    Please can someone tell me how I can change jpeg attachments that are coming through on emails on my new iPhone 5 as a .dat file and not as a .jpeg file.
    These .dat files cannot be opened - I assume that this will happen with PDF files as well.  
    Thanks

    I am surprised at this point in time no one has chimed in, seeing how many people have tried this in the pasta. I actually solved the whole clusters issue, but now I have discovered another problem that is making me throw in the towell on this one as I just can't explain it.
    I am finding for some silly reason while the code will work in one VI it won't seem to work in another. See my photos below. The one where the code works, I have created the whole thing as a subroutine inside of a greater VI which I can not publish due to proprietary code. Next I tried pulling out the functioning part of the code and putting that in a stand alone file. See the photo where the code doesn't work. I have also ran the same code that doesn't work with both 1 and 2 variables. Each time Matlab can't open it. I am using the same to MAT subvi in each of these. For some reason though when I run the code in the working picture it runs, and I get a nice little mat file that I can open in Matlab. When I run the same exact code as a standalone I get the matlab error code every time.
    I have tried reviewing every possible variable I can think of and worked with them. In all cases the two new VI's I made the code doesn't want to give me a valid mat file. However in the greater program it does! I am really stumped at this point. So unless I can find a better convert to matlab file code I don't think this will work.
    Attachments:
    where_code works.png ‏14 KB
    where code fails.png ‏15 KB
    matlab_error_code.png ‏23 KB

  • Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Neil from bristol wrote:
    … How do you make an image … move across the screen …
    by setting KEYFRAMES
    (read, what FC/e's built-in Help-feature tells about it)
    resize and set pic to start position
    set keyframe
    move playhead in timeline to desired length
    set pic to end position
    set keyframe …

  • Preview app fails to open any file, console log shows errors messages

    Hi,
    I backed up my old mac using TimeMachine and restored the TimeMachine image to my newly purchased iMac running 10.9.4.  There were no errors during restoration, however when I try to open a file with the Preview app (such as a jpeg file), Preview app doesn't open the file and emits a variety of errors to the console log as below. 
    Is there a way to clear the state of the Preview app so I can fix this issue and use the Preview app to open images again?  These image files open fine in Chrome, but I can't seem to use Preview to open any files. 
    Not sure if this is a bug with system restore or a bug in the new OS.  Any ideas?  Thanks in advance for any advice.
    -Norm
    8/2/14 10:35:10.981 PM Preview[2007]: Critical failure: the LastResort font is unavailable.
    8/2/14 10:35:10.981 PM Preview[2007]: Critical failure: the LastResort font is unavailable.
    8/2/14 10:35:10.982 PM Preview[2007]: Critical failure: the LastResort font is unavailable.
    8/2/14 10:35:10.982 PM Preview[2007]: Critical failure: the LastResort font is unavailable.
    8/2/14 10:35:10.982 PM Preview[2007]: Critical failure: the LastResort font is unavailable.
    8/2/14 10:35:10.982 PM Preview[2007]: Critical failure: the LastResort font is unavailable.
    8/2/14 10:35:10.982 PM Preview[2007]: Critical failure: the LastResort font is unavailable.
    8/2/14 10:35:10.983 PM Preview[2007]: Critical failure: the LastResort font is unavailable.
    8/2/14 10:35:10.983 PM Preview[2007]: Critical failure: the LastResort font is unavailable.
    8/2/14 10:35:10.983 PM Preview[2007]: Critical failure: the LastResort font is unavailable.
    8/2/14 10:38:10.886 PM System Information[2440]: Can't open input server /Library/InputManagers/CTLoader
    8/2/14 10:41:23.779 PM QuickLookUIHelper[2446]: Can't open input server /Library/InputManagers/CTLoader
    8/2/14 10:41:23.800 PM Preview[2007]: *** +[NSLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:]: Constraint must contain a first layout item
    8/2/14 10:41:33.561 PM Preview[2007]: -[PVPreferencesController loadWindow]: failed to load window nib file '/Applications/Preview.app/Contents/Resources/Base.lproj/PVPreferences.nib'.
    8/2/14 10:41:33.562 PM Preview[2007]: -[PVPreferencesController loadWindow]: failed to load window nib file '/Applications/Preview.app/Contents/Resources/Base.lproj/PVPreferences.nib'.
    8/2/14 10:41:33.562 PM Preview[2007]: -[PVPreferencesController loadWindow]: failed to load window nib file '/Applications/Preview.app/Contents/Resources/Base.lproj/PVPreferences.nib'.
    8/2/14 10:41:33.562 PM Preview[2007]: -[PVPreferencesController loadWindow]: failed to load window nib file '/Applications/Preview.app/Contents/Resources/Base.lproj/PVPreferences.nib'.
    8/2/14 10:41:33.562 PM Preview[2007]: -[PVPreferencesController loadWindow]: failed to load window nib file '/Applications/Preview.app/Contents/Resources/Base.lproj/PVPreferences.nib'.
    8/2/14 10:41:33.562 PM Preview[2007]: -[PVPreferencesController loadWindow]: failed to load window nib file '/Applications/Preview.app/Contents/Resources/Base.lproj/PVPreferences.nib'.
    8/2/14 10:41:55.744 PM Preview[2448]: Can't open input server /Library/InputManagers/CTLoader
    8/2/14 10:41:55.793 PM Preview[2448]: *** +[NSLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:]: Constraint must contain a first layout item
    8/2/14 10:41:56.100 PM Preview[2448]: *** +[NSLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:]: Constraint must contain a first layout item
    I also can't even get the Preview 'about' info to show:
    8/2/14 10:52:03.330 PM Preview[2461]: Failed to load NSSystemInfoPanel.nib
    One file it is complaining about is present and appears to be readable
    $ ls -l /Applications/Preview.app/Contents/Resources/Base.lproj/PVPreferences.nib
    -rw-r--r--  1 root  wheel  53421 Jun 28 01:33 /Applications/Preview.app/Contents/Resources/Base.lproj/PVPreferences.nib

    Hi,
    I tried both suggestions, but they didn't resolve the issue.   Thank you both for trying to help.
    The font tool was crashing when I tried to validate my font files.  I looked and I didn't see the font in question listed in that tool.  Crash stack is below.
    I reinstalled the OS per Linc's instructions, but Preview still is crashing when opening a jpeg file.  Crash stack is below.
    Weirdly, most everything else seems to work okay: mail, safari, chrome, etc, all seem to function with no issue.  The font tool isn't something I care about, but Preview app is something I use to review my pictures, etc. 
    Any other suggestions?  Is there a good alternative app I should use in the meantime to replace Preview while I get to the bottom of the problem and resolve it?
    Thanks,
    Norm
    Preview crash:
    Process:         Preview [533]
    Path:            /Applications/Preview.app/Contents/MacOS/Preview
    Identifier:      com.apple.Preview
    Version:         7.0 (826.4)
    Build Info:      Preview-826004000000000~2
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [239]
    Responsible:     Preview [533]
    User ID:         501
    Date/Time:       2014-08-04 11:51:56.926 -0700
    OS Version:      Mac OS X 10.9.4 (13E28)
    Report Version:  11
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
    VM Regions Near 0:
    -->
        __TEXT                 0000000107e19000-0000000107ffd000 [ 1936K] r-x/rwx SM=COW  /Applications/Preview.app/Contents/MacOS/Preview
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_platform.dylib       0x00007fff8e13e225 _platform_memcmp + 293
    1   com.apple.CoreGraphics         0x00007fff89b4b760 CGColorTransformConvertColorComponents + 150
    2   libRIP.A.dylib                 0x00007fff88ed9e77 ripc_GetColor + 2041
    3   libRIP.A.dylib                 0x00007fff88ed93d4 ripc_Render + 156
    4   libRIP.A.dylib                 0x00007fff88ed52e1 ripc_DrawRects + 399
    5   com.apple.CoreGraphics         0x00007fff89b48d2a CGContextFillRects + 96
    6   com.apple.CoreGraphics         0x00007fff89b48b76 CGContextClearRect + 60
    7   com.apple.HIToolbox           0x00007fff87fa8ab1 HIMenuBarView::DrawOnce(CGRect, CGRect, bool, bool, bool, bool, CGContext*) + 139
    8   com.apple.HIToolbox           0x00007fff87fa89ed HIMenuBarView::DrawSelf(short, __HIShape const*, CGContext*) + 899
    9   com.apple.HIToolbox           0x00007fff87fa850a HIView::DrawCacheOrSelf(short, __HIShape const*, CGContext*) + 360
    10  com.apple.HIToolbox           0x00007fff87fa8394 HIView::SendDraw(short, OpaqueGrafPtr*, __HIShape const*, CGContext*) + 384
    11  com.apple.HIToolbox           0x00007fff87fa7d06 HIView::RecursiveDrawComposited(__HIShape const*, __HIShape const*, unsigned int, HIView*, CGContext*, unsigned char, double) + 696
    12  com.apple.HIToolbox           0x00007fff87fa7f75 HIView::RecursiveDrawComposited(__HIShape const*, __HIShape const*, unsigned int, HIView*, CGContext*, unsigned char, double) + 1319
    13  com.apple.HIToolbox           0x00007fff87fa6c49 HIView::DrawComposited(short, OpaqueGrafPtr*, __HIShape const*, unsigned int, HIView*, CGContext*) + 689
    14  com.apple.HIToolbox           0x00007fff87fa6992 HIView::Render(unsigned int, CGContext*) + 54
    15  com.apple.HIToolbox           0x00007fff87fa60e8 WindowData::PrepareForVisibility() + 146
    16  com.apple.HIToolbox           0x00007fff87fa4f8b _ShowHideWindows + 287
    17  com.apple.HIToolbox           0x00007fff87fa4e66 ShowHide + 34
    18  com.apple.HIToolbox           0x00007fff87f97239 MBWindows::CreateWindow(CGRect, unsigned int) + 389
    19  com.apple.HIToolbox           0x00007fff87f96e26 MBWindows::GetWindowIDOnDisplay(unsigned int, unsigned char) + 184
    20  com.apple.HIToolbox           0x00007fff87f96c1e MenuBarInstance::ForEachWindowDo(void (unsigned int, unsigned int) block_pointer) + 164
    21  com.apple.HIToolbox           0x00007fff87f96977 MenuBarInstance::UpdateWindowBoundsAndResolution() + 155
    22  com.apple.HIToolbox           0x00007fff87f96521 MenuBarInstance::Show(MenuBarAnimationStyle, unsigned char, unsigned char, unsigned char) + 329
    23  com.apple.HIToolbox           0x00007fff87fc238b SetMenuBarObscured + 208
    24  com.apple.HIToolbox           0x00007fff87fc2024 HIApplication::HandleActivated(OpaqueEventRef*, unsigned char, OpaqueWindowPtr*) + 188
    25  com.apple.HIToolbox           0x00007fff87fc0c8d HIApplication::EventObserver(unsigned int, OpaqueEventRef*, void*) + 217
    26  com.apple.HIToolbox           0x00007fff87f8dac9 _NotifyEventLoopObservers + 155
    27  com.apple.HIToolbox           0x00007fff87fc0795 AcquireEventFromQueue + 527
    28  com.apple.HIToolbox           0x00007fff87fb46bd ReceiveNextEventCommon + 229
    29  com.apple.HIToolbox           0x00007fff87fb45bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
    30  com.apple.AppKit               0x00007fff8e2e024e _DPSNextEvent + 1434
    31  com.apple.AppKit               0x00007fff8e2df89b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    32  com.apple.AppKit               0x00007fff8e2d399c -[NSApplication run] + 553
    33  com.apple.AppKit               0x00007fff8e2be783 NSApplicationMain + 940
    34  libdyld.dylib                 0x00007fff90c3f5fd start + 1
    Font tool crash:
    Process:         Font Book [606]
    Path:            /Applications/Font Book.app/Contents/MacOS/Font Book
    Identifier:      com.apple.FontBook
    Version:         5.0.1 (250.1)
    Build Info:      FontUtility-250001000000000~1
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [239]
    Responsible:     Font Book [606]
    User ID:         501
    Date/Time:       2014-08-04 11:59:29.407 -0700
    OS Version:      Mac OS X 10.9.4 (13E28)
    Report Version:  11
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000068
    VM Regions Near 0x68:
    -->
        __TEXT                 000000010f172000-000000010f21b000 [  676K] r-x/rwx SM=COW  /Applications/Font Book.app/Contents/MacOS/Font Book
    Application Specific Information:
    Performing @selector(validateFiles:) from sender NSMenuItem 0x6080000b0260
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   com.apple.CoreFoundation       0x00007fff8974a319 CFBundleCopyLocalizedString + 201
    1   com.apple.FinderKit           0x00007fff8c39844c TString::SetFromKeyAndIndex(__CFString const*, __CFString const*, unsigned int) + 86
    2   com.apple.FinderKit           0x00007fff8c3247cf TFENode::Initialize() + 359
    3   com.apple.FinderKit           0x00007fff8c471488 +[FIFinderViewGutsController initializeCounted] + 124
    4   com.apple.FinderKit           0x00007fff8c47a4f9 -[FIFinderView _commonFinderViewInitForSaveMode:importPanel:appCentric:ubiquityContainerURLs:o ptions:] + 53
    5   com.apple.FinderKit           0x00007fff8c47a9de -[FIFinderView initWithFrame:options:] + 218
    6   com.apple.AppKit               0x00007fff8ebe35d0 -[NSNavFinderViewFileBrowser initWithFrame:options:] + 252
    7   com.apple.AppKit               0x00007fff8ebdbdd3 _NSNavFileBrowserWithFinderKit + 147
    8   com.apple.AppKit               0x00007fff8e910db3 -[NSSavePanel(NSSavePanelLayout) _makeFileBrowserView] + 302
    9   com.apple.AppKit               0x00007fff8e910f2d -[NSSavePanel(NSSavePanelLayout) _setupFileBrowserView] + 154
    10  com.apple.AppKit               0x00007fff8e912294 -[NSSavePanel(NSSavePanelLayout) _initContentView] + 4465
    11  com.apple.AppKit               0x00007fff8e8ffc39 -[NSSavePanel initWithContentRect:styleMask:backing:defer:] + 565
    12  com.apple.AppKit               0x00007fff8e8ff49a +[NSSavePanel _crunchyRawUnbonedPanel] + 205
    13  com.apple.FontBook             0x000000010f1a2826 0x10f172000 + 198694
    14  com.apple.AppKit               0x00007fff8e4fe260 -[NSApplication sendAction:to:from:] + 327
    15  com.apple.AppKit               0x00007fff8e5191c8 -[NSMenuItem _corePerformAction] + 394
    16  com.apple.AppKit               0x00007fff8e518f04 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 117
    17  com.apple.AppKit               0x00007fff8e56840d -[NSMenu _internalPerformActionForItemAtIndex:] + 35
    18  com.apple.AppKit               0x00007fff8e568289 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 104
    19  com.apple.AppKit               0x00007fff8e50eff6 NSSLMMenuEventHandler + 716
    20  com.apple.HIToolbox           0x00007fff87f8e1d4 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 892
    21  com.apple.HIToolbox           0x00007fff87f8d787 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 385
    22  com.apple.HIToolbox           0x00007fff87fa1880 SendEventToEventTarget + 40
    23  com.apple.HIToolbox           0x00007fff87fd7640 SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 420
    24  com.apple.HIToolbox           0x00007fff8800a228 SendMenuCommandWithContextAndModifiers + 59
    25  com.apple.HIToolbox           0x00007fff8800a1d0 SendMenuItemSelectedEvent + 178
    26  com.apple.HIToolbox           0x00007fff8800a0af FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 94
    27  com.apple.HIToolbox           0x00007fff88012085 MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*) + 718
    28  com.apple.HIToolbox           0x00007fff88011cb1 _HandleMenuSelection2 + 446
    29  com.apple.AppKit               0x00007fff8e48162c _NSHandleCarbonMenuEvent + 284
    30  com.apple.AppKit               0x00007fff8e2e052e _DPSNextEvent + 2170
    31  com.apple.AppKit               0x00007fff8e2df89b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    32  com.apple.AppKit               0x00007fff8e2d399c -[NSApplication run] + 553
    33  com.apple.AppKit               0x00007fff8e2be783 NSApplicationMain + 940
    34  com.apple.FontBook             0x000000010f1737fc 0x10f172000 + 6140
    35  libdyld.dylib                 0x00007fff90c3f5fd start + 1

  • Better to resize JPEGs for a QT sequence before or while exporting from QT?

    I have several thousand JPEG files shot as a time-lapse sequence, at my DSLR camera's smallest size of 4288 by 2848 pixels. I want to sequence them as a QuickTime movie, for a final frame size of 1920 by 1080 pixels. Is it okay to batch resize the JPEGs in a photo application (PhotoMechanic or Photoshop) before creating the Quick Time Pro sequence and then exporting it as a .MOV, or am I better off sequencing the JPEGs in QuickTime Pro, then exporting them as a 1920 by 1080 pixel movie file?
    The last time I did this I let QTPro do the resizing while exporting, and it took over an hour to generate the .MOV file. Is that to be expected given the "fast" computer I'm using?

    Resize the image files prior to import to QuickTime.
    It'll be faster on your machine.

  • How ftp reader read a JPEG file.

    i have to read a jpeg file through FTP reader. i want to know that should i need to define schema for native format???
    if yes then which type of file is this...
    or i dnt need to define.please let me know.
    and plz tell me should i need to change in oc4j-ra.xml???
    please help
    can anyone give me some suggestion on this
    thanks

    i have to read file in binary format.can u tell me which type of file can u be used in binary format other than jpg.
    its not working fine. m geting this error
    [deployProcess] Deploying process E:\jdevstudio10132\jdev\mywork\ftpappl\txtread\output\bpel_txtread_1.0.jar
    BUILD FAILED
    E:\jdevstudio10132\jdev\mywork\ftpappl\txtread\build.xml:79: A problem occured while connecting to server "chdsez116553d" using port "8888": bpel_txtread_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "txtread" (revision "1.0"): BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "file:/D:/product/10.1.3.1/OracleAS_8/bpel/domains/default/tmp/.bpel_txtread_1.0_2aa20df9f4e8b3b3eb916175ca90cbb3.tmp/txtread.wsdl", message part element "{http://schemas.xmlsoap.org/ws/2003/03/addressing}ReplyTo" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete.
    [Potential fix]: n/a.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:862)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:728)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 0 seconds
    please help

  • I can relink a psd file to a jpeg file but not multiple files at once

    Initially I posted a question yesterday that Bob Levine helpfully answered -
    How to update all psds in Indesign doc to jpegs?
    Bob answered with - "You can batch convert them in Photoshop and save them in a new folder.  As long as the file names are the same you can relink them easily by  using the relink to folder command from the links panel. There's a  choice in there to relink to the same name with a new extension."
    This worked fine if I did the following:
    Right click on PSD file I want to relink in the Links panel, choose relink, select the jpeg file in the folder.
    However if I select all the PSD files in the links panel, choose relink to folder command, choose the folder along with ticking the box for "match same filename but  this extension: jpeg"
    I get an error message "Failed to find ** links in new folder.These links will not be relinked and will remain selected in the Links Panel."
    The same thing happens if I select all the links and select "Relink File Extension" (This time I've placed all the jpeg files with exact same filename in the same folder as the original PSD files).
    So, I still can't do multiple relinks without having to individually select each file I want to relink. Does anyone know what could be preventing Indesign from relinking all my files at once?
    Desperately in need of an answer and thanking you in advance for all your time and understanding.
    Regards,
    Fuiru

    Nope I wasn't putting a dot in the file extenstion
    field BUT I was putting "jpeg" instead "jpg".
    Now it works. Thanks Peter.

  • Import JPEG files become corrupt

    I'm making a slideshow and when I import JPEG files, a large quantity of them will import, but on the display they show up with lots of green, blue, and purple highlights...in fact, thats about the only colors you see. I can't find anything wrong with the files, they open in all other CS4 apps just fine. I tried different methods of importing and reimporting but it doesn't change. The same files still show up all corrupt. I opened the files in Photoshop and saved them again as a JPEG and it's still the same problem.
    TIFFs are the same way.
    If I open the photos in Photoshop and save them as PSD they work just fine (other than the much larger file size) and PNG files work fine as well.
    I have several hundred photos to put in this very lengthy slideshow so I'm looking for a fix without having to batch all the files to save as PSD which will each up my hard drive space.
    Thanks!
    John

    I am a big fan of keeping images in .PSD format and ascribe to John's suggestion. I even did an ARTICLE on automating the resizing in PS, prior to Import. While primarily written for use with an NLE (where I create the vast majority of my SlideShows), the same applies to Encore.
    Good luck,
    Hunt

Maybe you are looking for

  • Unable to view messages during transport request release

    Hello ABAP Gurus, I am trying to transport an ABAP program (from BWD to BWP - there is no BWQ here). There are no activation or run time errors - I used ABAP program extented check and ensured that there are 0 errors and warnings for each of the chec

  • Drop and Install EXFSYS schema

    Hi Guys, I'm having problem while installing EXFSYS schema after I have dropped it. The reason I dropped it is because I got invalid objects in the schema which I cannot compile, so after googling for few hours, I finally decided to recreate the sche

  • The operation couldn't be completed, OSStatus error -1

    After leaving the Aperture app open for a day I get the above mentioned dialog box message and I need to force quit it. Once I started clicking on "OK" and it took 98 clicks to get the dialog boxes to finally disapear. Usually I don't have that much

  • COPA report format

    Hello, I want to create a copa report as per format given below: Plan Data Actual Data Variance in amount Revenue COGS GM I have done planning against material group 1 field and actual data is also against the same. While selecting the form should i

  • Updated to FF 4 RC2 but lost individual bookmarks below address bar that were in FF 3.6.15

    I recently upgraded to FF4 RC2 from FF 3.6.15. Now I don't have a Bookmarks toolbar with all my favorite websites below the address/location bar. Under FF Options the Bookmarks Toolbar IS CHECKED but none of my websites are shown that were in FF ver