Incompatibility between JDK 1.4 and Windows XP Fax and Picture Viewer

I have noticed an incompatibility between JPG files that are output from Windows XP Fax and Picture Viewer and read in by JDK 1.4 (or 1.4.1). In particular, when an image is transfered from a digital camera to a Windows XP machine, then rotated and saved in the Windows XP Fax and Picture Viewer, the resulting image file appears with corrupted colors when read and saved by the ImageIO class in JDK 1.4.
Here is my code:
     import java.awt.image.BufferedImage;
     import javax.imageio.ImageIO;
     BufferedImage buffImg = ImageIO.read (new File ("in.jpg"));
     ImageIO.write (buffImg, "jpg", new File ("out.jpg"));
I have also output the file with graphics format PNG and seen similar apparent corruption of colors.
This is an image that was loaded onto Windows XP from a digital camera then rotated 90 degrees and saved with the Windows XP Fax and Picture Viewer:
http://www.adigitalsolution.net/pics/verticalOrig.jpg
Here is the same image read and written by JDK 1.4 ImageIO.read() and ImageIO.write():
http://www.adigitalsolution.net/pics/verticalJavaOut.jpg
Note that the colors appear corrupted in the above image.
This is an image copied directly from a Sony Cybershot DSC - P71 digital camera:
http://www.adigitalsolution.net/pics/horizontalOrig.jpg
Here is the same image read and written by JDK 1.4 ImageIO.read() and ImageIO.write():
http://www.adigitalsolution.net/pics/horizontalJavaOut.jpg
It appears fine (brilliant tropical colors).
Note that both images contain the "EXIF" header, which is the JPEG-like format used by many digital cameras. Some may say that the JDK 1.4 spec does not support EXIF, but the image not touched by Windows XP was read successfully. And other image editing programs read in both successfully, such as PaintshopPro and the Mozilla 1.0 web browser. But there is a specific incompatibility with JDK 1.4.
I have reproduced this problem on Windows NT 4 and Red Hat Linux 7.3 using an image file that was saved on Windows XP.
Here is a warning from Nikon about the behavior of Windows XP Fax and Picture Viewer:
http://www.dpreview.com/news/0112/01121402nikonxpwarnings.asp
Does anybody know a workaround?

This is scary and explains why some of my Exif headers are trashed.
I would guess the problem has something to do with XP not writing the file back out 100% true to the JPEG spec.
Really annoying that they do this. They think they can just hack up and change standards that are not their own. Take their FTP client in Windows XP. Talk about a broken client.
My suggestion is to dis-associate jpegs with XP's image and fax viewer. Instead associate them with Mozilla.

