Dear friends the follow code gpf just replace the imagem.jpg with any other image file name
cImg := MemoRead("imagem.jpg") nBytes := len(cImg) cZip := HB_Compress(cImg) cConteudo := HB_Uncompress( nBytes, cZip ) Regards Luiz ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers