Actually, the code you've posted does not actually work properly with ADE. What you need to do is replace 800 and 600 with the actual dimensions of the cover graphic then it will work properly. Otherwise, you don't get the correct aspect ratio. It's a bug in ADE and Calibre does this to handle the ADE bug.
|