Pasting into MS Word from Gimp?

ForumsFor GIMP users ► Pasting into MS Word from Gimp?

Sent: 2008-11-23 03:06:22 UTC (about 3 years ago)

From: esnible

Pasting into MS Word from Gimp?

Is there a 'trick' for pasting images from Gimp into Microsoft Word?

Images copied from Gimp (Windows version 2.6.1, but also with the last
version I had) don't paste into Microsoft Word (2003). I have no problem
pasting them into Microsoft Paint.

I've been pasting them into MS Paint and then copying them and pasting them
into Word. Is there any way to eliminate the need for a middleman to re-copy
the image?

I don't know if this helps, but the Windows XP clipboard viewer (clipbrd.exe)
says that Gimp is offering images of type "DIB Bitmap" and "Bitmap". MSPaint
is offering "Picture", "DIB Bitmap", "Enhanced Metafile" and "Bitmap". The
problem isn't that MS Word doesn't speak Gimp's formats, because
Edit|PasteSpecial doesn't have an effect for either clipboard format when
coming from Gimp and it works with all three formats when coming from MS
Paint.

If I run Gimp in --verbose mode it says it's offering image/bmp'.

--
Ed S.
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply to this message

Sent: 2008-11-23 10:03:51 UTC (about 3 years ago)

From: Michael Schumacher

Pasting into MS Word from Gimp?

Ed S. wrote:

> I've been pasting them into MS Paint and then copying them and pasting them
> into Word. Is there any way to eliminate the need for a middleman to re-copy
> the image?

It would be very nice if you could try to figure this out. This problem
is known, but so far no user of Microsoft Word seems to have researched
why this happens - and pasting to and from many other applications seems
to work. Maybe there is some Documentation in MSDN.

Michael

--
GIMP > http://www.gimp.org | IRC: irc://irc.gimp.org/gimp
Wiki > http://wiki.gimp.org | .de: http://gimpforum.de
Plug-ins > http://registry.gimp.org |
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply to this message

Sent: 2008-11-23 10:58:31 UTC (about 3 years ago)

From: Cristian Secar?

Pasting into MS Word from Gimp?

On Sun, 23 Nov 2008 03:06:22 +0100 (CET), Ed S. wrote:

> I don't know if this helps, but the Windows XP clipboard viewer
> (clipbrd.exe) says that Gimp is offering images of type "DIB Bitmap"
> and "Bitmap".

It appears there s a problem with the Bitmap format. If I try to view
the Bitmap format with the ClipBook Viewer, a message tells me that
"ClipBook Viewer cannot display the information in its current format
or there is not enough memory to display it. Quit one or more
application to increase the available memory, and then try again."

As I assume that 2G memory is enough, though, for a 750K image, then
it should be a problem with something else.
Perhaps Word tries this format in front of other.

