Skip to main content
General cleanup
Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

Copy Behavior of copy and Paste Formatspaste with different image formats

Ok, let's say I create a 1x1 pixel image.

i = Image[{{0}}, "Byte"];

Now I Export["image.png", i] the image and import it into Libreoffice or Inkscape in Windows 7. Then I copy theand paste the image back into mathematicaMathematica 8.0.1 and calculate the ImageDimensions.

ImageDimensions[x = Rasterize[<image>]]

I would expect to receive the 1x1 but instead I get {13, 17} because of appended white borders around the image.

Now If I save the copied output form LibreOffice and Inkscape and then Import the file into MathematicaMathematica, I run into no problems.

What file formats have issues with mathematicaMathematica so I can consistently paste from the clipboard? I know MathematicaMathematica has multiple ways to copy files MetaFile and Bitmap under Edit->Copy As, but how do these relate to different way to paste objects?

Copy and Paste Formats

Ok let's say I create a 1x1 pixel image.

i = Image[{{0}}, "Byte"];

Now I Export["image.png",i] the image and import it into Libreoffice or Inkscape in Windows 7. Then I copy the paste the image back into mathematica 8.0.1 and calculate the ImageDimensions.

ImageDimensions[x = Rasterize[<image>]]

I would expect to receive the 1x1 but instead I get {13, 17} because of appended white borders around the image.

Now If I save the copied output form LibreOffice and Inkscape and then Import the file into Mathematica I run into no problems.

What file formats have issues with mathematica so I can consistently paste from the clipboard? I know Mathematica has multiple ways to copy files MetaFile and Bitmap under Edit->Copy As, but how do these relate to different way to paste objects?

Behavior of copy and paste with different image formats

Ok, let's say I create a 1x1 pixel image.

i = Image[{{0}}, "Byte"];

Now I Export["image.png", i] the image and import it into Libreoffice or Inkscape in Windows 7. Then I copy and paste the image back into Mathematica 8.0.1 and calculate the ImageDimensions.

ImageDimensions[x = Rasterize[<image>]]

I would expect to receive the 1x1 but instead I get {13, 17} because of appended white borders around the image.

Now If I save the copied output form LibreOffice and Inkscape and then Import the file into Mathematica, I run into no problems.

What file formats have issues with Mathematica so I can consistently paste from the clipboard? I know Mathematica has multiple ways to copy files MetaFile and Bitmap under Edit->Copy As, but how do these relate to different way to paste objects?

added 1 characters in body
Source Link
William
  • 7.7k
  • 2
  • 23
  • 73

Ok let's say I create a 1x1 pixel image.

i = Image[{{0}}, "Byte"];

Now I Export["image.png",i] the image and import it into Libreoffice or Inkscape in Windows 7. Then I copy the paste the image back into mathematica 8.0.1 and calculate the ImageDimensions.

ImageDimensions[x = Rasterize[<image>]]

I would expect to receive the 1x1 but instead I get {13, 17} because of appended white borders around the image.

Now If I save the copied output form LibreOffice and Inkscape and then Import the file into Mathematica I run into no problems.

What file formats have issues with mathematica so I can consistently paste from the clipboard? I nowknow Mathematica has multiple ways to copy files MetaFile and Bitmap under Edit->Copy As, but how do these relate to different way to paste objects?

Ok let's say I create a 1x1 pixel image.

i = Image[{{0}}, "Byte"];

Now I Export["image.png",i] the image and import it into Libreoffice or Inkscape in Windows 7. Then I copy the paste the image back into mathematica 8.0.1 and calculate the ImageDimensions.

ImageDimensions[x = Rasterize[<image>]]

I would expect to receive the 1x1 but instead I get {13, 17} because of appended white borders around the image.

Now If I save the copied output form LibreOffice and Inkscape and then Import the file into Mathematica I run into no problems.

What file formats have issues with mathematica so I can consistently paste from the clipboard? I now Mathematica has multiple ways to copy files MetaFile and Bitmap under Edit->Copy As, but how do these relate to different way to paste objects?

Ok let's say I create a 1x1 pixel image.

i = Image[{{0}}, "Byte"];

Now I Export["image.png",i] the image and import it into Libreoffice or Inkscape in Windows 7. Then I copy the paste the image back into mathematica 8.0.1 and calculate the ImageDimensions.

ImageDimensions[x = Rasterize[<image>]]

I would expect to receive the 1x1 but instead I get {13, 17} because of appended white borders around the image.

Now If I save the copied output form LibreOffice and Inkscape and then Import the file into Mathematica I run into no problems.

What file formats have issues with mathematica so I can consistently paste from the clipboard? I know Mathematica has multiple ways to copy files MetaFile and Bitmap under Edit->Copy As, but how do these relate to different way to paste objects?

Clipboard Copy and Paste Formats that don't work with Mathematica

Ok let's say I create a 1x1 pixel image.

i = Image[{{0}}, "Byte"];

Now I Export["image.png",i] the image and import it into Libreoffice or Inkscape in Windows 7. Then I copy the paste the image back into mathematica 8.0.1 and calculate the ImageDimensions.

ImageDimensions[x = Rasterize[<image>]]

I would expect to receive the 1x1 but instead I get {13, 17} because of appended white borders around the image because of appended white borders around the image.

Now If I save the copied output form LibreOffice and Inkscape and then Import the file into Mathematica I run into no problems.

What file formats have issues with mathematica so I can consistently paste from the clipboard? I now Mathematica has multiple ways to copy files MetaFile and Bitmap under Edit->Copy As, but how do these relate to different way to paste objects?

Clipboard Formats that don't work with Mathematica

Ok let's say I create a 1x1 pixel image.

i = Image[{{0}}, "Byte"];

Now I Export["image.png",i] the image and import it into Libreoffice or Inkscape in Windows 7. Then I copy the paste the image back into mathematica 8.0.1 and calculate the ImageDimensions.

ImageDimensions[x = Rasterize[<image>]]

I would expect to receive the 1x1 but instead I get {13, 17} because of appended white borders around the image.

Now If I save the copied output form LibreOffice and Inkscape and then Import the file into Mathematica I run into no problems.

What file formats have issues with mathematica so I can consistently paste from the clipboard? I now Mathematica has multiple ways to copy files MetaFile and Bitmap under Edit->Copy As, but how do these relate to different way to paste objects?

Copy and Paste Formats

Ok let's say I create a 1x1 pixel image.

i = Image[{{0}}, "Byte"];

Now I Export["image.png",i] the image and import it into Libreoffice or Inkscape in Windows 7. Then I copy the paste the image back into mathematica 8.0.1 and calculate the ImageDimensions.

ImageDimensions[x = Rasterize[<image>]]

I would expect to receive the 1x1 but instead I get {13, 17} because of appended white borders around the image.

Now If I save the copied output form LibreOffice and Inkscape and then Import the file into Mathematica I run into no problems.

What file formats have issues with mathematica so I can consistently paste from the clipboard? I now Mathematica has multiple ways to copy files MetaFile and Bitmap under Edit->Copy As, but how do these relate to different way to paste objects?

deleted 390 characters in body; edited title
Source Link
William
  • 7.7k
  • 2
  • 23
  • 73
Loading
edited title
Source Link
William
  • 7.7k
  • 2
  • 23
  • 73
Loading
deleted 5 characters in body
Source Link
William
  • 7.7k
  • 2
  • 23
  • 73
Loading
Source Link
William
  • 7.7k
  • 2
  • 23
  • 73
Loading