safe.messaging.item.image module

InaSAFE Disaster risk assessment tool developed by AusAid - Paragraph.

Contact : ole.moller.nielsen@gmail.com

Note

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

class safe.messaging.item.image.Image(uri, text=None, **kwargs)[source]

Bases: safe.messaging.item.text.Text

A class to model emphasized text in the messaging system

to_html()[source]

Render as html.

to_text()[source]

Render as plain text.