Hi, Scribble doesn't correctly render scaled bitmaps when the scale produces ratios in the width or height of the pict.
The following scribble program: #lang scribble/base @(require pict) @(bitmap "foo.jpg") generates an html file that includes: <img style="vertical-align: 0px; margin: -3px -3px -3px -3px;" src="pict.png" alt="image" width="1587" height="977"/> However, the following scribble program that scales the image: #lang scribble/base @(require pict) @(scale-to-fit (bitmap "foo.jpg") 1024 1024) generates an html that includes: <img style="vertical-align: 0px; margin: -3px -3px -3px -3px;" src="pict.png" alt="image" width="1030" height="1003790/1581"/> Note the fraction, which Chrome does not parse correctly. The result is as an incredibly stretched image. Best, António.
_________________________ Racket Developers list: http://lists.racket-lang.org/dev