Tk Source Code

Check-in [9e2556d9]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add some more info about the svgnano format in the photo.n man page
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | tip-507
Files: files | file ages | folders
SHA3-256: 9e2556d9161253e4434b778fc8d62e7959ec079ed582824be39d9e19e1d3e848
User & Date: fvogel 2018-09-22 14:38:42.971
Context
2018-12-03
19:06
New files from RenĂ© Zaumseil check-in: d538d557 user: fvogel tags: tip-507
2018-09-22
14:38
Add some more info about the svgnano format in the photo.n man page check-in: 9e2556d9 user: fvogel tags: tip-507
2018-09-06
07:56
Make photo.n compile to html again by fixing syntax errors. Also, reword a bit the documentation for the svgnano format. check-in: 263135f2 user: fvogel tags: tip-507
Changes
Unified Diff Ignore Whitespace Patch
Changes to doc/photo.n.
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571




572
573
574
575
576
577
578
.
\fIdpiValue\fR is used in conversion between given coordinates and
screen resolution. The value must be greater than 0 and the default
value is 96.
\fIscaleValue\fR is used to scale the resulting image. The value must
be greater than 0 and the default value is 1.
\fIunitValue\fR is the unit of all coordinates in the SVG data.
Available units are px (default, coordinates in pixel), mm , cm and
in.
\fIxValue\fR and \fIyValue\fR are used to move the created image
respectively in x-direction and y-direction. The default value is 0
for both.
.
The svgnano format supports a wide range of SVG features, but the
full SVG standard is not available, for instance the 'text' feature
is missing.




.VE 8.6
.VS 8.7
.SH "COLOR FORMATS"
.PP
The default image handler can represent/parse color and alpha values
of a pixel in one of the formats listed below. If a color format does
not contain transparency information, full opacity is assumed.  The







|
|







>
>
>
>







556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
.
\fIdpiValue\fR is used in conversion between given coordinates and
screen resolution. The value must be greater than 0 and the default
value is 96.
\fIscaleValue\fR is used to scale the resulting image. The value must
be greater than 0 and the default value is 1.
\fIunitValue\fR is the unit of all coordinates in the SVG data.
Available units are px (default, coordinates in pixel), pt (1/72 inch),
pc (12 pt), mm , cm and in.
\fIxValue\fR and \fIyValue\fR are used to move the created image
respectively in x-direction and y-direction. The default value is 0
for both.
.
The svgnano format supports a wide range of SVG features, but the
full SVG standard is not available, for instance the 'text' feature
is missing.
.
Currently only SVG images reading and conversion into (pixel-based
format) photos is supported: Tk does not (yet) support bundling photo
images in SVG vector graphics.
.VE 8.6
.VS 8.7
.SH "COLOR FORMATS"
.PP
The default image handler can represent/parse color and alpha values
of a pixel in one of the formats listed below. If a color format does
not contain transparency information, full opacity is assumed.  The