[Fixed] Changed size when importing clipboard
Moderators: helmut, XnTriq, xnview
[Fixed] Changed size when importing clipboard
Import Clipboard function shrinks the image height one pixel.
Re: Bug > Import clipboard
Strange, if i import the desktop, i have the correct size.ckv wrote:Import Clipboard function shrinks the image height one pixel.
Pierre.
The same here

- Confirmed here. However, that does't occur for small images, i.e. : 32*32 icons or BMP.
- I could see that with a BMP around 500*500 px. Copied in Paint >>> Imported in XnView. The odd thing is : if I drag & drop the same image to the XnView icon in Total Commander, it's displayed alright, not any pixel is missing…


Claude
Clo
Last edited by Clo on Tue Feb 01, 2005 6:17 am, edited 1 time in total.
Old user ON SELECTIVE STRIKE till further notice •
Re: The same here
I don't understand, the problem is with the capture tools, so no icons or BMP????Clo wrote:- Confirmed here. However, that does't occur for small images, i.e. : 32*32 icons or BMP.
Pierre.
Small do not

¤ I meant small images generally: icons (which are small images), small BMPs or any whatever image-extension…
- I didn't define yet the threshold-size where the bug begins, though… Only the size does matter, it seems…
- And the problem is not set in the XnView capture-tool, since I got the bug pasting a capture made in M$-Paint,
like I told above.

Claude
Clo
Last edited by Clo on Thu Feb 03, 2005 8:20 am, edited 1 time in total.
Old user ON SELECTIVE STRIKE till further notice •
Heres a demonstration pictures about the bug first imported and then original picture. As you can see it doesn't lose 1px height it shrinks the image to fit the wrong size. And also sometimes when I shrink image it got wrong size.
http://koti.mbnet.fi/ckv/common/temp/ClipBoard-2.gif
http://koti.mbnet.fi/ckv/common/temp/grid.gif
http://koti.mbnet.fi/ckv/common/temp/ClipBoard-2.gif
http://koti.mbnet.fi/ckv/common/temp/grid.gif
But how do you copy this file in clipboard?ckv wrote:Heres a demonstration pictures about the bug first imported and then original picture. As you can see it doesn't lose 1px height it shrinks the image to fit the wrong size. And also sometimes when I shrink image it got wrong size.
http://koti.mbnet.fi/ckv/common/temp/ClipBoard-2.gif
http://koti.mbnet.fi/ckv/common/temp/grid.gif
Pierre.


Yes, strange, i'll checkAnonymous wrote:I just notice I cant cet this bug occur whit my all programs. I mean if I copy the picture from Internet Explorer the bug don't occur but if I copy the image for MSpait the bug will occur. This can be MSpaint bug but if I copy the image from MSpaint and paste into any other of my image programs it will get the right size.
Pierre.
Re: Bug > Import clipboard
I've tried a bit and could reproduce the problem:ckv wrote:Import Clipboard function shrinks the image height one pixel.
1. In MS Paint create an image.
2. Select a 9x9 pixel area
3. Copy the selection to the clipboard
4. Import the image in XnView using "Edit > Import Clipboard"
-> The image imported in XnView has 8x8 images, only. Bug.
When pasting the clipboard contents to another instance of MS Paint or Axialis AX-Icon, the image is 9x9 (correct).
Confirmed and ++
>> Helmut
Hello !
- I can confirm you test, and made some others available in this small archive.
- It seems that only the pics having an ODD count of pixels are affected.
- Hence, it couln't be seen with Windows icons, since they have always a n^2 side-length…
VG
Claude
Clo
Hello !
- I can confirm you test, and made some others available in this small archive.
- It seems that only the pics having an ODD count of pixels are affected.
- Hence, it couln't be seen with Windows icons, since they have always a n^2 side-length…

Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
Re: Bug > Import clipboard
Fixed. v.1.80helmut wrote:I've tried a bit and could reproduce the problem:ckv wrote:Import Clipboard function shrinks the image height one pixel.
1. In MS Paint create an image.
2. Select a 9x9 pixel area
3. Copy the selection to the clipboard
4. Import the image in XnView using "Edit > Import Clipboard"
-> The image imported in XnView has 8x8 images, only. Bug.
When pasting the clipboard contents to another instance of MS Paint or Axialis AX-Icon, the image is 9x9 (correct).