====================================
Installing Graphics Filters in WSWin
====================================

The graphic filter import feature in WSWin uses the Softek FLT filters.
WSWin 2.0 came pre-installed with aliases for some of the filters, but
without them.  Other filters can be installed if an alias is created.  The
WSWin Filter Alias looks like this.

[GRAPHIC.FLT]                                   ; name of the filter
FilterType=Aldus Standard                       ; WSWin instruction
OptionMask=192                                  ; WSWin instruction
Class=16                                        ; WSWin instruction
Extensions=*.EXT                                ; graphic extension
Description=EXT: Description of the Graphic     ; description for WSWFLT.INI

To install a new filter three changes are needed for each filter.  First,
the name of the filter has to be added to [Import Graphic] section of
WSWFLT.INF. Using filters that I found on a Cover CD version of Paint Shop
Pro, my [Import Graphic] section now looks like this

[Import Graphic]
MGX=
PIX=
WMF=
BMP2META.FLT=
;CGMFILTR.FLT=
GIFIMP.FLT=
;LOTUSIMP.FLT=
PCXMETA.FLT=
TIFF.FLT=
CDR.FLT=
HPGL.FLT=
;WPGMETA.FLT=
;DXFMETA.FLT=
;filters from Paint Shop Pro
CGM.FLT=
;DRW.FLT=
DXF.FLT=
GEM.FLT=
PIC.FLT=
WPG.FLT=

This section tells WSWin that an Alias exists for these filters.

Also in the WSWFLT.INF file are alias descriptions for each of the FLTs.  I
have commented out certain original filters because I found a later filter
for the same purpose with a different name.  I left the alias in the file
for future reference, but I commented out (; at the beginning of the line)
the old name and added the update name.

;[CGMFILTR.FLT]
[CGM.FLT]
FilterType=Aldus Standard
OptionMask=192
Class=16
Extensions=*.CGM
Description=CGM: Computer Graphics Metafile Format

;[LOTUSIMP.FLT]
[PIC.FLT]
FilterType=Aldus Standard
OptionMask=192
Class=16
Extensions=*.PIC
Description=PIC: Lotus 1-2-3 Picture

In the case of the WordPerfect and AutCad graphics, WSWin came prepared for
a filter, but without the filters.  In that case I did the following,
because the filters had a different names than the WSWin programmers
expected:

;[WPGMETA.FLT]
[WPG.FLT]
FilterType=Aldus Standard
OptionMask=192
Class=16
Extensions=*.WPG
Description=WPG: WordPerfect Graphics 5.x

;[DXFMETA.FLT]
[DXF.FLT]
FilterType=Aldus Standard
OptionMask=192
Class=16
Extensions=*.DXF
Description=DXF: AutoCAD (2-D)

I prepared two aliases for other filters, but as you will see below I did
not activiate the DRW.FLT because the feature is handled in a better way by
the WSWin program.

[DRW.FLT]
FilterType=Aldus Standard
OptionMask=192
Class=16
Extensions=*.DRW
Description=DRW: DRW Graphics File

[GEM.FLT]
FilterType=Aldus Standard
OptionMask=192
Class=16
Extensions=*.GEM
Description=GEM: GEM Graphics Import

Once you have done this, the WSWFLT.INI will need to be updated.

Delete or rename the WSWFLT.INI file in the Windows directory.  Then run
WSWin and ask to import a graphic (create a graphic frame first).  WSWin
will note that the WSWFLT.INI file does not exist, so will recreate it from
the information in the WSWFLT.INF file.  WSWin will create a list of
filters from the WSWFLT.INF and check to see if the necessary *.dats are
present in the WSWin directory.


back