Crimson JAXP and JPEG Images

Ok, I have a very weird situation...
I am writing code that uses a commercial API that includes JAXP from Apache in the CRIMSON.JAR. I believe that this is version 1.1(?) and I am using JRE 1.3.1. I am recieving updates from a network server that includes binary information (byte array) for an image. If the image is in JPEG format, the image takes approx. 5-10 seconds to render in a JLABEL for display. However, if the image is in GIF format, the renders immediately.
Now, the JAXP processing is independant for this function and if I remove the JAR file from the class path, the rendering of JPEG data is also immediate.
I have tried using both JRE 1.3.1 and JRE 1.4.2_03 with the same results. I have even used the JAXP Processor that comes with 1.4.x with the same result.
Does anyone know what is causing this?

I seem to be going around in circles here, but through further tests, it looks like the problem is creating a new JLabel containing the Image I just created. Apparently, if the file is a JPEG, or a large Image (200x200 or greater), Swing takes a long-time to render the JDialog and its components to be displayed.
I am building the GUI like so...
JDialog dialog = new JDialog();
JLabel label = new JLabel(new ImageIcon("path to file"));
dialog.getContentPane().add(label);
dialog.show();If the image is small, and a GIF, the JDialog is displayed almost instantly. If it is a JPEG, or a larger image (200x200 or so), Swing takes 5-10 seconds to display the Dialog. Is there a better way to do what I am doing?
BTW: The image file is created from data transmitted across the network to the client. However, this happens after the file is created on the local disk.

