This is a bit of a follow-on from my old-world screenshot post a few days ago. I was unhappy with the quality of many of the images I’d taken – I was getting horrible JPEG artefacts, especially in images with subtle shading such as sky, water and so on.
Back in the early days of Vanilla, Warcraft used to capture and store screenshots in the lossless TARGA (or TGA) format. Nowadays they’re stored using JPEG encoding – a lossy compression algorithm that can have a huge impact on your screenshots. I’d been wondering if there was a way of improving the quality of JPEG quality screenshots, or even getting back to the TGA format previously used.
A bit of searching revealed an old WoW Insider blogpost from some 3 years ago, containing a set of instructions on how to control screenshot quality. It turns out that there are two simple commands that you can use in-game to get rich, detailed screenshots switched back on.
The first of these commands controls if JPEG or TGA format is used. The default is JPG.
/console screenshotFormat JPG
Simply swap JPG to TGA to enable TARGA screenshot mode.
The second command allows you to control the screenshot quality. As standard this is set at 3. A quality setting of 1 reduces the filesize of the screenshot at the cost of quality. A setting of 10 provides the best quality, but creates larger files.
/console screenshotQuality 10
As I mentioned before, JPEG compression tends to have it’s largest impact on areas that have either subtle shading or solid tones. But where do these crop up in your average Warcraft screenshot?
This scene of Dalaran was originally taken at 1680×1050, on Ultra detail settings. It was then reduced down to its current size in an image editor. By focusing in on the left hand side of the horizon, it’s possible to see the impact of the various quality settings.
These segments are shown at full size, and clearly demonstrate the effect of quality settings. The mountains in the far background develop bands of noise. The midground mountain on the left is almost lost in the noise on lower quality settings.
Next up, a sky test. This one’s a bit more difficult to make out as the aurora keeps moving around, but the principle is the same. For this example, we’ll be focusing on the area around the left edge of the right-hand pillar.
This set of examples shows the colours banding across the sky, banding where the auroras become visible. If you look closely, you can also see noise where the background mountain meets the sky. Both of these issues are largely removed at the highest quality settings.
Getting good quality screenshots by ramping up these settings means you’re going to be creating larger files. A typical screenshot at standard settings (JPG quality 3) will weigh in at around 200kb. Bump that up to quality 10 and the images will be around 1.3Mb in size. Swap to TARGA and that goes up to around 3.5MB each. Sizes will vary depending on how complex the image is and your screen resolution.
So if you’re the type of person that likes to hammer the screenshot button, you might want to be careful about changing those settings. If on the other hand you want to take the perfect pictures to show off to your guildmates then tweak the settings upwards!
There are currently no addons that I know of that allow you to dynamically control screenshot quality and format. If you know of one or even decide to write one then please let me know!