Issue Description:
overwolf.media.getScreenshotUrl
does not work for Tower of Fantaisy
Callback results is {"success":false,"status":"error","error":"Capture failed"}
Can you reproduce it (exact steps to reproduce):
Open Tower of Fantaisy and try this code snippet :
const { width } = await OWGames.getRunningGameInfo();
const equipmentWindowWidth = Math.floor(width * 0.27);
const equipmentWindowHeight = Math.floor(equipmentWindowWidth / 0.661);
overwolf.media.getScreenshotUrl({
roundAwayFromZero: true,
crop: {
x: (width / 2) - (equipmentWindowWidth / 2),
y: width * 0.05,
width: equipmentWindowWidth,
height: equipmentWindowHeight,
},
rescale: {
width: equipmentWindowWidth,
height: equipmentWindowHeight,
},
}, (result) => {
console.log(result);
});
Impact for my app: blocks the app development
Do you currently have a workaround?
→ No, not yet