steganography example: minor change

This commit is contained in:
rolux 2012-07-03 18:19:37 +02:00
parent 0d3119d6f9
commit f3334c13cf

View file

@ -90,9 +90,7 @@ Ox.load('Image', function() {
Ox.Image(src, function(image) {
result(Ox.$('<img>').attr({src: src}));
status('Decode the least significant bits of vietnam.png');
image.decode(false, 1, function(str) {
result(str);
});
image.decode(false, 1, result);
});
});
});