Similar Messages

  • Is there any incompatibility between Labview 8.5 and Traditional DAQ?

    Hi,  I`m using a DAQPad 6020E and the Labview 8.5 Daq assistant don`t detecte my DAQ when a try to create a new task (to create a new virtual chanel). But MAX detect the DaqPad. So, is ther any incompatibility between Labview 8.5 and traditional Daq? Do you know how can I resolve this?
    Thanks.

    First, you posted to the wrong board. Measure is an old add-on for Excel.
    Second, there is no incompatibility between LabVIEW 8.5 and tradtional DAQ. There is an incompatibility between traditional DAQ and DAQmx which is what the DAQ Assistant uses. Make sure that you install DAQmx if your device is supported by it. Otherwise, you will not be able to use the DAQ Assistant.

  • Incompatibility between 10.6.3 and copying video with keynote

    it exists an incompatibility between 10.6.3 and copying video with keynote on MacBook Air first generation.
    copying video is OK with videoprojectors
    the screen of MBA is unreadable during diaporama
    With many viseoprojectors
    then >escape to stop the diaporama, but screen always unreadable.
    change the resolution is necessary to resolve.
    this problem is reproductive
    zap PRAM (and VRAM) > no change
    rebuild autorisations > no change
    take off preferences > no change
    reinstallation 10.6.3 > no change
    reinstallation Keynote 09 > no change
    Re-intallation 10.6
    no problem under 10.6
    your opinion?

    No problem with update:
    10.6 > 10.6.2
    and others updates one to one (printers, airport, java, safari...)
    Only with 10.6.3
    Best regards.

  • Differences between JDK 1.2 and 1.3

    I would like to know the differences between java 1.2 and java 1.3.
    Thanks,
    telethine

    The link below provides a list of features added in 1.3:
    http://java.sun.com/j2se/1.3/docs/relnotes/features.html

  • Incompatibility between 1.4.1 and 1.4.2

    We have been developing under JDK1.4.1 for some time, and now need to move to JDK1.4.2, but have run into a problem when attempting to run under 1.4.2
    1) code compiled under 1.4.1 does not run under 1.4.2
    2) code that compiled and ran under 1.4.1, when compiled with 1.4.2 does not run under 1.4.2.
    3) code compiled under 1.4.1 ran correctly under 1.4.1 on both unix and windows
    4) attempting to run under 1.4.2 fails on both unix and windows
    I have isolated the problem down to a simple test where a client sends a login request to a server:
    a) under 1.4.1 the client sends the login request and the server receives it
    b) under 1.4.2, the client should send the login request, but the server never receives the request
    The server creates a ServerSocket and calls accept on a seperate thread waiting for accept to complete, which it does in both 1.4.1 and 1.4.2
    The client sits in a wait loop waiting to be interrupted:
    in 1.4.1 it does get interrupted (this.wait() is interrupted and catch clause catches InterruptedException)
    in 1.4.2 it does NOT get interrupted (this.wait() hangs indefinitely)
    synchronized(this) {
    while (((ClientSocketConnection)getConnection()).isClosed()) {
    try {
    getTracer().message(this, "start", "Wait until notified of start");
    this.wait();
    } catch (InterruptedException e) {}
    getTracer().message(this, "start", "Lets check if we are connected");
    if (((ClientSocketConnection)getConnection()).isClosed())
    throw new ProtocolException("Could not connect "+connectionId+". Check configuration");
    Ok, the details are a bit sketchy, but I wondered if anyone has had anything similar / can shed any light / can point me in the right direction
    After a bit more digging around, I find that the actual code line that is hanging is in another class, and is the API 'register' call on java.nio.channels.SocketChannel class
    The code is attempting to set the channel associated with the socket connection to be read/writable and makes the call
    socketChannel.register(selector, SelectionKey.OP_WRITE | SelectionKey.OP_READ, socketConnection);
    - where
    socketChannel is a java.nio.channels.SocketChannel
    selector is a java.nio.channels.Selector
    socketConnection is our own class representing the socket connection
    This call completes and returns in 1.4.1, but hangs in 1.4.2
    Anyone got any ideas or run into something similar
    Thanks

    Just some remarks.
    Might need to undo the synchronized before the wait.
    You might have a channel involved: see javadoc on isBlocking and blockingLock.

  • Contact card format incompatibility between Outlook for Mac and Mac contacts

    Seems that Mac Office 2011 Outlook contacts no longer directly sync with iPhone, I use a manual process of dragging the vcf file from my Outlook contacts list to a desktop folder and then dragging the contact from that folder to my Mac Contacts file. Even though Mac contacts file accepts the file, sometimes information is missing and the contact data won't go to the icloud and thence post to my iPhone. It's as if the .vcf format from Outlook isn't a match for the .vcf file format that Mac Contacts expects. Many times I have to manually copy the contact data from the outlook contact into a new contact file in Mac Contacts to get that contact to sync across iCloud to my iPhone. Can anyone tell me what the problem might be?

    Hello,
    Open both in Text Wrangler, 2nd line should show version, are they the same?
    What are the differences beyond there?
    Do some Outlook entries have some separators in the entry, like : or ; that may be throwing off the fields?

  • MOVED: Incompatibility between nVidia based motherboard and ATI based graphics?

    This topic has been moved to Off-Topic Technical.
    https://forum-en.msi.com/index.php?topic=125552.0

    Sounds to me you run short on IRQ's .
    Make sure to "Load Optimized Defaults" in mobo BIOS so set IOAPIC=Enabled and MPS version = 1.4 . Then reinstall OS.
    If not this is done it's a no go.

  • MOVED: Incompatibility between MSI K8NGM-V and DDR400mhz

    This topic has been moved to AMD64 nVidia Based board.
    https://forum-en.msi.com/index.php?topic=92845.0

    MSI K8NGM-V is not a Via board so please do not continue the topic there. I will move it...
    Second; If you have one Dimm that is DDR400 and another that is DDR333 then both Dimms will run at the slowest common speed which in this case is DDR333. You really should not max RAM anyways.
    Just a point of info... The MB is not a problem for memory timings anyways. The memory controller is not on the MB in a K8 based system. It is inside of the CPU and you have to conform to the CPU's RAM controller for what you may or may not use for RAM. There are many levels of memory controllers built into the various K8 CPU's so you should get familiar with what your CPU that you have will and won't do for RAM. That will help answer some of your questions.

  • Any news on a fix for incompatibility between non-apple docks and ios 7?

    Neither Bose nor Sony dock will play music after "upgrading" to ios 7. I've seen many complaints on these forums but haven't heard any sort of response from Apple. None of the "fixes" have worked for me. Any news about a patch? Thanks.

    Here's what M-Audio's support sent me today:
    The iControl Protocol (the protocol by which the iControl Control Surface communicates with Garage Band and Logic) was created by Apple, and the iControl Control Surface was designed by M-Audio to Apple s specifications. The iControl has no drivers to install and is class compliant.
    It has happened over the course of Garage Band and Logic development that some updates (both major and incremental) of these applications have had the side effect of changing the way certain features of iControl interact with the Apple software.
    Since the iControl was built to Apple s original specifications, and since the device uses no drivers (therefore no M-Audio drivers to update), there is no way for M-Audio to address these issues directly. Any fixes for these issues would have to come in the form of updates to Garage Band or Logic.
    That obviously doesn't keep them from marketing and selling it ...

  • Incompatibility between Audigy SE onboard and Inspire T7900 7.

    Hello?I have bought the Creative Inspire T7900 7. speakers. I have a motherboard MSI K8N Diamon Plus with Audigy SE on board?My side satellites don't work !!!?I mention that:- I have the latest audio XP drivers for my on board audio- the cables are in the right positions- the soft settings are put on 7.- the CMSS is on- in my motherboard help book I saw a drawing (schematics) where for an 8 channel sound (7.) you have to have 4?jacks which?will be connected to?the audio board- the cable from Creative, which connects the sub (amplif) with the PC, has only 3?jacks?for the PC end
    ?Please help me!?Thank youMessage Edited by dragossalvetiu on 07-3-200708: PM
    Message Edited by dragossalvetiu on 07-3-200708:2 PM

    Disconnect the grey audio cable from the speaker subwoofer and grab a piece of 3.5mm minijack stereo cable. Connect one end of the stereo cable to the audio port on the speaker that you have just disconnected and the other end to your onboard audio side audio jack.
    Jason

  • Window size for simple picture viewing

    i know this has been discussed many times before here but i
    can't find the answer i would like.
    I have a regular personal webpage, you know, writings,
    photos... what i want is (after my own experience of surfing and
    how i like things to be) to be able to have my photos open in a new
    window when you click on a thumbnail and continue surfing
    next/previous from there. so that when the looking at the photos
    are done you can just close the browser and continue in the
    indexpage where you left from. i prefer not to use the open pop up
    window browser, so i set my links to "_blank" but the template i
    use for my photos isn't nice on a window that is maximized, so i
    would like to resize it about to 650x650 as my photo frames are
    600x600. by frames i mean, i made a decorative simple frame in wich
    the photos are shown + previous/next buttons.
    i hope i can get some help, thank you!

    There is an easier way, but you will need to spend a few
    bucks -
    http://www.valleywebdesigns.com
    ====> JustSo Picture Window 3.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Poussinka" <[email protected]> wrote in
    message
    news:elml54$2bp$[email protected]..
    > Thanks for taking your time to answer. Is that the same
    behaviour as used
    > for
    > pop up windows? I was hoping there would be an easier
    way rather then
    > adjusting
    > each thumbnail in the album the same behaviour, I have a
    lot of pictures!
    > Is there a way of applying that behaviour (once size and
    details chosen)
    > at
    > one click whenever I adjust a window? I'm thinking of
    the "save as
    > command"
    > option in Fireworks. It makes it easy to apply the same
    settings to all
    > documents.
    >

  • Searching for simple document and picture viewer.

    Hello,
    I've looking for a viewer which supports all of the common picture formats, such as gif,jpeg,bmp and can also display all kind of office documents.
    If i look for viewer with these options, I all end up with great complicated client-webserver models. Can anyone tell me if there is a viewer which is used on the client-side (fat-client). A rather simple api which converts office-documents to images and maybe provide some simple imaging fuctionality such as zooming etc...
    Much thanks,
    Hugo

    I think this is not the forum for your query.
    However, as far as a viewer which supports all common picture formats
    you can purchase Adobe PhotoShop (ver 6.0 or above).
    I think Adobe Illustrator can display all kind of office documents, but
    I am not sure.
    Hope my reply will serve your purpose.
    (S. JAI SANKAR)

  • Incompatibility between Diamond Plus and EVGA 7900GT series?

    Hello again!
    I began to wonder if there might be a problem with my video card. I am almost sure that MSI with nForce4 doesn't make a good team with EVGA 7900 GT CO SC.
    I know that the SuperClocked model has problems (mine has also), but the problem is this one: my 3dmark06 scores are in the 3800..4700 range. It's just random. I always ran the tests in the same conditions (stopped antivirus, etc. and all other background/real time processes that could be stopped).
    I saying that this is an incompatibility because I know another person that has a MSI nForce4 board (not my model) and a SuperClocked EVGA 7900GT and he experiences the same problems.
    I'm sure that this is not an OS/drivers related problems. I carefully installed all "things".
    If you have any sugestions please shoot...
    I guess I should be thinking about changing my video card, because I like too much the mobo.
    The guy that helped me OC my rig, measured the Vcore and it was exactly 1,399 V. And it stayed that way. The multimeter was a brand one, so I trust his measurements. He told me that this is the most stable Vcore that he has seen in his life. Even DFI doesn't have such a stable Vcore. And he also compared the measurements with the BIOS settings, and he said that the mobo is over-volting. For having a 1,4 measured Vcore, I had to se 1,35V  in BIOS.
    If you had seen this problems before, please input here.
    As you already know, your help is greatly appreciated.
    Thank you!

    Yes, I tried to run the tests without OC and the results remained unchanged for the shaders.
    I'm 90% sure that this is an incompatibility issue because I had tried today my video card in two other computers and it ran smoothly. It even supported 568/1840 (550/1580 are the stock freqs, as you already know). Those computers were having Asus A8NE and DFI Ultra-D mobos.
    Sooo... this is an incompatibility between MSI with nForce4 and EVGA 7900 series.
    I generalize because I know another guy with another mobo from MSI with nForce4 SLI (the simple SLI, not X16 like Diamond Plus) which preferred to change his EVGA video card with a Leadtek.
    Don't believe me? No problem, it's your money and your time.
    But... If you want no headackes, don't mix MSI with nForce4 and EVGA 7900 series.
    Btw, the guy with the DFI board that I was writing about earlier, was the technician that is working at the store from where I bought the EVGA.
    Boy... poor little man... you should have seen his face when  I told him about the problems with the video card... When no problems were found after testing it, you should have seen my face... Boy... I was so ashamed...
    All in all, it would be a great thing if MSI would launch more often BIOSes for their/our mobos... Preferably stable BIOSes, where you don't see things "dissapearing". I paid 240$ for this mobo in my country...
    Bas, don't get me wrong. I love this mobo and I would not change it for anything else, but I feel that it's true potential is not fully used; like a car equiped with a powerfull engine, but because of a poor designed ECU, it doesn't put all its horses on the ground.
    I repeat, I am not arguing with any one, I had just written my wishes.
    Cheers!

  • Compatibility issues between solaris 10 patches and Weblogic server 9.2

    Is there any documentation about possible incompatibility between certain solaris patches and Weblogic server?

    Hi,
    Can you post the output of below commands from your OS?
    uname -a
    getconf LONG_BIT
    Do you want to download and install 64-bit WLS 9.2 on your OS?
    - - Tarun

  • Difference between JDK , JRE J2EE

    Hi
    Would anybody just show the difference between JDK , JRE , J2EE , and J2RE
    Thanks alot

    JDK - Java SDK from Sun
    JRE - Java Runtime Environment
    J2EE - Java 2 Enterprise Edition
    Basically, JDK is J2SE, Java Standard Edition. You need this to develop and to compile standard Java software. JRE allows only execution without any special components. J2EE is extension to J2SE. It contains Business or Enterprise components like Java Beans.

Maybe you are looking for

  • Exclamation Mark instead of my photo's

    I know someone asked this below but I need to start from scratch! I don't know what I have done to make this happen, it happened when I first bought my iMac just over a year ago and Apple sorted it over the phone but unfortunately I can't remember wh

  • 6704 Max2-R how to use IDE3,4 w/o RAID???

    HELP!!! please advise on how to force the MB to let use IDE 3 &4 as ordinary ones, i.e for CD?DVD-ROM. If possible send links to "proper" bios. :O

  • Idoc Error Monitoring

    Apart from BD87, does any one of you know a program to change the status of idocs in error to idocs processed ? Thanks !!!

  • About the TID

    Hello, Assuming that each RealTimeThread is mapped to a one thread kernel on the operating system (e.g. as it happens when I create a thread with pthread_create), I would like to know if the function getId returns the identification kernel of the thr

  • IPod Classic 160gb Video sync problem

    My iPod Classic will only sync certain video files, files around 2gb or smaller. I have Quite a few digital copies and I would like to be able to synch all of them at one point or another. I have a few video files that are around 4gb and when dragged