# program information (10 chars, 32 chars)
pi:About this program
pi0:Name
pi1:Jclean
pi2:Purpose
pi3:jpegtran cleanup of JPEGs
pi4:Author
pi5: J.David Barrow, 2000,2002
pi6:Version
pi7:4.00 (Wed 05th June 2002)
pi8:Licence
pi9:Non-commercial Free Use
# END of program information


# Iconbar icon
#
# menu options (12 chars)
ibm0:Info
ibm1:Help
ibm2:Options...
ibm3:Status...
ibm4:Open Scrap
ibm5:New Log
ibm6:New Comments
ibm7:Quit
# END of Iconbar menu options


# Options window legends
# Note that max character display will be
# limited by icon size and desktop font size
#
# top section
# max 24 characters:
x0clean:Clean (ignore options)
x0taskwin:Use TaskWindow
x0stamp:Stamp
x0recurse:Recurse
x0output:Output to
# max 230 characters:
x0outputpath:drag output directory here
#
# middle section
# max 40 characters:
x1remove:Remove existing comments
x1indate:Insert 'filedate' (see Config)
x1jpegtran:jpegtran (using options below...)
# max 24 characters:
x1savecom:Save comments to
x1injpeg:Insert individual file
# max 6 characters:
x1savescrap:scrap
# max 12 characters:
x1infile:Insert file
# max 230 characters:
x1infilepath:drag common comment file here
#
# lower section
# max 20 characters:
x2greyscale:Greyscale
x2optimised:Optimised
x2progressive:Progressive
x2removeins:Remove inserts
x2report:(report)
x2restart:Set restarts every
x2restblk:Nth block
x2restrow:Nth row
x2transform:Transform
x2trim:trim edges
#
# END of Options window legends


# Status window legends
# 16 chars allowed but display limited by icon size and font
#
sw1:Pause/Step
sw2:Resume
sw3:Skip
sw4:Abort+End
sw5:Show Log
sw6:Queued
sw7:Processed
sw8:Completed
sw9:Aborted
sw10:Status:
sw11: waiting
sw12: queueing
sw13: reading
sw14: processing
sw15: paused
sw16: stepping
sw17: resumed
sw18: skipped
sw19: aborted
#
# END of Status window legends

