home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User 10
/
AU_CD10.iso
/
Archived
/
Utilities
/
jpeg
/
js-101
/
!Jsize
/
!Help
next >
Wrap
Text File
|
2000-04-03
|
4KB
|
129 lines
!Jsize version 1.01
!Jsize allows you to change the pixel density of JPEGs.
It does not use the JPEG Module and so ought to work on RISC
OS versions prior to 3.6.
Click SELECT on the icon bar icon (or go through the Menu)
to open up the !Jsize action window.
###########################
READING AND CHANGING A FILE
###########################
Drop a JPEG on the top left box and the number of pixels,
pixel density - either as 'dpi' (dots per inch) or as a
'ratio' - and the size in inches and centimetres will be
displayed.
JPEGs cannot have both 'dpi' and 'ratio' information. A
single byte determines which is used.
'dpi' (dots per inch) is usually the density at which the
image was scanned. This provides true image size information
as opposed to the dot size of the image when displayed on
any particular computer where the screen resolutions may
differ (e.g. usually 90 dpi on RISC OS, 96 dpi on PCs and 72
dpi on Macs). This is the reason why Draw often displays a
JPEG at a different size to that in which Paint shows it.
'ratio' is supposed to be a simple scale factor but most
RISC OS viewers take the ratio setting to mean 'ignore the
pixel density' and use only the actual pixel size.
The box on the right allows you to change the dpi/ratio
setting and to give new pixel densities. X and Y can be
given different values. 10 buttons below the size icons on
the right contain useful pixel density values for different
computer systems and printer resolutions.
NOTE - Normally X and Y pixel densities would be equal.
Should you have unequal values then you must be aware that X
and Y are not switched when any jpegtran transormation is
performed.
The size icons on the right are calculated from the settings
you provide. Those on the left continue to show the size
from the actual current settings.
When you are satisfied that the settings on the right are
what you want, click on the 'Write new settings' button and
the JPEG file will be updated. The new settings will now be
shown on the left.
If you wish to retain the original size information in the
JPEG file but wish Draw to display it at pixel size, just
change the 'dpi' to 'ratio'.
###########################
CHANGING GROUPS OF FILES
###########################
You may have several files in a directory that you wish to
change. Simply prepare the new settings on the right, then
drag the group of selected files to the lower left box.
!Jsize will write the new settings to all the files.
If the upper left box shows information on one of the
selected files, that information will be changed to reflect
the new settings
###########################
OTHER OPTIONS
###########################
Currently, there is only one other option:
Preserve file date
If this is ticked, then !Jsize reads the file date before
writing to it, then writes it back. If unticked, then the
file will be stamped with the current date and time.
###########################
SOME IMPORTANT POINTS
###########################
!Jsize works correctly on all standard JPEGs (JFIF) that it
has been tested on. I can't guarantee that it will work on
any strange format JPEGs.
Errors may occur if e.g. there is not enough disc space, or
the medium is write protected. Please keep backup copies of
the JPEG files you pass through Jsize until you are certain
of an error free process.
Overlong pathnames (i.e. too deep a directory structure)
will probably cause problems. If this happens, move the
files nearer the root directory.
The usual disclaimer: This software may be completely
unsuitable for any purpose to which you will put it so don't
blame me if it sets your house on fire. You use it at your
own risk. That said, you may use it freely and distribute it
provided no charge is made.
Bug reports: david@dacha.freeuk.com
###########################
end of !Help file.