flat assembler
Message board for the users of flat assembler.

Index > Windows > how to display tga?

Author
Thread Post new topic Reply to topic
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav
does anybody have working source code for showing tga files? thanks

ps. asm or c

_________________
[not enough memory]
Post 15 Nov 2005, 14:38
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
here are some targa (TGA) specifications:
http://www.wotsit.org/download.asp?f=tga
http://www.wotsit.org/download.asp?f=tga2

as i know TGA should be easy to use
Post 15 Nov 2005, 14:57
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2141
Location: Estonia
Madis731
I think this: http://board.flatassembler.net/topic.php?t=2265 was a fun tread Very Happy . That goes to why-not section Wink
Post 15 Nov 2005, 20:07
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1137
Location: Russian Federation
comrade
i have made tgaview in masm32, maybe it will be helpful
note: it only loads uncompressed tgas


Description: masm tga viewer
Download
Filename: tgaview.zip
Filesize: 9.32 KB
Downloaded: 70 Time(s)


_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 15 Nov 2005, 22:38
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav
thanks to all

ps. comrade64.cjb.net is an official homepage of Shakira?
Post 16 Nov 2005, 07:05
View user's profile Send private message Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav
comrade, found little error in the source code, here:

Code:
mov     [bmi.bmiHeader.biHeight], ecx
    


must be

Code:
push ecx
neg ecx
mov     [bmi.bmiHeader.biHeight], ecx
pop ecx
    


ps. that is why picture showing upside-down
Post 16 Nov 2005, 19:17
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
Post 17 Nov 2005, 20:49
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.