Windows clipboard data transfer from Paint results in a wrapped image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Windows clipboard data transfer from Paint results in a wrapped image

Kent W Randall

I am seeing a Microsoft Paint tiff image that is wrapped around the center when viewed with the applet.  Here are the steps to reproduce:
(1)  View the attached tiff file in Microsoft Paint.  Observe that there is a continuous jagged white line from the upper left to the lower right-hand corner.

(2)  Copy the image into the Windows clipboard (Ctrl-A, Ctrl-C)

(3)  Launch the applet viewer (http://rsb.info.nih.gov/ij/applets.html) and open the issue_image.tif file.  Observe that the image is OK.  I am using the Sun 1.4.2_11 JVM on WinXP Pro.

(4)  Press File | New System Clipboard to copy the image from the Windows clipboard

(5)  Observe that the image is wrapped in the center


I have only found this distortion with Paint.  Other graphics viewers that I have tried do not exhibit this behavior.  Does anyone know why this is happening?


Thanks,

Kent Randall

Rockwell Automation, Inc.

(408) 271-3427



issue_image.tif (58K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Windows clipboard data transfer from Paint results in a wrapped image

Duane and Julie
For what it's worth, the attached TIFF is 'wrapped' as you put it.  
I'm on a Mac, not using Paint.  I never see it as it should appear.

It has the appearance of an image that was loaded with the wrong  
width information and then saved.

    duane

On Oct 19, 2006, at 7:31 PM, Kent W Randall wrote:

>
> I am seeing a Microsoft Paint tiff image that is wrapped around the  
> center when viewed with the applet.  Here are the steps to reproduce:
> (1)  View the attached tiff file in Microsoft Paint.  Observe that  
> there is a continuous jagged white line from the upper left to the  
> lower right-hand corner.
> (2)  Copy the image into the Windows clipboard (Ctrl-A, Ctrl-C)
> (3)  Launch the applet viewer (http://rsb.info.nih.gov/ij/ 
> applets.html) and open the issue_image.tif file.  Observe that the  
> image is OK.  I am using the Sun 1.4.2_11 JVM on WinXP Pro.
> (4)  Press File | New System Clipboard to copy the image from the  
> Windows clipboard
> (5)  Observe that the image is wrapped in the center
>
> I have only found this distortion with Paint.  Other graphics  
> viewers that I have tried do not exhibit this behavior.  Does  
> anyone know why this is happening?
>
> Thanks,
> Kent Randall
> Rockwell Automation, Inc.
> (408) 271-3427
>
> <issue_image.tif>
Reply | Threaded
Open this post in threaded view
|

Re: Windows clipboard data transfer from Paint results in a wrapped image

ctrueden
Hi,

The image looks "correct" (skewed but not "wrapped") on three
different OSes for me (WinXP, OS X, Ubuntu). The Paint problem Kent
describes is duplicable. I was unable to get any other native viewer
on any of the platforms to exhibit the same problem. However, I did
notice a (probably separate) problem on Mac OS X with Preview. Doing a
Copy in Preview, then doing "New System Clipboard" in ImageJ produces
an image not with skewed scanlines, but of the wrong size (768x576
instead of 1024x768). Bizarre.

Kent, how did you make this TIFF file? It looks pretty messed up. You
can see corruption on the first few scanlines, which almost always
indicates something wrong within the TIFF file itself. I'm guessing
this MS Paint bug is something that won't come up too often?

-Curtis

On 10/20/06, Duane & Julie <[hidden email]> wrote:

> For what it's worth, the attached TIFF is 'wrapped' as you put it.
> I'm on a Mac, not using Paint.  I never see it as it should appear.
>
> It has the appearance of an image that was loaded with the wrong
> width information and then saved.
>
>     duane
>
> On Oct 19, 2006, at 7:31 PM, Kent W Randall wrote:
>
> >
> > I am seeing a Microsoft Paint tiff image that is wrapped around the
> > center when viewed with the applet.  Here are the steps to reproduce:
> > (1)  View the attached tiff file in Microsoft Paint.  Observe that
> > there is a continuous jagged white line from the upper left to the
> > lower right-hand corner.
> > (2)  Copy the image into the Windows clipboard (Ctrl-A, Ctrl-C)
> > (3)  Launch the applet viewer (http://rsb.info.nih.gov/ij/
> > applets.html) and open the issue_image.tif file.  Observe that the
> > image is OK.  I am using the Sun 1.4.2_11 JVM on WinXP Pro.
> > (4)  Press File | New System Clipboard to copy the image from the
> > Windows clipboard
> > (5)  Observe that the image is wrapped in the center
> >
> > I have only found this distortion with Paint.  Other graphics
> > viewers that I have tried do not exhibit this behavior.  Does
> > anyone know why this is happening?
> >
> > Thanks,
> > Kent Randall
> > Rockwell Automation, Inc.
> > (408) 271-3427
> >
> > <issue_image.tif>
>