![]() |
PNG headers - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Programming (https://mirage-engine.uk/forums/forumdisplay.php?fid=24) +----- Forum: Visual Basic 6 (https://mirage-engine.uk/forums/forumdisplay.php?fid=32) +----- Thread: PNG headers (/showthread.php?tid=3125) |
PNG headers - Robin - 07-09-2009 PNG's header is confusing. I want to grab the image's width + height for loading it in dx8 without having to know the size beforehand. Help? Re: PNG headers - Robin - 07-09-2009 Darryl hooked me up with a sexy header reader for jpg + png. Disregard this. Re: PNG headers - Robin - 07-09-2009 Here's the code if anyone wants it. Code: ' PNG Header data Code: Private Function GetPNGSize(ByVal filename As String) As PNGHeader Re: PNG headers - GIAKEN - 07-09-2009 Wow very nice... Re: PNG headers - xp79 - 09-09-2009 From what you said I imagened the code to be ALOT simpiler, Wow thats quite something ![]() |