Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 19 Jun 2013, 01:25
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to open .wmf image files in Puppy? (Solved)
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 9908
Location: Arizona USA

PostPosted: Sun 29 Jan 2012, 23:00    Post_subject:  

Thanks everyone for your help. Sorry I haven't been responding. I didn't know there were any new replies. I didn't click the "watch this topic for replies" option and I didn't see the thread in the list of new posts since my last visit. Embarassed

Anyway, I won't have time to try anything new for a day or so. Again, thanks.
Back to top
View user's profile Send_private_message 
Dingo


Joined: 11 Dec 2007
Posts: 1398
Location: somewhere at the end of rainbow...

PostPosted: Mon 30 Jan 2012, 09:30    Post_subject:  

on CTAN I found

wmf2eps
http://ctan.org/pkg/wmf2eps
Quote:
A Win32 program to convert MS-Windows Metafile Graphics (WMF) containing either vector-images or bitmaps into Encapsulated PostScript format having tight bounding-boxes at exactly the same size as the WMF-originals.


I have not yet tried if it is working with wine

_________________
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
Back to top
View user's profile Send_private_message Visit_website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 9908
Location: Arizona USA

PostPosted: Mon 30 Jan 2012, 23:50    Post_subject:  

kooliepup wrote:
...if you don't want to stuff around with all that, post a .wmf file here and I will see what else opens it.

Okay, here's one. Change "tar.gz" to "wmf". I have no idea what it should look like.

If .wmf is Microsoft Office's native image format, OpenOffice might be able to open it, but could it convert it to jpg?
ADV003.tar.gz
Description 
gz

 Download 
Filename  ADV003.tar.gz 
Filesize  17.41 KB 
Downloaded  65 Time(s) 
Back to top
View user's profile Send_private_message 
kooliepup


Joined: 13 Jan 2012
Posts: 254
Location: Victoria, Australia

PostPosted: Tue 31 Jan 2012, 02:21    Post_subject:  

So, do you want the good news or the bad news?

OK, the bad news..

Won't open
XNView MP
Viewnior
Fotowall
Geeqie
GQView
Gimp 2.7
Fotoxx
Mashup
Inkscape
InkLite
Posterazor
Pencil
MTPaint
Laidout
TonicPoint
Dia
Scribus
Xara
ImageMagick
GraphicsMagick

Will open
sdraw (LibreOfficeDraw)

and it will export it to a variety of formats.

Your logic is in a healthy condition. Smile

It's the Jetsons.

Yes, even tho it is a vector format, it will export to .jpg, which is a raster format.

Cheers.

_________________
chown -R us ./base
Back to top
View user's profile Send_private_message 
Makoto


Joined: 03 Sep 2009
Posts: 1406
Location: Out wandering... maybe.

PostPosted: Tue 31 Jan 2012, 07:26    Post_subject:  

Maybe one of the XNView (non-MP) versions might do it, I don't know. MP is still more of a work-in-progress program, so it might not handle everything the original XNView does.

Edit: Quick test; in Windows, my versions of XNView and GIMP (as well as IrfanView) opened the WMF with no problems. In Puppy...
XNView (from XnView-1.70-patched-i486-slxr.pet): No.
GIMP (from gimp-2.6.8-sfs3.sfs): No.
OpenOffice (from openoffice3.2-sfs3.sfs) Yes - after insisting that my installed JRE was 'defective.' Shocked

_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 9908
Location: Arizona USA

PostPosted: Tue 31 Jan 2012, 09:15    Post_subject:  

