FBA The Creator

The True Multiplatform PC / PocketPC Opensource Development Tool - Read Only Mode - Kept only for historical purposes - Thank you all ;)
It is currently Thu Jun 04, 2026 2:43 am

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Mar 01, 2009 10:04 pm 
Offline

Joined: Mon Feb 09, 2009 6:56 pm
Posts: 14
If I write a c++ dll that downloads an image from the internet and writes it into the FBA program directory, is it possible for FBA to read this image as an
external resource perhaps and display it on the screen?

Thanks.


Top
   
PostPosted: Mon Mar 02, 2009 8:30 am 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
ckl_88 wrote:
If I write a c++ dll that downloads an image from the internet and writes it into the FBA program directory, is it possible for FBA to read this image as an
external resource perhaps and display it on the screen?

Thanks.


Actually is not possible, because FBA imports PNG/JPG images and then repack them using an internal compressed format.


Top
   
PostPosted: Sun Sep 27, 2009 9:39 pm 
Offline

Joined: Sat Feb 14, 2009 1:10 pm
Posts: 7
Opening External images posible and not only PNG and JPG. If you want to use your c++ dll for GETing then you'll need decoding script to convert readed data from ext.binary, in to width, height, and data(pixels) according to mask of image format. Advantage of this is ability to use not only PNG and JPG images but allso BMP, ICO, PCX, GIF, and any other that you may need.
But you can use Fba's TCP or UDP sockets to download images from internet dirrectly to your app and inside of it, image code should be decoded. And internal sockets is not so hard as it seems from first look, I even used TCP in project to download protocols of other program via net, and UDP in my FbaGame for multiplayer (with PING and all other cool stuff... :mrgreen:).
Be Well.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited