TSE: Graphics: image.s: v1.0.2: How to install and run? Method: startup macro

11 views
Skip to first unread message

knud van eeden

unread,
Feb 5, 2026, 6:41:18 PMFeb 5
to SemWare TSE Pro Text Editor
 Q. TSE: Graphics: image.s: v1.0.2: How to install and run? Method: startup macro

The advantage of this below described method is that you do not have to
change or add anything in a native TSE directory (e.g. mac) and you also do not
have to add it to the autoload list, which might sometimes have
side-effects is my experience. 
So this method is a more independent external method of running e.g. image.s.

  1. -Download and unzip the file image.s v1.0.2


  2. -I added once

         '.pdf'

      to this file

       image.s

      and saved the file

  3. -Make sure once that you have irfanview download and installed
      (e.g. 64 bits version)


  4. -Edit image.s and add the filepath to the irfanview executable i_view64.exe
      and save the file

       E.g.

        // IRFANVIEW_EXE = 'C:\Program Files\IrfanView\i_view64.exe' // old [kn, ri, fr, 06-02-2026 00:00:19]
        IRFANVIEW_EXE = 'G:\GRAPHICS\IRFANVIEW\i_view64.exe' // new [kn, ri, fr, 06-02-2026 00:00:28]

  5. -Copy once this file image.s v1.0.2 to your TSE working directory

       E.g.

        f:\bbc\taal\image.s

  6. -You can find your current TSE working directory e.g. by running
      this TSE program

       PROC Main()
        Warn( CurrDir() )
       END

      That gives e.g.

       f:\bbc\taal\

  7. -Compile once that file <Ctrl F9> or otherwise
      TSE menu > 'Macro' > 'Compile'

  8. -In case you are using a TSE startup macro file

       E.g.

        f:\bbc\taal\knudstar.s

      edit that file and add the line below somewhere in the file
      (e.g. the bottom of the file)

       LoadMacro( "image.mac" )

      save and recompile that startup file

  9. -Then start TSE with the startup file

       E.g.

        g32.exe -eknudstar.mac

 10. -Then you can then permanently whenever you load almost any
      graphics file (e.g. .png, .jpg, .pdf, ...) into TSE
      show that as a graphics image inside the TSE window:

       1. -As usual via the TSE menu

            E.g.

             <Escape> > 'File' > 'Open' > <your graphics filename>

            E.g.

             <Escape> > 'File' > 'Open' > c:\temp\ddd.pdf

      or optionally starting TSE with all those parameters direct from the command line)

       E.g.

        g32.exe -eknudstart c:\temp\ddd.pdf

       E.g.

        g32.exe -eknudstart f:\bbc\taal\xmasgift.png

 11. -Tested successfully
      on
      Microsoft Windows 10 Professional (64 bits)
      running
      TSE for Microsoft Windows version 4.50 RC24
      image.s v1.0.2

with friendly greetings
Knud van Eeden

Inline image




knud van eeden

unread,
Feb 5, 2026, 7:01:35 PMFeb 5
to SemWare TSE Pro Text Editor
Update: 

Possible applications of this image system in PDF:

1. Show almost any graphics file (that was described below how to)

or otherwise e.g.

2. Create slide shows automatically on the fly and automatically in TSE

    1. First create programmatically on the fly the first slide in TSE (e.g. using Dos() or StartPgm() to run some external        executable file
       like Python, ImageMagick, GraphViz, GIMP, Adobe Acrobat, ...) which generates using some TSE script
       some graphical output file (e.g. .png, .jpg, ... 
       On the fly thus automaticaly.

        E.g. 

         c:\temp\01.png     

    2. Then load that image file automatically as described below in TSE to view it. Then press any key to continue.

        E.g.
  
        PROC Main()
         EditFile( "c:\temp\01.png" )
        END

    3. Then create similarly the second slide via TSE via TSE scripts and save the graphical result.

        E.g.

         c:\temp\02.png

    4. Then load that image file as described below in TSE to view it. Then press any key to continue.

        PROC Main()
         EditFile( "c:\temp\02.png" )
        END

    and so ... on until the last page.



--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/1722722170.905315.1770334871945%40mail.yahoo.com.

knud van eeden

unread,
Feb 6, 2026, 2:59:14 PM (13 days ago) Feb 6
to SemWare TSE Pro Text Editor
Hello,

FYIO:

1. To reproduce, download any screenshot inline in an email, then load it in TSE while image.s v1.0.2 is active.
(The same grainy result goes for image.s v1.0.1)

2. Example grainy result in image.s v1.0.2 when loading an email inline image screenshot (e.g. .png):

Inline image

3. I wanted to add showing graphics images in my TSE library text file, using the 'file under cursor' method,

4. So when I clicked on it with my mouse it opens (=EditFile()) the graphics file 
and then with image.s it shows that image inside the TSE window.

5. E.g. clicking this line (or running loadfile_cursor.s):

    [file: source: f:\bbc\taal\image\loadfile_undercursor01.png]


Inline image

6. The issue wit the current image version v1.0.2 was that the downloaded (e.g. from emails containing these inline screenshots)
where very grainly and the text basically rather unreadable.

7. After consulting AI Claude it informed that the issue was in the scaling in image.s

8. On request the AI Claude generated a new image_fixed.s file (see attached) which
resolved the grainy issue.

9. See much improved image screenshot running image_fixed.s
   (taken from TSE window running full screen)

Inline image

Image_fixed.s

knud van eeden

unread,
Feb 6, 2026, 3:35:05 PM (13 days ago) Feb 6
to SemWare TSE Pro Text Editor
Update:

FYIO:

Actually the AI used here was only AI ChatGPT.

Here a URL link to the conversation:



--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit
Reply all
Reply to author
Forward
0 new messages