Publish/Images

From J Wiki
Jump to navigation Jump to search
Publish | Overview | Markup Summary Markup Detail | Styles | Images Tables | Examples


Overview

Images supported are bitmap (*.bmp), jpeg (*.jpg or *.jpeg), and Plot (*.jpf).

To include an image, use the image tag:

<image>toucan.jpg</image>

Parameters

The following parameters are supported:

  • align, alignv - horizontal and vertical alignment
  • scale - scale factors for width and height (default 1 1)
  • size - size of image in points for width and height (by default uses the image's own size)

For example:

<image align=center,scale=0.8>toucan.jpg</image>

Plot

J plot files (*.jpf) are normal plots, that are written to file with the jpf command. Parameters are filename and size. For example:

pd 'reset'
pd 2 3 5 7
pd 'jpf c:\report\plot21.jpf 300 150'