Yes, we can later support images. However, you will need a write_pixel procedure. My glcd_draw_image() procedure will print images in a different bit direction then yours. I have a sample image in 18f4620_glcd_touch_stm032qvt-003. It uses bit direction TOP_LEFT_HORIZONTAL, first bit is at top left corner of image, then draws horizontally, then loops down to next line and draws horizontally again.
Matt. On Feb 24, 2:00 am, Sebastien Lelong <[email protected]> wrote: > Maybe we could later support image format like PBM, PGM and PPM. It's quite > close to what we already have, when encoding is binary > > http://en.wikipedia.org/wiki/Portable_pixmap > > cheers, > Seb > > 2011/2/24 Sebastien Lelong <[email protected]> > > > > > OK, there's already a glcd_draw_image(), I'll have a look ! > > > Cheers, > > Seb > > > 2011/2/24 Sebastien Lelong <[email protected]> > > >> Hi again, > > >> Original Nokia library has a graphic_to_nokia() procedure, which takes an > >> array representing a picture, and print it to the display. I'd like to keep > >> this one too. It's like printing a full font table, it can be usefull to > >> display a splashscreen or a picture frame on which you'll print chars. This > >> could be part of common API. > > >> What's your opinion ? > > >> Cheers, > >> Seb > > >> 2011/2/24 Sebastien Lelong <[email protected]> > > >> 2011/2/23 mattschinkel <[email protected]> > > >>> > Can you confirm FONT_BIT_DIRECTION feature isn't implemented yet ? I > >>>> can't > >>>> > find anything related to its usage. > > >>>> It is not, but please consider that it is. I intend to ues this, > >>>> unless there is a better idea. I can currently only use 8x12 font, > >>>> untill I modify my font drawing proc do read FONT_BIT_DIRECTION and > >>>> decide how to print it. > > >>> I've no doubts if can be useful, but I'm not going to consider this > >>> feature implemented, because it would need I'd have to adapt nokia 3310 > >>> code > >>> to implement it :) > > >>> Seb > > >> -- > >> Sébastien Lelong > >>http://www.sirloon.net > >>http://sirbot.org > > > -- > > Sébastien Lelong > >http://www.sirloon.net > >http://sirbot.org > > -- > Sébastien Lelonghttp://www.sirloon.nethttp://sirbot.org -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