# Log messages
log0:Jclean session started:
log3:Size:
log4:File date:
log5:Process date:
log6:(Single task):
log7:(TaskWindow):
log8:Report:
log21: comment file
log22: not found
log23: is not a file
log24: is locked
log25: is write-disabled
log26: is read-disabled
log27: is too large
log28: is an empty file
log29: is not a valid JPEG
log31: JPEG file
log40:Error:
log41: invalid length in marker 0x
log42: at address &
log44: could not write back processed JPEG.
log45: output path does not exist or is too long
log46: output object already exists
log47: could not open object
log50:Insert
log51: common comment:
log52: individual comment:
log53: inserted.
log54: 'filedate':
log55: not inserted,
log60:Comment
log61:Comments
log62: saved:
log63: removed:
log64: (to
log68:Error saving comments:
log80:No write back required by options.
log91: process completed.
log92: process aborted.
log100:Processing finished:
log101: queued,
log102: processed,
log103: completed,
log104: skipped/aborted.
log105:Processing aborted:
log2002:Jclean extracted comments:
# END of Log messages

# Error messages
eJ0:Sorry, try a file instead.
eJ1:Sorry, the Access details don't allow it.
eJ2:Sorry, empty comments can't be inserted.
eJ3:Sorry, there's a 65534-byte limit.
eJ4:No Jclean operations are selected.
eJ5:Sorry, either that's an application directory or the path is too long.
# END of Error messages


# Interactive Help messages (230 chars) ...
# (parameter substitution is not supported)
# '$xx' tokens are substituted in the Basic program)

# Icon
ib0:$00|MClick MENU to open the main menu.|MClick SELECT$22$01|MClick ADJUST$22$21

# Menu
m:$07
m0:$07|MMove the pointer right to see information about Jclean.
m1:$07|M$26 open the Help textfile.
m2:$07|MClick$22$01
m3:$07|MClick$22$21
m4:$07|M$26 open the Jclean Scrap directory.
m5:$07|M$26 start a new Jclean Log file.
m6:$07|M$26 start a new Jclean Comments file.
m7:$07|M$26 quit Jclean.

# ProgInfo window
pih:This window displays information about Jclean.

# Jclean status window
s0:This window shows what Jclean is doing.

s1:$26 pause processing.|MIf already paused, click to step through JPEGs, pausing at each one.

s2:$26 resume processing if paused.

s3:$26 skip (abort) the currect JPEG.

s4:$26 abort all further processing.

s5:$26 open the Jclean Log file in a text editor.

s6/s12:$27 dropped into Jclean.

s7/s13:$27 dealt with.

s8/s14:$27 successfully completed.

s9/s15:$27 skipped or aborted because of error.

s10/s11:This tells you what Jclean is currently doing.

s16:This shows the name$28

s17:This shows the size in bytes$28


# Jclean options window
j0:$23 Jclean action options.

j10:$00

j11:$19 Jclean to produce an optimised JPEG with all$17, including comments, removed.|MOptions set in the middle and lower sections will be ignored.

j12:$19 jpegtran to be run as a background task.|MThis will be slower but allow you to perform other tasks at the same time.

j13:$19 the file time and date changed to the Jclean processing time.

j14:$19 Jclean to process JPEGs within a nested directory structure.

j15:$19 Jclean to save the result JPEG and comment files to a different location.|MIf unticked, the result JPEGs will overwrite the source JPEGs.
j16:Drag the directory here that you want Jclean to save the results to.

j1:$23 Jclean processing options.

j17:$19 Jclean to copy out any text comments it finds.|M$18 will not be copied.
j18:$16$24 the Jclean Comments file in Scrap.
j19:$16$24 a file$25

j20:$19 Jclean to remove text comments.|M$18 will not be removed.

j21:$19 Jclean to insert the 'filedate' string in every JPEG.|MSee the 'Config' file for customising the string.

j22:$19 Jclean to insert any comment files it finds$25|M$20

j23:$19 Jclean to insert a common comment file in every JPEG.|M$20
j24:Drag any file here that you want to be inserted as a 'comment' in every JPEG.|M$20

j25:$19 Jclean to run jpegtran with the selected jpegtran options.

j2:$23 jpegtran options.

j26:'Greyscale' removes colour information.|MThe lost information cannot be recovered.

j27:'Optimised' ensures minimal sized JPEGs, recognised by all decoders.

j28:A 'Progressive' JPEG displays quickly but 'blocky', then gets clearer over several passes.|MNot all decoders recognise progressive JPEGs.

j29:$19 remove$18|MThis will not remove $17 marked as 'comments'.

j30:$19 jpegtran to provide information about the JPEGs.

j31:$16 for header information without tables.

j32:$16 for header information with tables.

j33:'Restarts' convert the image data from one continuous stream into discrete sections.|MThis can prevent loss of the entire image if minor corruption occurs during transmission.

j34:$13$15|M$14
j38:$13 rows of$15|M$14
j35/j39:Type in 'N' - any number from 1 to 99.
j36/j40:$08$10.|M$09$11|M$12
j37/j41:$08$11.|M$09$10|M$12

j42:'Transform' enables the desired rotate, flip or transpose option.|MTick 'trim edges' as well to remove non-transformable incomplete edge blocks.|M$14

j43:Rotate image by 90 anticlockwise $02|M$03 right-hand$04

j44:Rotate image by 180 $02|M$03 right-hand and bottom$04

j45:Rotate image by 90 clockwise $02|M$03 bottom$04

j46:Flip left-right $02|M$03 right-hand$04

j47:Flip up-down $02|M$03 bottom$04

j48:Transpose image across UL-LR axis $02|M'trim edges' is not required in this case.

j49:Transpose image across UR-LL axis $02|M$03 right-hand and bottom$04

j50:'trim edges' removes incomplete edge blocks if they cannot be transformed correctly.|M$14|MTrimmed edges cannot be recovered.

# Secondary tokens (substituted in Basic program).

$00:Drag a JPEG or a directory of JPEGs here for processing.
$01: the Jclean Options window.
$02:if 'Transform' is ticked.
$03:If 'trim edges' is ticked, incomplete
$04: edge blocks are removed.
$05:from the original file if 'Copy' is selected.
$06:if 'Add comment' is selected.|MA text file containing the comment must have been seen before the JPEG.
$07:This is the Jclean menu
$08:Click SELECT to
$09:Click ADJUST to
$10: decrease the count (minimum 1).
$11: increase the count (maximum 99).
$12:Hold down SHIFT while clicking for an increase or decrease of 10.
$13:Use the value on the right as the number of
$14:(Image blocks are commonly 16x16 pixels or 16x8 pixels.)
$15: JPEG image blocks between 'restart' markers.
$16:Select this option
$17: information sections
$18: Exif information, Photoshop settings, thumbnail images, etc.
$19:Tick this option if you want
$20:Comments are intended as text insertions but can be any type of file up to 65534 bytes in length.
$21: the Jclean Status window.
$22: to open or close
$23:This section contains
$24: to save the comments to
$25: with the same name as the JPEG but with a defined extension.
$26:Click to
$27:This shows the number of JPEGs that have been
$28: of the JPEG currently being processed.
# END of Interactive Help messages

#
# end
