# PVRTexTool versus PVRTexLib - mip-map count

**URL:** <https://forums.imgtec.com/t/pvrtextool-versus-pvrtexlib-mip-map-count/857>\
**Category:** PowerVR Insider\
**Tags:** pvrtextool\
**Created:** [October 8, 2010, 7:59pm UTC](https://forums.imgtec.com/t/pvrtextool-versus-pvrtexlib-mip-map-count/857 "2010-10-08T19:59:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![koro666](https://avatars.discourse-cdn.com/v4/letter/k/ee7513/32.png) [@koro666](https://forums.imgtec.com/u/koro666)\
**Post date:** [October 8, 2010, 7:59pm UTC](https://forums.imgtec.com/t/pvrtextool-versus-pvrtexlib-mip-map-count/857/1 "2010-10-08T19:59:50Z")

</div>

Hi,  
  
Using PVRTexLib, it is possible to specify the number of mip-map levels when compressing a texture to PVR using CPVRTextureHeader::setMipMapCount. However, using the PVRTexTool.exe utility, I have not found the right parameter to be able to specify it. It seems to be either on (-m) or off.  
  
Is there a way to specify it, and if there isn’t, will that be added in the future?  
  
Thanks.

---

<div class="post-metadata">

**Author:** ![GordonMaclachlan](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@GordonMaclachlan](https://forums.imgtec.com/u/GordonMaclachlan)\
**Post date:** [October 11, 2010, 8:31am UTC](https://forums.imgtec.com/t/pvrtextool-versus-pvrtexlib-mip-map-count/857/2 "2010-10-11T08:31:57Z")

</div>

This functionality is not available in the command line version of PVRTexTool at the moment. It wouldn’t be difficult to add so we may consider it for the future.  
  
Note: that OpenGL ES doesn’t allow partial mipmap chains.
