[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2561.0. "Help on .XBM files needed" by UTRTSC::LUBBERS (Jan Lubbers, Software Support.) Tue Apr 03 1990 06:06

Hello world,

I am lost, I have some .XBM files I would like to display on my workstation
I run DECwindows under VMS T5.4-4ET, I have tried PAINT and a program called
ROOT, that are suppost to display .XBM bitmap files. However, I am unable to
get anything on the screen, PAINT complains about the format, ROOT can't read
the image file...

Can someone please tell me what to do? I am new to windows...

	*HELP*

Regards, Jan.
T.RTitleUserPersonal
Name
DateLines
2561.1displaying your .XBM filesBACKUP::SYSTEMTue Apr 03 1990 08:3211
    
    I am not sure why you want to display a bitmap on the screen.  If
    you simply want to see it, you could use a program found in the
    ELKTRA::DW_EXAMPLES notes file (topic 248.0).  This note is oriented
    towards changing the DIGITAL logo but with the program given, you
    can simply include your bitmap file (.XBM), compile, link and run.
    Your bitmap will then be displayed.  If you want to use one of your
    .XBM files a the background on your workstation, look through the
    above notesfile.  If it can be done you will find it there.
    
    CR  
2561.2Thanks, I'll have a lookUTRTSC::LUBBERSJan Lubbers, Software Support.Tue Apr 03 1990 08:520
2561.3A spiffy image viewer (Xloadimage) is availableVINO::WITHROWMass. recall petitions available here!Tue Apr 03 1990 15:5825
Im not sure which program the preceeding person is recommending, but
there is a nice image viewer called Xloadimage.  I have hacked it to
run on VMS, and you can get the package at:

  VINO::BORDEAUX:[WITHROW.PUBLIC]XLOADIMAGE.SAV;1

which is a VMS saveset.

This program has several nice features such as:

 - It knows several file formats, including XBM and GIF,

 - It knows how to deal with compressed files.  Compressed
   XBM files typically occupy about 1/10th the space of
   uncompressed ones.

 - It can dither or halftone color images and display them on
   mono screens.

 - It can zoom images to almost any size (smaller or larger).

 - It can display into the root window.

I offer no support on this, but I *may* attempt to fix bugs
if you send me mail...
2561.4Try UTOXAIRBAG::SWATKOElectrons are cheap. Trees are not.Tue Apr 03 1990 17:064
You might also want to check out UTOX.  It will display Xbitmaps and can
also be used to set your workstation screen background.

-Mike
2561.5Paint works for ME!F18::AVERYCEA VMS Partner - MDC Sales SupportThu Apr 05 1990 12:5410
I used paint on VMS5.1-1 to read in .XBM files and center them, so that I would 
only get one image on the screen, instead 2 1/2 or so.
I would get an error, but the file would be read in completely.

I just retried with VMS 5.3, and had no problems.

When writing the file, be sure to X11 format if you want to keep the .XBM format

Tom