The answer is yes. When it comes to unlocking PDFs, it doesn't matter whether the file includes text, images, or both at the same time, the result is the same. The same happens with the result's quality for both, images and texts.