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

Conference 7.286::atarist

Title:Atari ST, TT, & Falcon
Notice:Please read note 1.0 and its replies before posting!
Moderator:FUNYET::ANDERSON
Created:Mon Apr 04 1988
Last Modified:Tue May 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1433
Total number of notes:10312

387.0. "DECwindows to ST screen conversion" by PAULUS::FRANKE () Mon Jan 30 1989 09:04

	Would you like to display or print pictures on your ST that have been 
	scanned or created otherwise under DECwindows on a DEC workstation?
	There are some conversion programs and samples available on 

			PAULUS::ST_CONVERT.SAV

	The Saveset contains the following files:

	XBMTOBIN.EXE    -> X11 bitmap to binary converter
	IMAGE_SPLIT.EXE -> binary to screen converter 
	READ_ME.TXT	-> this text
       	*.SCR	        -> sample screen format pictures
	PIRAT2_800.XBM	-> sample bitmap picture, 640*800
       	PFERD0_400.XBM	-> sample bitmap picture, 640*400


	Here is what you do to convert X11 bitmap format to ST screen format 
	(640 *400):

	1. Load the picture into the DECW$PAINT program
	2. Edit the picture (if necessary)
	3. Use option "Picture Size" to adjust the size to
	   640*400 or 640*800 pixels
	4. Save the picture as X11 bitmap

	5. Run XBMTOBIN.EXE to convert the picture ro binary format:

	   $ XMB:== $ disk:[directory]XBMTOBIN.EXE
	   $ XBM inputfile.ext outputfile.BIN -r	   

                                               ^
	                                       important

	6. Run IMAGE_SPLIT.EXE to convert to screen format and split
	   picture into 2 screens of 640*400 each.

	   $ IS:== $ disk:[directory]IMAGE_SPLIT.EXE
	   $ IS	inputfile.BIN

	   IMAGE_SPLIT.EXE creates two files: XXXX.01 and XXXX.02, the
	   second file is empty, if the picture size is only 640*400.
        
	7. Use a pixel paint program that can read and display screen
	   format, such as the German? program "STAD", the most versatile
	   paint program I have ever seen.

	Send any questions and remarks to Lothar Franke on PAULUS::FRANKE
T.RTitleUserPersonal
Name
DateLines
387.1What a good idea!SMURF::COUTUHe who will not risk, cannot win.Tue Jan 31 1989 02:059
    Now this sounds interesting! I would presume that the screen format
    file (for the ST) could be used directly by a C program (for instance)
    as graphic data for display?
    
    If it is written in C would you be willing to have it ported to Ultrix?
    Or perhaps have it converted to run on the ST itself? I have a number
    of .XBM files that it would be interesting to play with.
    
    Dan
387.2C-sources on PAULUS::ST_CONVERT_C.SAVPAULUS::FRANKETue Jan 31 1989 06:2715
	The C-sources are in the saveset PAULUS::ST_CONVERT_C.SAV

	XBMTOBIN was written as prototype part of a real customer 
	project, this is why XBMTOBIN writes a header which is then
	stripped off by IMAGE_SPLIT,  you may want to remove these
	program parts.

	The reason I do the conversion on the VAX is simple enough:
	the bitmaps are 782 resp. 391 blocks long, whereas the converted
	screen images are only 65 block long (=much faster to transfer...).

	Once finished, please make the ST and UNIX version available...

	Lothar
387.3ST-Hardcopy to Sixel ConverterHAN::KUNTZEMatthias Kuntze SWAS Hannover ProjektzentrumThu Feb 02 1989 08:4513
    If you want to display the .SCR files or some ST-Hardcopy-files
    (e.g. from STAD) at a Sixel-Terminal (VT340, LN03+ ..), you can
    use a ST_Hardcopy_to_Sixel_Converter from
	HAN01::USERDISK1:[KUNTZE.EASYNET.ST]SIXEL_PLOT.EXE, .CLD
    
    Edit SIXEL_PLOT.CLD to point to the locaton of SIXEL_PLOT.EXE and
    do a	$ set command sixel_plot
    		$ sixel alf1_1.scr		! will display to screen
    or		$ sixel alf1_1.scr,alf1_2.scr	! display both files
    or		$ sixel <files> /Out=<file>	! sixel to File (print_it)

    
    Matthias    
387.4bitmap to binary to screen to SIXEL to...PAULUS::FRANKEFri Feb 03 1989 05:236
	Don't forget, the converters are useful for those who have
	access to DECwindows and maybe a scanner. Under DECwindows
	it is much easier to use UTOX to produce SIXEL directly
	without converting from bitmap to binary to screen to SIXEL
	to PostScript to...
387.5Looking for a copy of Lothar's programsUHAINA::RODASChristian RODAS I.E.D. ValbonneWed May 09 1990 13:0812
    Hi,
    
    	Lothar is not working anymore for the company
    
    	The software he has written is exactly what I'm looking for...
	Has anyone got a copy of theese programs ?
    
    Thanks
    
    Christian
    
    
387.6It's hereHAN01::KUNTZEMatthias Kuntze SWAS Hannover ProjektzentrumThu May 10 1990 08:226
    Hello Christian,
    
    I have a copy of Lothar's SW in
    	HAN01::Userdisk1:[Kuntze.Easynet.ST.Scanner]*.*
    
    Matthias