DENERIK,
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<style>
img {
opacity: 0.3;
}
</style>
</head>
<body>
<img src="http://img.vz.ru/upimg/p_7/p_754207.jpg" id="img" >
<script>
var img = document.getElementById('img');
alert(window.getComputedStyle(img).opacity);
</script>
</body>
</html>