content.setAttribute('image-type', type ? type : 'jpeg');
content.setAttribute('name', name);
content.setAttribute('type', 'GOPixbuf');
+ content.setAttribute('width', width);
+ content.setAttribute('height', height);
content.setAttribute('size-bytes',data.length);