LibreOffice doesn't seem to be anywhere in Racy Puppy's PPM. Where can I find it? (I see that I haven't said what Puppy I'm using. Sorry, I thought I'd put that in my first post. Embarassed )
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 2119
Location: World_Hub

PostPosted: Tue 31 Jan 2012, 09:26    Post_subject:  

Not IM?... Really!
wmf_solution.jpg
 Description   http://murga-linux.com/puppy/viewtopic.php?p=599780#599780
 Filesize   41.65 KB
 Viewed   452 Time(s)

wmf_solution.jpg

Back to top
View user's profile Send_private_message 
vovchik


Joined: 23 Oct 2006
Posts: 1239
Location: Ukraine

PostPosted: Tue 31 Jan 2012, 09:58    Post_subject:  

Dear puppians,

I think some of us have been barking up the wrong tree (pardon the pun) in this discussion of wmf format. Many GTK programs (e.g. gqview and viewnior) can display wmf just fine. If they do not, it means that your GTK setup is missing gdk-pixbuf.loaders that are used by gdk_pixbuf. Examine the following file in /etc/gtk-2.0:

Code:

gdk-pixbuf.loaders


To display wmf, you need the following entry, or something similar:

Code:
"/usr/lib/gtk-2.0/2.10.0/loaders/io-wmf.so"
"wmf" 0 "gtk20" "Windows Metafile"
"image/x-wmf" ""
"wmf" "apm" ""
"\327\315\306\232" "" 100
"\001" "" 100


in that file. In addition, you will need to have the following file present on your system:

Code:
/usr/lib/gtk-2.0/2.10.0/loaders/io-wmf.so


I have attached mine from Lucid. You might also need libwmf.

With kind regards,
vovchik

PS. I also have a similar entry for OSX icns format and for Photoshop psd, and quite a few more, so I can view/process quite a few image file types using standard GTK image apps. Even gtkdialog can display wmf within a <pixbuf></pixbuf>, provided you have the loader.

PPS. If the loader is set up properly, ROX-Filer will also show wmf thumbnails in icon view Smile
wmf.tar.gz
Description 
gz

 Download 
Filename  wmf.tar.gz 
Filesize  16.22 KB 
Downloaded  70 Time(s) 
Back to top
View user's profile Send_private_message 
kooliepup


Joined: 13 Jan 2012
Posts: 254
Location: Victoria, Australia

PostPosted: Wed 01 Feb 2012, 02:48    Post_subject:  

@Semme,

Yes, I was surprised that IM/GM didn't open it.
I really expected they would.

@vovchik,

Thanks for that.
I don't think I'll bother, 'tho.
I haven't had need to open a .wmf since I started using Linux (RedHat) in 1998, and very much doubt that I ever will now.

At best, .wmf was only ever just another Microsoft waste-of-space format.

_________________
chown -R us ./base
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 2119
Location: World_Hub

PostPosted: Wed 01 Feb 2012, 07:26    Post_subject:  

Kooliepup,

Unless ldd /usr/bin/display returns any "not founds," there's no reason it shouldn't open with display [filename.wmf].
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 9908
Location: Arizona USA

PostPosted: Wed 01 Feb 2012, 09:06    Post_subject:  

Semme, so ImageMagick worked for you? It would appear that my Racy Puppy is missing something. Which Puppy are you using? Or did you install the stuff that Vovchik talked about? I fooled around with /etc/gtk-2.0 for a while but didn't reboot after making changes. Maybe that's why it didn't work for me. Where can I find libwmf and where would I put it?
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 2119
Location: World_Hub

PostPosted: Wed 01 Feb 2012, 10:10    Post_subject:  

Since you're referencing Racy, I think v6.6.1-10 is the pkg it's pacman should've listed.

From you, same as above.. let's see this output from a shell: ldd /usr/bin/display
Back to top
View user's profile Send_private_message 
kooliepup


Joined: 13 Jan 2012
Posts: 254
Location: Victoria, Australia

PostPosted: Wed 01 Feb 2012, 12:04    Post_subject:  

This is what I got.

# display ADV003.wmf
ERROR: font.c (1334): wmf_ipa_font_map: failed to load *any* font!
display: failed to scan file `ADV003.wmf' @ error/wmf.c/ReadWMFImage/186.
#

I wasn't interested in pursuing it as I don't have any need for .wmf.

What is the fix for it?

_________________
chown -R us ./base
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 2119
Location: World_Hub

PostPosted: Wed 01 Feb 2012, 12:31    Post_subject:  

Who knows? Maybe you're missing what's described here? Mismatched pets? Version bug? I don't know....
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 9908
Location: Arizona USA

PostPosted: Wed 01 Feb 2012, 13:52    Post_subject:  

Semme wrote:
Since you're referencing Racy, I think v6.6.1-10 is the pkg it's pacman should've listed.

Nope, 6.6.2-6-w5

Quote:
From you, same as above.. let's see this output from a shell: ldd /usr/bin/display

Code:
# ldd /usr/bin/display
/usr/bin/display: /usr/lib/libxml2.so.2: no version information available (required by /usr/lib/libMagickCore.so.3)
   linux-gate.so.1 =>  (0xffffe000)
   libMagickCore.so.3 => /usr/lib/libMagickCore.so.3 (0xb73a8000)
   libMagickWand.so.3 => /usr/lib/libMagickWand.so.3 (0xb72a7000)
   liblcms.so.1 => /usr/lib/liblcms.so.1 (0xb727c000)
   libtiff.so.3 => /usr/lib/libtiff.so.3 (0xb722c000)
   libc.so.6 => /lib/libc.so.6 (0xb70ec000)
   libjasper.so.1 => /usr/lib/libjasper.so.1 (0xb70ab000)
   libjpeg.so.7 => /usr/lib/libjpeg.so.7 (0xb707e000)
   libXext.so.6 => /usr/X11R7/lib/libXext.so.6 (0xb7071000)
   libXt.so.6 => /usr/X11R7/lib/libXt.so.6 (0xb702e000)
   librsvg-2.so.2 => /usr/lib/librsvg-2.so.2 (0xb7004000)
   libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb6ffa000)
   libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb6fde000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6ef5000)
   libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb6ec2000)
   libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6ead000)
   libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb6dff000)
   libresolv.so.2 => /lib/libresolv.so.2 (0xb6dea000)
   libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb6d6b000)
   libpixman-1.so.0 => /usr/X11R7/lib/libpixman-1.so.0 (0xb6d1b000)
   libfontconfig.so.1 => /usr/X11R7/lib/libfontconfig.so.1 (0xb6cf3000)
   libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6c80000)
   libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6c62000)
   libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6c43000)
   libXrender.so.1 => /usr/X11R7/lib/libXrender.so.1 (0xb6c3b000)
   libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6c14000)
   libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6c11000)
   libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb6c0d000)
   libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6b48000)
   libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb6a51000)
   libz.so.1 => /lib/libz.so.1 (0xb6a3f000)
   libpthread.so.0 => /lib/libpthread.so.0 (0xb6a28000)
   libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb6a21000)
   libSM.so.6 => /usr/X11R7/lib/libSM.so.6 (0xb6a1a000)
   libICE.so.6 => /usr/X11R7/lib/libICE.so.6 (0xb6a05000)
   libX11.so.6 => /usr/X11R7/lib/libX11.so.6 (0xb6905000)
   libxcb.so.1 => /usr/X11R7/lib/libxcb.so.1 (0xb68f0000)
   libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb68ed000)
   libdl.so.2 => /lib/libdl.so.2 (0xb68e9000)
   libgomp.so.1 => /usr/lib/libgomp.so.1 (0xb68e2000)
   librt.so.1 => /lib/librt.so.1 (0xb68d9000)
   libm.so.6 => /lib/libm.so.6 (0xb68b1000)
   /lib/ld-linux.so.2 (0xb778f000)
   libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb68ac000)
   libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb689e000)
   libuuid.so.1 => /lib/libuuid.so.1 (0xb689a000
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0921s ][ Queries: 13 (0.0195s) ][ GZIP on ]