(and Word is not the single application, the same type of problem
occurs when trying to copy and paste to Paint.NET, for example; there
it gives either "The image in the clipboard couldn't be recognized. Try
re-opening it with the original application that was used to qcquire
it", or "There is no usable image in the clipboard")

Cristi

_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply to this message

Sent: 2008-11-24 04:01:02 UTC (about 3 years ago)

From: esnible

Pasting into MS Word from Gimp?

http://bugzilla.gnome.org/show_bug.cgi?id=523554 is the bug for this. I left
a trivial C program there that that can be used to look at clipboard. In my
tests Gimp's CF_DIB exactly matches MS-Paint's but Gimp's CF_BITMAP has bogus
values including bmType.

I hypothesize that Word and Paint.NET refuse to paste when encountering the
odd CF_BITMAP but MS Paint falls through and accepts the valid DIB, or perhaps
prefers the DIB and never sees the BITMAP.

It might be possible to comment out the Gimp code for pasting CF_BITMAP so
only the valid DIB is present. I don't want to attempt this.

>It appears there s a problem with the Bitmap format. If I try to view
>the Bitmap format with the ClipBook Viewer, a message tells me that
>"ClipBook Viewer cannot display the information in its current format
>or there is not enough memory to display it. Quit one or more
>application to increase the available memory, and then try again."
>
>As I assume that 2G memory is enough, though, for a 750K image, then
>it should be a problem with something else.
>Perhaps Word tries this format in front of other.
>
>(and Word is not the single application, the same type of problem
>occurs when trying to copy and paste to Paint.NET, for example; there
>it gives either "The image in the clipboard couldn't be recognized. Try
>re-opening it with the original application that was used to qcquire
>it", or "There is no usable image in the clipboard")
>
>Cristi
>

--
Ed S.
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply to this message

Sent: 2008-11-24 07:22:05 UTC (about 3 years ago)

From: Terry Moss

Pasting into MS Word from Gimp?

Gee I see that other people are experiencing similar problems to
mine.........once I upgraded to 2.4.7 the 'copy to clipboard disappeared'
yeah I could work around it and for what I need it was ok..........I
couldn't paste to WORD either but found I could paste to XL then carry on
with the formatting..........I have XP SP 3 but have retained Word and XL
2003 coz I prefer these versions...I just don't like 2007 version.

cheers, Terry

----- Original Message ---

--
From: "Ed S."
To:
Sent: Sunday, November 23, 2008 4:06 AM
Subject: [Gimp-user] Pasting into MS Word from Gimp?

> Is there a 'trick' for pasting images from Gimp into Microsoft Word?
>
> Images copied from Gimp (Windows version 2.6.1, but also with the last
> version I had) don't paste into Microsoft Word (2003). I have no problem
> pasting them into Microsoft Paint.
>
> I've been pasting them into MS Paint and then copying them and pasting
> them
> into Word. Is there any way to eliminate the need for a middleman to
> re-copy
> the image?
>
> I don't know if this helps, but the Windows XP clipboard viewer
> (clipbrd.exe)
> says that Gimp is offering images of type "DIB Bitmap" and "Bitmap".
> MSPaint
> is offering "Picture", "DIB Bitmap", "Enhanced Metafile" and "Bitmap".
> The
> problem isn't that MS Word doesn't speak Gimp's formats, because
> Edit|PasteSpecial doesn't have an effect for either clipboard format when
> coming from Gimp and it works with all three formats when coming from MS
> Paint.
>
> If I run Gimp in --verbose mode it says it's offering image/bmp'.
>
> --
> Ed S.
> _______________________________________________
> Gimp-user mailing list
> Gimp-user@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

--------------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.9.8/1801 - Release Date: 11/20/2008
9:11 AM

Reply to this message

Sent: 2008-11-24 07:55:37 UTC (about 3 years ago)

From: Sven Neumann

Pasting into MS Word from Gimp?

Hi,

On Mon, 2008-11-24 at 04:01 +0100, Ed S. wrote:
> http://bugzilla.gnome.org/show_bug.cgi?id=523554 is the bug for this. I left
> a trivial C program there that that can be used to look at clipboard. In my
> tests Gimp's CF_DIB exactly matches MS-Paint's but Gimp's CF_BITMAP has bogus
> values including bmType.

The GIMP source code includes a test application that helps to debug
such problems. Perhaps try if you can shed some light on this using
tools/test-clipboard.

GIMP does not use the terms CF_DIB nor CF_BITMAP. It would help if you
could explain what these are.

Sven

Reply to this message

Sent: 2008-11-24 17:04:51 UTC (about 3 years ago)

From: erniew@comcast.net

Pasting into MS Word from Gimp?

Sven Neumann wrote:

> GIMP does not use the terms CF_DIB nor CF_BITMAP. It would help if
> you could explain what these are.

They are Windows API constants used to identify types of data in the
clipboard. One of these would be the first argument to the Windows API
function SetClipboardData(), for example. See

http://msdn.microsoft.com/en-us/library/ms649013(VS.85).aspx

If this doesn't help, I'll try to look at the GIMP source code later and
translate these into GIMP terminology.

- Ernie http://home.comcast.net/~erniew

_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply to this message

Sent: 2008-11-24 19:38:21 UTC (about 3 years ago)

From: Sven Neumann

Pasting into MS Word from Gimp?

Hi,

On Mon, 2008-11-24 at 16:04 +0000, erniew@comcast.net wrote:

> > GIMP does not use the terms CF_DIB nor CF_BITMAP. It would help if
> > you could explain what these are.
>
> They are Windows API constants used to identify types of data in the
> clipboard. One of these would be the first argument to the Windows API
> function SetClipboardData(), for example. See
>
> http://msdn.microsoft.com/en-us/library/ms649013(VS.85).aspx
>
> If this doesn't help, I'll try to look at the GIMP source code later and
> translate these into GIMP terminology.

That doesn't help as GIMP doesn't use the Windows API directly. This is
all abstracted away in GTK+. You may want to check how GTK+ does the
translation to the Windows API.

Sven

_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply to this message

Sent: 2008-11-24 20:22:22 UTC (about 3 years ago)

From: erniew@comcast.net

Pasting into MS Word from Gimp?

Sven Neumann wrote:

>>> GIMP does not use the terms CF_DIB nor CF_BITMAP. It would help if
>>> you could explain what these are.
>>
>> They are Windows API constants used to identify types of data in the
>> clipboard.
>
> That doesn't help as GIMP doesn't use the Windows API directly. This is
> all abstracted away in GTK+. You may want to check how GTK+ does the
> translation to the Windows API.

I guess explaining those terms would not help, then. :)

I've had a chance to read the bug report referenced upthread,

http://bugzilla.gnome.org/show_bug.cgi?id=523554

and it looks like the problem is already pretty well understood,
including the fact that it's likely a problem in GTK+ rather than GIMP.

- Ernie http://home.comcast.net/~erniew

_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply to this message

Sent: 2008-12-04 14:42:31 UTC (about 3 years ago)

From: Terry Moss

Pasting into MS Word from Gimp?

I had same problem but found it would paste into XL 2003 version. Also
another interesting concept is to open a pic with 'PAINT' then choose the
free form selection, then draw round something, then by holding 'shift' or,
'ctrl', or, 'alt' or versions of all three and dragging, very interesting
things happen.
Terry

----- Original Message ---

--
From: "Ed S."
To:
Sent: Sunday, November 23, 2008 4:06 AM
Subject: [Gimp-user] Pasting into MS Word from Gimp?

> Is there a 'trick' for pasting images from Gimp into Microsoft Word?
>
> Images copied from Gimp (Windows version 2.6.1, but also with the last
> version I had) don't paste into Microsoft Word (2003). I have no problem
> pasting them into Microsoft Paint.
>
> I've been pasting them into MS Paint and then copying them and pasting
> them
> into Word. Is there any way to eliminate the need for a middleman to
> re-copy
> the image?
>
> I don't know if this helps, but the Windows XP clipboard viewer
> (clipbrd.exe)
> says that Gimp is offering images of type "DIB Bitmap" and "Bitmap".
> MSPaint
> is offering "Picture", "DIB Bitmap", "Enhanced Metafile" and "Bitmap".
> The
> problem isn't that MS Word doesn't speak Gimp's formats, because
> Edit|PasteSpecial doesn't have an effect for either clipboard format when
> coming from Gimp and it works with all three formats when coming from MS
> Paint.
>
> If I run Gimp in --verbose mode it says it's offering image/bmp'.
>
> --
> Ed S.
> _______________________________________________
> Gimp-user mailing list
> Gimp-user@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

--------------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.9.8/1801 - Release Date: 11/20/2008
9:11 AM

Reply to this message

Welcome!


Lost password?

Not a member? Sign up!

Random tutorials | Latest tutorials

  1. Hot Wallpaper with Flames Hot Wallpaper with Flames 52
  2. Creating an abstract chaos explosion Creating an abstract chaos explosion 10
  3. Create a simple Grunge-Stamp! Create a simple Grunge-Stamp! 7
  4. Ashes to ashes, dust to dust. Dissolve text into particles Ashes to ashes, dust to dust. Dissolve text into particles 3

Latest comments

2.6.12 crashes on startup in windows xp. 2.6.11 works fine. (2 days ago in Last stable 2.6 release: 2.6.12 has arrived)

Thank you! You really helped! The tutorial went great for me! Tha... (5 days ago in [AVATAR] Become a real Na'Vi using GIMP!)

maybe you still selected a channel or so? explicitly click a layer ... (5 days ago in Create cool rifts with translucent lights!)

Poll

Is GIMP an adequate application for you to create printed graphics like flyers, advertisments etc?

Latest forum activities

Your Ad Here

facts & numbers

gimpusers.com RSS feed

48 identi.ca followers
748 Twitter followers

powered by bitfire it services