diff --git a/src/cloudinary/cloudinary.ts b/src/cloudinary/cloudinary.ts index b8d9295..6e40d2d 100644 --- a/src/cloudinary/cloudinary.ts +++ b/src/cloudinary/cloudinary.ts @@ -106,7 +106,7 @@ module Cloudinary { manipulation.push('w_' + imageWidth); manipulation.push('fl_lossy'); manipulation.push('f_auto'); - manipulation.push('q_82'); + manipulation.push('q_auto'); manipulation.push('dpr_1.0'); src += '/' + manipulation.join(','); @@ -150,9 +150,10 @@ module Cloudinary { manipulation = []; manipulation.push('w_' + width); + manipulation.push('fl_lossy'); manipulation.push('f_auto'); - manipulation.push('q_82'); + manipulation.push('q_auto'); manipulation.push('dpr_1.0'); src += '/' + manipulation.join(','); diff --git a/test/cloudinary.spec.js b/test/cloudinary.spec.js index 37b4c93..3f3f640 100644 --- a/test/cloudinary.spec.js +++ b/test/cloudinary.spec.js @@ -43,7 +43,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/upload/' + - 'w_840,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_840,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_840,h_431,c_mpad/' + 'w_700,h_392,x_35,y_39,c_crop/' + 'mockUpload/image.png'); @@ -59,7 +59,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/upload/' + - 'w_630,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_630,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_1050,h_840,c_mpad/' + 'w_700,h_438,x_0,y_44,c_crop/' + 'mockUpload/image.png'); @@ -75,7 +75,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/upload/' + - 'w_840,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_840,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_840,h_1120,c_mpad/' + 'w_700,h_438,x_35,y_44,c_crop/' + 'mockUpload/image.png'); @@ -91,7 +91,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/upload/' + - 'w_840,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_840,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_980,h_1120,c_mpad/' + 'w_700,h_438,x_280,y_22,c_crop/' + 'mockUpload/image.png'); @@ -107,7 +107,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/upload/' + - 'w_490,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_490,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_770,h_1120,c_mpad/' + 'w_700,h_438,x_70,y_44,c_crop/' + 'mockUpload/image.png'); @@ -123,7 +123,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/upload/' + - 'w_490,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_490,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_770,h_1120,c_mpad/' + 'w_700,h_438,x_0,y_44,c_crop/' + 'mockUpload/image.png'); @@ -139,7 +139,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/upload/' + - 'w_840,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_840,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_840,h_892,c_mpad/' + 'w_700,h_438,x_70,y_0,c_crop/' + 'mockUpload/image.png'); @@ -155,7 +155,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/upload/' + - 'w_1120,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_1120,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_1120,h_648,c_mpad/' + 'w_700,h_438,x_35,y_210,c_crop/' + 'mockUpload/image.png'); @@ -171,7 +171,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/upload/' + - 'w_1120,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_1120,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_1120,h_490,c_mpad/' + 'w_700,h_438,x_70,y_0,c_crop/' + 'mockUpload/image.png'); @@ -187,7 +187,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/upload/' + - 'w_1120,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_1120,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_1120,h_648,c_mpad/' + 'w_700,h_438,x_70,y_210,c_crop/' + 'mockUpload/image.png'); @@ -212,7 +212,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/fetch/' + - 'w_840,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_840,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_840,h_431,c_mpad/' + 'w_700,h_392,x_35,y_39,c_crop/' + 'http%3A%2F%2Fplacehold.it%2F700x700'); @@ -228,7 +228,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/fetch/' + - 'w_630,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_630,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_1050,h_840,c_mpad/' + 'w_700,h_438,x_0,y_44,c_crop/' + 'http%3A%2F%2Fplacehold.it%2F700x700'); @@ -244,7 +244,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/fetch/' + - 'w_840,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_840,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_840,h_1120,c_mpad/' + 'w_700,h_438,x_35,y_44,c_crop/' + 'http%3A%2F%2Fplacehold.it%2F700x700'); @@ -260,7 +260,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/fetch/' + - 'w_840,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_840,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_980,h_1120,c_mpad/' + 'w_700,h_438,x_280,y_22,c_crop/' + 'http%3A%2F%2Fplacehold.it%2F700x700'); @@ -276,7 +276,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/fetch/' + - 'w_490,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_490,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_770,h_1120,c_mpad/' + 'w_700,h_438,x_70,y_44,c_crop/' + 'http%3A%2F%2Fplacehold.it%2F700x700'); @@ -292,7 +292,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/fetch/' + - 'w_490,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_490,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_770,h_1120,c_mpad/' + 'w_700,h_438,x_0,y_44,c_crop/' + 'http%3A%2F%2Fplacehold.it%2F700x700'); @@ -308,7 +308,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/fetch/' + - 'w_840,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_840,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_840,h_892,c_mpad/' + 'w_700,h_438,x_70,y_0,c_crop/' + 'http%3A%2F%2Fplacehold.it%2F700x700'); @@ -324,7 +324,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/fetch/' + - 'w_1120,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_1120,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_1120,h_648,c_mpad/' + 'w_700,h_438,x_35,y_210,c_crop/' + 'http%3A%2F%2Fplacehold.it%2F700x700'); @@ -340,7 +340,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/fetch/' + - 'w_1120,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_1120,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_1120,h_490,c_mpad/' + 'w_700,h_438,x_70,y_0,c_crop/' + 'http%3A%2F%2Fplacehold.it%2F700x700'); @@ -356,7 +356,7 @@ describe('[Cloudinary]', function() { }); expect(imageUrl).to.eq('mockDomain/mockAccount/image/fetch/' + - 'w_1120,fl_lossy,f_auto,q_82,dpr_1.0/' + + 'w_1120,fl_lossy,f_auto,q_auto,dpr_1.0/' + 'w_1120,h_648,c_mpad/' + 'w_700,h_438,x_70,y_210,c_crop/' + 'http%3A%2F%2Fplacehold.it%2F700x700'); diff --git a/util.js b/util.js index e95faf4..540bc43 100644 --- a/util.js +++ b/util.js @@ -118,7 +118,7 @@ var Cloudinary; manipulation.push('w_' + imageWidth); manipulation.push('fl_lossy'); manipulation.push('f_auto'); - manipulation.push('q_82'); + manipulation.push('q_auto'); manipulation.push('dpr_1.0'); src += '/' + manipulation.join(','); // add image padding if exists @@ -155,8 +155,9 @@ var Cloudinary; var manipulation; manipulation = []; manipulation.push('w_' + width); + manipulation.push('fl_lossy'); manipulation.push('f_auto'); - manipulation.push('q_82'); + manipulation.push('q_auto'); manipulation.push('dpr_1.0'); src += '/' + manipulation.join(','); if (filepath.indexOf('http') === -1) { diff --git a/util.js.map b/util.js.map index 8459c42..cd2921b 100644 --- a/util.js.map +++ b/util.js.map @@ -1 +1 @@ -{"version":3,"sources":["header.ts","export.ts","cloudinary/cloudinary.ts","test/test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;ACAH;IAAA;IAkBA,CAAC;IAjBQ,cAAO,GAAd,UAAe,IAAI,EAAE,OAAO;QAC1B,EAAE,CAAC,CAAC,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC;YACjE,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC;QACjC,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,OAAO,OAAO,KAAK,QAAQ,CAAC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C,CAAC,CAAC;YAChC,MAAM,CAAC,CAAC,KAAK,CAAC;QAChB,CAAC;QAED,sBAAsB;QACtB,oCAAoC;QACpC,EAAE,CAAC,CAAC,KAAK,IAAI,UAAU,CAAC,CAAC,CAAC;YACxB,MAAM,CAAC,CAAC,CAAC;QACX,CAAC;QAED,qBAAqB;QACrB,mCAAmC;QACnC,EAAE,CAAC,CAAC,UAAU,GAAG,KAAK,CAAC,CAAC,CAAC;YACvB,MAAM,CAAC,UAAU,GAAG,KAAK,CAAC;QAC5B,CAAC;IACH,CAAC;AACH,CAAC,EAjMM,UAAU,KAAV,UAAU,QAiMhB;AAED,MAAM,CAAC,OAAO,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;;ACzMzC;IAAA;IAIA,CAAC;IAHQ,YAAO,GAAd,UAAe,IAAY;QACzB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACH,WAAC;AAAD,CAJA,AAIC,IAAA;AAED,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC","file":"util.js","sourcesContent":["/*!\n * 4screens-util v0.1.6\n * (c) 2015 Nopattern sp. z o.o.\n * License: proprietary\n */\n","declare var exports: any;\ndeclare var module: any;\ndeclare var angular: any;\n\nclass Export {\n static factory(name, factory) {\n if (typeof exports === 'object' && typeof module !== 'undefined') {\n module.exports[name] = factory;\n } else if (typeof angular === 'object') {\n angular.module('4screens.util.' + name, []).constant(name, factory);\n } else {\n if (!window['4screens']) {\n window['4screens'] = {};\n }\n\n if (!window['4screens'].util) {\n window['4screens'].util = {};\n }\n\n window['4screens'].util[name] = factory;\n }\n }\n}\n",null,null],"sourceRoot":"/source/"} \ No newline at end of file +{"version":3,"sources":["header.ts","export.ts","cloudinary/cloudinary.ts","test/test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;ACAH;IAAA;IAkBA,CAAC;IAjBQ,cAAO,GAAd,UAAe,IAAI,EAAE,OAAO;QAC1B,EAAE,CAA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,CAAC;YACN,MAAM,CAAC,SAAS,GAAG,CAAC,GAAG,UAAU,CAAC;QACpC,CAAC;IACH,CAAC;IAED,cAAc,SAAiB,EAAE,UAAkB,EAAE,KAAa;QAChE,IAAI,UAAU,GAAG,UAAU,GAAG,KAAK,GAAG,SAAS,CAAC;QAEhD,kBAAkB;QAClB,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;YAChC,MAAM,CAAC,CAAC,KAAK,CAAC;QAChB,CAAC;QAED,sBAAsB;QACtB,oCAAoC;QACpC,EAAE,CAAC,CAAC,KAAK,IAAI,UAAU,CAAC,CAAC,CAAC;YACxB,MAAM,CAAC,CAAC,CAAC;QACX,CAAC;QAED,qBAAqB;QACrB,mCAAmC;QACnC,EAAE,CAAC,CAAC,UAAU,GAAG,KAAK,CAAC,CAAC,CAAC;YACvB,MAAM,CAAC,UAAU,GAAG,KAAK,CAAC;QAC5B,CAAC;IACH,CAAC;AACH,CAAC,EAlMM,UAAU,KAAV,UAAU,QAkMhB;AAED,MAAM,CAAC,OAAO,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;;AC1MzC;IAAA;IAIA,CAAC;IAHQ,YAAO,GAAd,UAAe,IAAY;QACzB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACH,WAAC;AAAD,CAJA,AAIC,IAAA;AAED,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC","file":"util.js","sourcesContent":["/*!\n * 4screens-util v0.1.6\n * (c) 2015 Nopattern sp. z o.o.\n * License: proprietary\n */\n","declare var exports: any;\ndeclare var module: any;\ndeclare var angular: any;\n\nclass Export {\n static factory(name, factory) {\n if (typeof exports === 'object' && typeof module !== 'undefined') {\n module.exports[name] = factory;\n } else if (typeof angular === 'object') {\n angular.module('4screens.util.' + name, []).constant(name, factory);\n } else {\n if (!window['4screens']) {\n window['4screens'] = {};\n }\n\n if (!window['4screens'].util) {\n window['4screens'].util = {};\n }\n\n window['4screens'].util[name] = factory;\n }\n }\n}\n",null,null],"sourceRoot":"/source/"} \ No newline at end of file