RML Example 33: Images
RML Example 33: Images
RML (Report Markup Language) is ReportLab's own language for specifying the appearance of a printed page, which is converted into PDF by the utility rml2pdf.
These RML samples showcase techniques and features for generating various types of ouput and are distributed within our commercial package as test cases. Each should be self explanatory and stand alone.
Image Functionality
This tries out missing images; the default image is "testing.gif"
file="bad_internet_access.pdf" alt_file="replogo.gif" required="true" (implied)
file="bad_internet_access.pdf" alt_file="" required="no"
file="bad_internet_access.pdf" alt_file not specified required="yes"
file="bad_replogo.gif" alt_file="replogo.pdf" not specified required="yes"
Now I will try and clip the silly image to something strange.
10 100 75 180 140 200 140 100
10 100 75 180 140 200 140 100