Valve Texture Format (vtf) support

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

Post Reply
djcj
Posts: 60
Joined: Wed Jan 08, 2014 3:37 pm

Valve Texture Format (vtf) support

Post by djcj »

The Valve Texture Format (VTF) is the proprietary texture format used by the Source engine.
https://developer.valvesoftware.com/wik ... ure_Format

It would be convenient if XnViewMP could handle this too, so I don't need to view .vtf files in VTFEdit.
You could use the LGPL licensed VTFLib for decoding: http://nemesis.thewavelength.net/index.php?c=177#p177
It will need some work to compile on Mac and Linux though.

Update:

There's a Qt plugin for it depending on a Linux-compatible port: https://github.com/panzi/qvtf
Requiring -> https://github.com/panzi/VTFLib
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Valve Texture Format (vtf) support

Post by xnview »

do you have some vtf file examples?
Pierre.
djcj
Posts: 60
Joined: Wed Jan 08, 2014 3:37 pm

Re: Valve Texture Format (vtf) support

Post by djcj »

I've attached a vtf file and its png export for comparison.
Attachments
bm_logo.zip
(32.1 KiB) Downloaded 64 times
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Valve Texture Format (vtf) support

Post by xnview »

ok, thanks XnView Classic support already VTF format, i'll add the support in XnView MP too
Pierre.
viKey
Posts: 7
Joined: Fri Apr 20, 2018 6:45 am

Re: Valve Texture Format (vtf) support

Post by viKey »

Support animation, like a gif, if it possible. And information of compress and flags, please.
Post Reply