Skip to content

Commit

Permalink
update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SunLn committed Feb 27, 2014
1 parent 1a0b383 commit 05d8ae8
Showing 1 changed file with 0 additions and 82 deletions.
82 changes: 0 additions & 82 deletions example/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,88 +49,6 @@ var Q = new Qiniu({
}
});

// console.log(Q.imageInfo('x.jpg'));
// console.log(Q.watermark({
// mode: 1,
// image: 'http://www.b1.qiniudn.com/images/logo-2.png',
// dissolve: 50,
// gravity: 'SouthWest',
// dx: 100,
// dy: 100
// }, 'x.jpg'));
// console.log(Q.imageMogr2({
// // mageMogr2/auto-orient
// // /thumbnail/<imageSizeGeometry>
// // /strip
// // /gravity/<gravityType>
// // /crop/<imageSizeAndOffsetGeometry>
// // /quality/<imageQuality>
// // /rotate/<rotateDegree>
// // /format/<destinationImageFormat>
// 'auto-orient': true,
// 'strip': true,
// 'thumbnail': '1000x1000',
// 'crop': '!300x400a10a10',
// 'quality': 40,
// 'rotate': 20,
// 'format': 'png'
// }, 'x.jpg'));
// console.log(Q.watermark({

// mode: 2,
// text: 'http://www.b1.qiniudn.com/images/logo-2.png',
// dissolve: 50,
// gravity: 'SouthWest',
// fontsize: 500,
// dx: 100,
// dy: 100,
// fill: '#FFF000'
// }, 'x.jpg'));

// console.log(Q.pipeline([{
// fop: 'imageView2',
// mode: 2,
// w: 1000,
// text: 'http://www.b1.qiniudn.com/images/logo-2.png',
// dissolve: 50,
// gravity: 'SouthWest',
// fontsize: 500,
// dx: 100,
// dy: 100,
// fill: '#FFF000'
// }, {
// fop: 'watermark',
// mode: 1,
// image: 'http://www.b1.qiniudn.com/images/logo-2.png',
// dissolve: 50,
// gravity: 'SouthWest',
// dx: 100,
// dy: 100
// }], 'x.jpg'));


// console.log(Q.pipeline([{
// fop: 'watermark',
// mode: 2,
// text: 'http://www.b1.qiniudn.com/images/logo-2.png',
// dissolve: 50,
// gravity: 'SouthWest',
// fontsize: 500,
// dx: 100,
// dy: 100,
// fill: '#FFF000'
// }, {
// fop: 'imageView2',
// mode: 2,
// w: 1000,
// image: 'http://www.b1.qiniudn.com/images/logo-2.png',
// dissolve: 50,
// gravity: 'SouthWest',
// dx: 100,
// dy: 100
// }], 'x.jpg'));


$(function() {
$('#container').on(
'dragenter',
Expand Down

0 comments on commit 05d8ae8

Please sign in to comment.