Suggestion: Insert picture files (PNG,JPG,or BMP) for illustration purpose

11 views
Skip to first unread message

syont

unread,
Nov 9, 2011, 1:23:41 AM11/9/11
to Reinteract
Many engineering calculation sheet (reuse) need to display ilustration
figures to clarify. It would be useful features when Reinteract have
capability to insert pictures (PNG,JPG, EMF, or BMP) for illustration
purpose.

Thanx you,

Robert Schroll

unread,
Nov 9, 2011, 11:31:29 AM11/9/11
to reint...@googlegroups.com

For basic display of images, check out the reimage extension:
http://taschenorakel.de/mathias/2007/11/11/playing-reinteract/. This
doesn't support printing, but adding that shouldn't be too bad if you
know a bit of cairo. (I'm afraid this isn't well explained anywhere
other than the source. But if you look at the replot extension, for
example, you can figure out what's needed.) Alternatively, you could
use the imshow function provided by either replot or refigure2. These
have printing support, but you'll get axes with your image by default.
You should be able to turn them off, but you'll probably need some
experience with matplotlib to figure it out. (If you're trying this and
it's not working, feel free to ask a follow-up question.)

Hope that helps,
Robert

syont

unread,
Nov 11, 2011, 2:09:50 AM11/11/11
to Reinteract
Cairo with python inside Reinteract, look promised and interested
since it's a vector graphics with coordinate definition of point and
line.

replot/matplotlib with imshow commands, i'll try this next time after
i successfully install latest version with printing support.

thanx you,

-syont
Reply all
Reply to author
Forward
0 new messages