# PVRTC2 decompression on Windows

**URL:** <https://forums.imgtec.com/t/pvrtc2-decompression-on-windows/2137>\
**Category:** PowerVR Insider\
**Tags:** pvrtextool\
**Created:** [August 4, 2014, 4:15pm UTC](https://forums.imgtec.com/t/pvrtc2-decompression-on-windows/2137 "2014-08-04T16:15:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anikethvenkat](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@anikethvenkat](https://forums.imgtec.com/u/anikethvenkat)\
**Post date:** [August 4, 2014, 4:15pm UTC](https://forums.imgtec.com/t/pvrtc2-decompression-on-windows/2137/1 "2014-08-04T16:15:44Z")

</div>

Hi,  
  
  
  
Is PVRTC Version 2 decompression supported by PVRTDecompressPVRTC (SDK\_3.3\_R2Tools PVRTDecompress.cpp)?  
  
The api works perfectly fine with PVRTC Version 1 compressed images (both 2 & 4 bpp). However, it seems to have some problem with PVRTC2 (both 2 & 4 bpp).  
  
  
  
Any suggestions/help is appreciated. 🙂  
  
  
  
Thanks,  
  
Aniketh

---

<div class="post-metadata">

**Author:** ![JoeDavis](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/joedavis/32/71_2.png) [@JoeDavis](https://forums.imgtec.com/u/JoeDavis)\
**Post date:** [August 8, 2014, 1:54pm UTC](https://forums.imgtec.com/t/pvrtc2-decompression-on-windows/2137/2 "2014-08-08T13:54:31Z")

</div>

Hi Aniketh,  
  
  
  
Apologies that this post hasn’t been answered yet. I’m not familiar with that particular part of our tools. Skimming through the code and the check in messages for it though, I suspect it’s PVRTC 1 decompression only.  
  
  
  
The engineer responsible for this code is out of office this week. Once he’s back, I will ask him to follow up with you.  
  
  
  
Thanks,  
  
Joe

---

<div class="post-metadata">

**Author:** ![tobias](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@tobias](https://forums.imgtec.com/u/tobias)\
**Post date:** [August 11, 2014, 8:00am UTC](https://forums.imgtec.com/t/pvrtc2-decompression-on-windows/2137/3 "2014-08-11T08:00:02Z")

</div>

Hi Aniketh,  
  
  
  
As Joe suspected, this function does not handle PVRTC2 decompression, only PVRTC1 is supported. We currently have no public PVRTC2 decompression code.  
  
  
  
Regards,  
  
Tobias

---

<div class="post-metadata">

**Author:** ![moritzgerl-2](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@moritzgerl-2](https://forums.imgtec.com/u/moritzgerl-2)\
**Post date:** [November 10, 2014, 2:56pm UTC](https://forums.imgtec.com/t/pvrtc2-decompression-on-windows/2137/4 "2014-11-10T14:56:08Z")

</div>

You can use the PvrTexLib to decompress PVRTC2. You can make use of the pvrtexture::Transcode function provided by the lib. See page 44 of the PVRTexTool.User Manual.pdf.