Similar Messages

  • Difficulty navigating to and identifying my RAW and JPEG Images

    Hi,
    I have several related issues that I would appreciate help with.
    I am finding difficulty navigating to and identifying my RAW and JPEG images in Aperture. I do actually principally work with JPEG and only use RAW when I perceive there to be a benefit by improving a poorly captured image.
    To give you some background.  I am using an iMac OSX 10.8.3 and Aperture 3.4.3 Camera Raw 4.04. When I Import images I import both RAW and JPEG using RAW as the original.
    At the Import stage both RAW and JPEG thumbnails are displayed. However once imported only one thumbnail is displayed in the Library on some occasions this will be the JPEG and on other occasions the RAW (as identified from the Info tab. How can I select which version to work with?
    I would appreciate assistance with this.
    Regards,
    John

    It is possible to see the Raw master along side the Jpg master if you wish.
    When a version is created (make new version from original) it is created off the original that is currently selected. So if the jpg image is the current original all versions created will be made off the jpg image. Likewise if the raw is the current original all versions created will be made off the raw image.
    Also keep in mind that a version that has no adjustments applied to it is identical to the original it was made from.
    So to get both along side each other do:
    Set raw as original, create new version from original. Label this version Raw original version. Now switch to jpg as original. Make a version from this and label it Jpg original version.
    Just ensure you never apply adjustments to these two images and you will always have both the jpg and raw images available to compare.
    In addition if say the jpg is the original and you want to make a version from the raw, instead of switching the jpg and raw you can just go to the Raw original version and duplicate it.

  • Backups of raw and Jpeg images

    I currently backup my iphoto library via time machine and keep a second copy of another USB HD. However the backup is the iphoto library, how do I back up the raw and jpeg images so that they are not within the library so that I could access them from a non apple pc?
    I just would like the added security.
    Thanks
    Peter

    You'll need to export them from the Library.
    Select an Event or Album in the iPhoto Window and go File -> Export
    In the resulting dialogue you have a number of options:
    From the dropdown you can select the Kind to export:
    Originals will get you exactly that: the original files. These will be the contents of the Event as per the iPhoto Window.
    Current will get you the most recent versions of the files: a mix of edited and unedited pics. Again, the contents as per the iPhoto Window.
    Tiff and Jpeg options allow you to export the current versions in those formats and you can the metadata - tiles, keywords, descriptions and locations - to the files on export.
    PnG does not have the option to write the metadata as that format has very limited support for it.
    There are other options for file size and naming and so on.
    Regards
    TD

  • Original Items and JPEG Images folders keep appearing on my desktop

    Hi, was hoping someone could help me.
    I keep getting empty "Original Items" and "JPEG Images" folders appearing on my desktop (MacBook Pro running Yosemite).
    It's been happening for a while now. Every time I try and delete them or move them off the desktop, fresh and empty folders reappear.
    I like to keep my desktop clutter free so it's an annoying problem.
    Any help on this would be greatly appreciated!
    Thanks.

    These are probably just files you have inadvertently downloaded from some web site, or perhaps a buggy JavaScript downloaded them to your desktop. You can find out where they were downloaded from by selecting them and choosing File -> Get Info. The More Info section will tell you. See the following example, taken from a file I downloaded not long ago:
    This is not the work of any kind of malware, and the "creepy" file is simply a Mandelbrot image, created from a mathematical equation. These can be quite beautiful. See:
    http://en.wikipedia.org/wiki/Mandelbrot_set

  • Help with managing RAW and jpeg images and installing iphoto 9

    Greetings: Fist, let me make the neophyte apology and plea - I'm sorry, I should have come here first; I didn't and now I need your help.
    I have just purchased a macbook pro (still in its box) with updated software for my older imac os x. I have a number of Canon related photo editing programs (that came with my 40D digital SLR) and Adobe photo elements 6 for mac on the imac. Following some erroneous advice I have made a complete mess of the pictures folder's content by trying to delete images directly from that folder (there are now 6000+ images in the folder, many of which are duplicates(?). Most of the images are not tagged or labeled and some have been organized in/by iphoto (I corrupted the iphoto's library structure very early on by disrupting and editing its images - which might explain why iphoto had a difficult time 'finding' and displaying some of my photos). The picture folder now holds jpegs, smallRAW images (a Canon 40D photo format) and various duplicates of the orignal images - (some of the duplicates don't display as images, but as jpeg logos, which, when opened contain duplicate image or are completely black) The first time I downloaded RAW images into iphoto 6 the RAW data displayed as a black image. When shooting in smallRAW on the Canon 40D, the camera produces a jpeg image for 'easy viewing and editing in the camera' but it looks as though iphoto 6 made duplicates of the jpeg and the RAW data and stored them in different locals in the picture file. In an attempt to get the number of images down, I have been trying to delete them from the picture folder. (My daughters both download images rather indiscriminately in hopes of 'editing them on the computer' which inevitably does not happen) and there is a lot of experimental bracketing of images - shooting raw and different Camera formats etc., all of which need to be cleaned up before I proceed.
    Sometime in the not-too-distant future I would like to have iphoto 9 running on my imac with a clean library of images and a seamless way of downloading, editing and storing images (including the RAW data).
    The macbook pro is for my highschool-aged daughter, who will run iphoto 9 but not have any RAW image data on her system. She would like to copy some of the old iMac's images to put into her own iPhoto 9 library (probably using a disk, email or on-line photo service - ideally, I would like to be able to copy and remove a number of those images from my HD and give them to her for the macbook)
    A few questions and queries: Can I 'dis-able' iphoto 6, while I delete images (RAW and jpeg) from the picture file? (and is this even a good idea).
    Once I have edited the # of images down to a reasonable size, should I re-launch iphoto 6, rebuild the iphoto library and then update to iphoto 9 or skip v6 and rebuild with v9?
    And now for the 'how stupid is this guy question' - I really had planned to purchase an external backup; but between new the macbook, car repairs and braces it has never come to fruition. So, I have never properly backed up my images. What is the bare-bones, least expensive method for me to do this? I'd even consider burning everything to disks if that works. I can't afford the $ to purchase a new external hard drive right now (really). Budget is set aside mid-November for one though.
    I've been looking through some other discussion boards and it looks like I'm not the only one having RAW image issues. I know that shooting smallRAW with the companion jpeg is probably not helping things but I take my camera equipment on extended canoe trips - and we like the ease of on-the-spot editing with this format.
    Thanks in advance for your help - Mark

    Terence, Is the picture folder the primary source for the images or does that data reside somewhere else?
    If you gathered them there, then yes.
    I really don't want to have to go through 14,000 images looking for the pictures that I want to keep (or is that my only option?).
    Only you can decide what you want to keep.
    Why does the computer keep making copies of the images and filing them under date and events?
    That's how iPhoto works. It's not a problem usually, only you did go in there and make a problem, and now we are trying to fix it.
    You advise not to muck around in the picture file via preview,
    No I don't. I advise not to much around in the iPhoto Library Folder.
    but if I download images through a program other than iPhotos - image capture or adobe aren't I doing that anyway?
    Adobe what? Adobe is a software manufacturer who make many excellent applications, you need to be more precise. And no, if you import photos with Image Capture or “adobe” no you are not interfering with the iPhoto Library Folder.
    Can you edit a base image file somewhere and remove it from the HD without iphoto making a copy of it and storing it somewhere else?
    This is stunningly easy. Don't use iPhoto. Use an image editor.
    I want to look the negatives, decide which ones I want and throw the rest away. Can that be done or am I way off course?
    Yes, and iPhoto (or similar apps) make this really easy.
    Hook up your camera. Import the pics to iPhoto. Go through the imported pics. Trash the ones you don't want. Then process the ones you do. But you must learn how to use iPhoto to do this successfully
    To trash: put the pic in the iPhoto trash and empty it. This removes the file from iPhoto and the Hard Disk.
    Process it: If you want to use another editor: You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
    Regards
    TD

  • How to tell when downloading raw and jpeg images is complete

    i just installed lr 3 and have a new mb 8 gb of ram and dont know how to tell when the download of raw and jpeg is done .ie the time from thumbnail to full down loads

    There should be a progress bar in the upper left corner when in library module.

  • Working with RAW and JPEG Images in Aperture (2 part question)

    I just edited a RAW file and stamped the adjustments into the JPEG file. Then applied some RAW fine tuning to the RAW image. For the life of me I cannot tell the difference between the two images and I will not blow up beyond 8 x 10. So is shooting RAW a waste?
    Secondly do JPEG degrade every time you open and close them or only if you open them, edit them and then close?
    Thanks

    Working on JPGs in Aperture does not degrade JPGs at all because the original JPGs are not ever re-saved, and therefore are not ever re-compressed.
    As for shooting RAW vs. JPG - I usually shoot both at the same time using RAW+JPG, I have never ever been in a position where I shot RAW and wished I had shot JPG. I have been in positions where I shot JPG that I wish I had shot RAW.
    [Why shoot RAW|http://photo.rwboyer.com/2009/01/why-shoot-raw>
    RB

  • How can I view both the RAW and JPEG version of an image in LR?

    I just took some images as both RAW and JPEG images thinking I would see them as separate images in LR4.  However I see them as a single image with a file name that says RAW + JPEG.  They are separate images in my folder but I can't import them as separate images.  Thanks for any help.

    You need to edit Prfeferences>General Tab and check the option to "Treat JPEG files next to raw files as separate photos". That will work for future Raw+Jpeg pairs, but it doesn't work for already imported pairs. For these, the easiest way to deal with them (after changing the Preferences as described) is to go to the folder containing the existing pairs in the Folders Panel, right-click on it and select Synchronize Folder....this will give you the option to import the Jpegs as separate files.

  • Can I create separate events for RAW files and JPEG files of the same photo?

    I recently changed the setting on my camera to take both a RAW and JPEG image.  I now have a large number of photos in both formats in the same event. I'd like to separate all the RAW and JPEG photos into separate events.  Is it possible to do this in a batch process versus trying to move individual files?  I use iPhoto '11, version 9.4.3.
    Thanks,
    Peter

    Yes.  Create a smart album with the criteria Photo is RAW:
    Then you can select all of the photos in the smart album and use the Events ➙ Create Event menu option to move all of the RAW photos into a new event.
    OT

  • I am trying to use photomerge compose.  I open one standard jpeg image and one image that is my business logo in a png format.  When I select the png image, to extract the logo from it, it appears as all white and will not allow me to select the logo from

    I am trying to use photomerge compose.  I open one standard jpeg image and one image that is my business logo in a png format.  When I select the png image, to extract the logo from it, it appears as all white and will not allow me to select the logo from it.  It has worked in the past but I downloaded the update today and photomerge will not work correctly.  Any ideas?

    hedger,
    How do you expect anyone to help when we don't know a darned thing about the file, abut your setup, exact version of Photoshop and your OS, machine specs, etc.?
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • How can I add a title and ALT text to a JPEG image in Elements 11 for MAC?

    Does anyone know if there is an easy way I can add a title and ALT text to a JPEG image in Elements 11 for MAC?
    Very grateful for any help here.

    Hello
    The Arrange menu is your friend.
    You may select the arrow then "Bring to Front".
    Yvan KOENIG (from FRANCE vendredi 19 septembre 2008 17:49:50)

  • My FaceTime seemed not working and keep  telling me The document "IMG_3054.JPG" could not be opened. FaceTime cannot open files in the "JPEG image" format.  I clicked OK but it pop-up again.  So that I can't turn off my computer at all.

    When I tried to restart my computer, FaceTime will pop-up and a warning message The document “IMG_3054.JPG” could not be opened. FaceTime cannot open files in the “JPEG image” format.  I tried to clike OK but this worning message keeping pop-up and I can not quit FaceTime.  So that I can't turnoff or restart my computer.
    Can someone help?

    The next time that happens, try this keyboard shortcut.
    Command + Option + Esc
    That way you can "force quit" the Facetime App.

  • TS3276 Having trouble sending jpeg images as attachments in Mac email.....they go thru as images and PC users can't see the SAVE or QUICK LOOK boxes that Mac mail has.  One friend scrolled over the image, right clicked on it and saved as a PNG file.

    Having trouble sending jpeg images as attachments in Mac email.....they go thru as images and PC users can't see the SAVE or QUICK LOOK boxes that Mac mail has.  One friend scrolled over the image, right clicked on it and saved as a PNG file.

    Apple Mail isn't going to change the format of any of your attachments. it isn't going to corrupt them either.
    Exchange is a transport protocol and server. The issue you describe is not related to Exchange.
    There are many different versions of Microsoft Outlook in use and they all have e-mail bugs. Different versions have different bugs. Some Apple Mail hack to get around a bug in Outlook 2003 may cause the same message to be problematic in Outlook 2000. Fix them both and another issue will cause trouble in Outlook 2007. You can't fix this. Apple can't fix this. Microsoft can and has but that is irrelevant if your recipients are using older versions.
    One specific problem is that Apple Mail always sends image attachments inline, as images, not as iconized files. You can change this with Attachment Tamer. Just be aware that use of this software will break other things such as Stationery. E-mail is just a disaster. To date, no one outside of Apple has ever implemented the e-mail standards from 1993. Apple has continually changed its e-mail software to be more compatible with the de-facto standards that Netscape and Microsoft have unilaterally defined and people documented as "standards" after the fact. The e-mail messages that Apple Mail sends are 100% correct and do not violate any of the original standards from 1993 or the Microsoft/Netscape modifications. The problem is entirely bugs and limitations in various versions of Outlook.

  • .VOB Editing S/w to add jpeg images to the .vob video file and run in a loop

    hi,
    I have 2 .vob files with me which i need to run in a loop seperately on the plazma screens. In addition to it, in one of the video (.vob) files I have to add some jpeg pictures at the end and make the video looping. I have tried a lot but could not find any relevant software to do so Any ideas??? I am kind of new to this video editing thing... i tried to convert it into avi or mpeg formats but in that case when i call it in other program like flash the dimension and resolution on full screen mode gets distorted.
    Please let me know how can I edit this .vob file and integrate images to it and make it rum in a loop.
    Regards,
    Vandee

    Frequently answered question
    Cheers
    Eddie
    Forum FAQ
    Premiere Pro Wiki
    - Over 250 frequently answered questions
    - Over 100 free tutorials
    - Maintained by editors like
    you

  • Recovery and Black Point on JPEG images

    I'm not a big fan of trying to do much editing on JPEG images aside from non-exposure/white balance type stuff. I'll crop and straighten, etc.
    My question pertains to (for those in the know) applying slight Recovery and Black Point correction to images that aren't shot in RAW format. A) will applying these slight changes having any effect (hopefully a positive one) on the images? B) if not, will it indeed have a negative effect?
    Thanks for your time and expertise.
    Mac

    Jim,
    Thanks for chiming in on a topic where I didn't expect to get many replies. All of your comments are well appreciated. I was basically asking because I was under the impression that unless your master is in RAW format, making adjustments to exposure, contrast and even recovery and black point would not do much and could even be detrimental to things such as skin tone, etc. I like to shoot in RAW for the reason of being able to have more fine control to adjustments, but for everyday shots and portraits I don't always go to RAW format since a lot of the time I have trouble getting the shot right with the manual controls. I also don't want the large RAW files for every shot that I take. Still, a lot of JPEG's need adjustments, even if just minor tweaks. The tweaks I make look fine on the screen, but I wasn't sure if they would look okay when printed out and I didn't want to spend countless hours making adjustments and spend (waste) money on prints that weren't going to come out good.
    Anyway, that is the background to my thinking in making this post. Thanks again for chiming in.
    Mac

Maybe you are looking for

  • Material stock doesn't appear in Material dcument list

    Hi Guys, please chk the below case. We have a material 1234 for which stock exists in unrestricted use. In mm03 system shows stock as 25k. When checked the material document list in MB51 for existing stock there it shows no movements have happened fo

  • [svn:fx-4.x] 14484: backport trunk rev# 13964 to 4.x

    Revision: 14484 Revision: 14484 Author:   [email protected] Date:     2010-03-01 11:50:39 -0800 (Mon, 01 Mar 2010) Log Message: backport trunk rev# 13964 to 4.x Work around TLF bug #2545307.  ContainerController.mouseWheelHandler() should be checking

  • Driver for Panasonic KX-P1124

    Hi Folks, I'm a little embarrassed in that I have been using Apple computers since the IIe was new and can't seem to resolve what should be a simple problem. I have a Panasonic KX-P1124i printer that I have been using for many years on a Power Mac 61

  • Updating Comms 6 GA to U2, do I need to run comm_dssetup.pl again?

    I'm planning on upgrading our Comms 6 server from GA to U2. Do I need to run comm_dssetup.pl if I already ran it under Comms 6.0 GA? I read [the wiki|http://comm_dssetup.pl] and get the impression that this is required if you are going from a non 6.0

  • Convert number to words

    is there a way in numbers to convert numbers to words, for example"2300" to"two thousand and three hundred".