In a separate paragraph, default (left):
In a separate paragraph, center:
In a separate paragraph, right:
Currently only GIFs (above) support transparency.
A PNG (with alphachannel) below:
Maximum specifications: 472x595 pixels, 16-bit color, 8-bit grayscale. Note that the REB1200 display only supports 15-bit color.
Fileformat: can be PNG or JPG, but the source filesize (JPGs tend to be smaller than the non-lossy PNGs) is not reflected in the final filesize (see below). Note that JPGs take longer to be processed, probably being internally converted to PNGs anyway.
Preferences are defined in the OPF file. The most important setting for files with a lot of images is the 'RLE-trigger' setting. I did a number of tests with very large (20-30Mb) 'photo albums', without coming to a definite conclusion.
My best shot: it really seems to be a trigger, i.e. there is a 'compressed state' and an 'uncompressed state', either one of which will be similar in filesize (a few Kb difference for a 30Mb file) regardless of differing RLE-trigger settings. A setting of '25' always generates an uncompressed file, while a setting greater than 100 always generates a compressed file.
I noticed that when 16-bit color images were converted to 8-bit color (256 color, 'paletted mode'), the resulting filesize was fairly similar (a bit less though), but the display-speed on the REB1200 was noticeably faster. Grayscale yielded noticeably better compression results (2/3 of the uncompressed version) than all-color images (4/5 - 3/4 at best).
If GIF files are used in the source, SBpublisher will create a 'OEB-Fallbacks' directory in the source folder, with a PNG version (with unique ID) of each GIF everytime you run it, i.e. you end up with a directory full of copies of the same file if you do frequent test-compilations.
Note that in the OPF file, the "spine" part must NOT contain an ID referring to an image resource (causing a fatal error in SBpublisher, which took me a while to figure out).
The 'object type="image/png"' syntax is supported, but in context not very useful, and just means more typing.
(Using "class=FullPagePicture") Note the banding, which suggests severe color-reduction of the true-color original. The default OPF setting used for this file generates an uncompressed file (max. filesize) It is more noticeable on the PC viewer than the actual device, especially in grayscale.
This version was color-reduced at the source. In this case, the result looks better than the generated version. I have also tried it on graphics rather than photos, and sometimes the generated version looked better.
It seems though, for all practical intents and purposes, that the result is essentially 256 color out of ~16000 (15-bit). It is unclear whether that is due to REB1200 display limitations, or the SBpublisher image-generating code.
Random test text designed to test the flow around an object. I think we need a some more test to make sure of the way the flow continues below the object. Hmm, we need just a more still, but I really hope that by adding another line it should most definetely be enough.
Random test text designed to test the flow around an object. I think we need a little more test to make sure of the way the flow continues below the object. Hmm, we need just a little more still, but I really hope that by adding another line it should most definetely be enough.
Random test text designed to test the flow around an object. I think we need a little more test to make sure of the way the flow continues below the object. Hmm, we need just a little more still, but I really hope that by adding another line it should most definetely be enough.
Random test text designed to test the flow around an object. I think we need a little more test to make sure of the way the flow continues below the object. Hmm, we need just a little more still, but I really hope that by adding another line it should most definetely be enough.
Random test text designed to test the flow around an object. I think we need a little more test to make sure of the way the flow continues below the object. Hmm, we need just a little more still, but I really hope that by adding another line it should most definetely be enough.
Random test text designed to test the flow around an object. I think we need a little more test to make sure of the way the flow continues below the object. Hmm, we need just a little more still, but I really hope that by adding another line it should most definetely be enough.
Note the difference from one without the 'empty' paragraph.
Using tables, handy for split images as a replacement for the missing image-map functionality.
![]() | ![]() |
![]() | ![]() |
Defining a color by it's RGB value is not supported, instead use it's hexadecimal value. You can only use it's name when using 'style="color:black"', but not when simply using 'color="black"'.
If you use 'bgcolor' in the 'body' tag of ANY ONE of several linked documents, the ENTIRE resulting document will be that color. See more on on 'bgcolor' below.
The 'style="background-color: xxx; color: xxx"' seems to always work, and is recommended over 'bgcolor'.
In a regular paragraph, you can only define the text color, but not the background color. Either you define one background color for the entire document (see above), or you 'fake' text background color by wrapping it all in a table (see next).
The 'bgcolor' attribute works only in 'td' and 'th' (and 'body').
The 'tr' tag doesn't seem to accept any color attribute.
eBook Reader Devices | ||
---|---|---|
Year | Device | Video Spec |
2000 | REB1200 | 480x640 15bit |
REB1100 | 320x480 1bit | |
2002 | New Palm Zire | 160x160 1bit |
FFF |
CCC |
999 |
666 |
333 |
000 |
FFC |
FF9 |
FF6 |
FF3 |
||||||
99C |
CC9 |
FFC |
FFC |
FF9 |
FF6 |
CC3 |
CC0 |
||||||||
CCF |
CCF |
333 |
666 |
999 |
CCC |
FFF |
CC9 |
CC6 |
330 |
660 |
990 |
CC0 |
FF0 |
FF3 |
FF0 |
99F |
CCF |
99C |
666 |
999 |
CCC |
FFF |
996 |
993 |
663 |
993 |
CC3 |
FF3 |
CC3 |
FF6 |
FF0 |
66F |
99F |
66C |
669 |
999 |
CCC |
FFF |
996 |
663 |
996 |
CC6 |
FF6 |
990 |
CC3 |
FF6 |
FF0 |
33F |
66F |
339 |
66C |
99F |
CCC |
FFF |
CC9 |
CC6 |
CC9 |
FF9 |
FF3 |
CC0 |
990 |
FF3 |
FF0 |
00C |
33C |
336 |
669 |
99C |
CCF |
FFF |
FFC |
FF9 |
FFC |
FF9 |
CC6 |
993 |
660 |
CC0 |
330 |
33C |
66C |
00F |
33F |
66F |
99F |
CCF |
CC9 |
996 |
993 |
990 |
663 |
660 |
|||
006 |
336 |
009 |
339 |
669 |
99C |
FFC |
FF9 |
FF6 |
FF3 |
FF0 |
CC6 |
CC3 |
|||
003 |
00C |
006 |
339 |
66C |
99F |
CCF |
339 |
99C |
CCC |
CC9 |
996 |
663 |
330 |
990 |
CC0 |
00F |
33F |
009 |
00C |
33F |
99F |
99C |
006 |
669 |
999 |
999 |
993 |
660 |
660 |
CC3 |
CC0 |
00F |
66F |
33C |
009 |
66F |
66C |
669 |
003 |
336 |
666 |
666 |
666 |
330 |
993 |
CC6 |
990 |
00F |
66F |
33C |
33F |
33C |
339 |
336 |
006 |
003 |
333 |
333 |
333 |
333 |
663 |
996 |
660 |
00F |
33F |
00F |
00C |
009 |
006 |
003 |
339 |
336 |
000 |
000 |
000 |
000 |
000 |
663 |
330 |
00C |
009 |
33C |
66C |
669 |
336 |
003 |
330 |
||||||||
00C |
009 |
006 |
003 |
This concludes the Graphics chapter.