I use readPixel to share Texture from model-viewer to material-viewer. When I share a texture who is download from a .dds file, chrome throw a warning and the numbers of array are all zero.
Unfortunately if the DDS is compressed you will have to first copy it to an uncompressed texture format (using a render to texture) and then readpixels from the new texture