跳转到内容

上传管理交付PDF

可移植文档格式阿多比交付格式化文本和图片PDF文件包含全描述所有布局元素,包括文本、字体、图像和层块,确保文件在打开任何设备时看起来完全相同PDF格式还具有将高质量文件压缩到相对小文件大小的巨大优势

Cloudinary内置支持上传、管理、转换、创建、分析并交付PDF文件以及第三方从Office文档创建PDF并提取PDF文本云化系统允许你像管理图像文件一样管理您的PDF系统,从简单易用变换、快速CDN交付等中获益

下段简要归纳并举例说明与多功能文件协作的每一种特征,并链接到云文件中的更多资料和细节

上传PDF到您的云式账号非常简单直截可使用可用选项上传PDF文件上传文件寄回云式账号上传响应中包括a页码参数表示文件内页数

无缝PDF转换管理

  1. 登录云式账号
  2. 云台导航
  3. 保证PDF选项在Upload标签下启动,方便PDF上传转换
加载代码示例

需要确定已上传到您的账号的PDF页数时,可使用AdminAPI资源库并包含方法页码参数设置为“ true”。例举 :

true)","codeSnippet":"Cloudinary::Api.resource('sample_pdf',\n :pages => true)"},{"sdkId":"php","framework":"php","language":"php","displayName":"PHP","packageName":"cloudinary_php","packageVersion":"1.x","packageStatus":"legacy","rawCodeSnippet":"$api->resource(\"sample\",\n array(\n \"pages\" => TRUE));","codeSnippet":"$api->resource(\"sample\",\n array(\n \"pages\" => TRUE));"},{"sdkId":"python","framework":"python","language":"python","displayName":"Python","packageName":"cloudinary","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"cloudinary.api.resource(\"sample_pdf\",\n pages = True)","codeSnippet":"cloudinary.api.resource(\"sample_pdf\",\n pages = True)"},{"sdkId":"nodejs","framework":"nodejs","language":"javascript","displayName":"Node.js","packageName":"cloudinary","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"cloudinary.v2.api.resource('sample_pdf', \n { pages: true },\n function(error, result) {console.log(result, error)!{cludianary.v2.api.resource});"},{"sdkId":"java","framework":"java","language":"java","displayName":"Java","packageName":"cloudinary","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"api.resource(\"sample_pdf\", \n ObjectUtils.asMap(\n \"pages\", true ));","codeSnippet":"api.resource(\"sample_pdf\", \n ObjectUtils.asMap(\n \"pages\", true ));"},{"sdkId":"csharp","framework":"csharp","language":"java","displayName":".NET","packageName":"CloudinaryDotNet","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"var getResource = new GetResourceParams(\"sample_pdf\"){\n Pages = true};\nvar info = cloudinary.GetResource(getResource);","codeSnippet":"var getResource = new GetResourceParams(\"sample_pdf\"){\n Pages = true};\nvar info = cloudinary.GetResource(getResource);"},{"sdkId":"cli","framework":"cli","language":"cli","displayName":"CLI","packageName":"","packageVersion":"","packageStatus":"","rawCodeSnippet":"cld admin resource sample_pdf pages=true","codeSnippet":"cld admin resource sample_pdf pages=true"},{"sdkId":"curl","framework":"curl","language":"curl","displayName":"cURL","packageName":"","packageVersion":"","packageStatus":"","rawCodeSnippet":"curl \\\n -d \"pages=1\" \\\n https:\/\/ : @api.www.aaaalireno.com\/v1_1\/ 贝斯特登录入口官网下载/resources\/image\/upload\/sample_pdf : @api.www.aaaalireno.com\/v1_1\/ 贝斯特登录入口官网下载/resources\/image\/upload\/sample_pdf 加载代码示例

对免费账户用户而言,关键是要知道提供PDF文件受限是因为安全原因默认要删除此限制 :

  1. 登录云式账号
  2. 导航到账户安全设置页面
  3. PDF和ZIP文件交付下检查Allow提供PDF和ZIP文件
  4. 按下save并接受服务条件

云化处理PDF文件与任何其他图像文件相同abjectivePDF文件并用标准云动态URL交付

https://res.www.aaaalireno.com/demo/image/upload/example_pdf.pdf
重要点 :

努力确保不恶意文件通过云式分发 免费客户无法默认以PDF格式交付文件求求您联系支持if你想为您的账号启用此特性 。

以不同图像格式提供PDF像修改文件扩展到理想格式一样简单这将默认交付PDF首页,但您可使用参数(微信URL中选择不同的页面也可以使用任何其他图像变换提供新文件,将云形高级图像转换功能带入您的 PDFs

比方说,从第二页裁剪三百三百平方格,圆角黑背景

<\/Image>","codeSnippet":" \n\t \n\t \n\t \n\t \n<\/Image>","status":0,"statusText":"Ok","displayName":"React","packageName":"cloudinary-react","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue_2","framework":"vue_2","language":"vue","rawCodeSnippet":"new CloudinaryImage(\"multi_page_pdf.png\")\n .extract(getPage().byNumber(2))\n .resize(\n crop()\n .width(300)\n .height(300)\n .gravity(compass(\"north\"))\n .y(270)\n )\n .roundCorners(max())\n .backgroundColor(\"black\");","codeSnippet":"new CloudinaryImage(\"multi_page_pdf.png\")\n .extract(getPage().byNumber(2))\n .resize(\n crop()\n .width(300)\n .height(300)\n .gravity(compass(\"north\"))\n .y(270)\n )\n .roundCorners(max())\n .backgroundColor(\"black\");","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"@cloudinary\/vue","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue","framework":"vue","language":"vue","rawCodeSnippet":" <\/cld-image>","codeSnippet":" \n\t \n\t \n\t \n\t \n<\/cld-image>","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"cloudinary-vue","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"angular_2","framework":"angular_2","language":"angular","rawCodeSnippet":"new CloudinaryImage(\"multi_page_pdf.png\")\n .extract(getPage().byNumber(2))\n .resize(\n crop()\n .width(300)\n .height(300)\n .gravity(compass(\"north\"))\n .y(270)\n )\n .roundCorners(max())\n .backgroundColor(\"black\");","codeSnippet":"new CloudinaryImage(\"multi_page_pdf.png\")\n .extract(getPage().byNumber(2))\n .resize(\n crop()\n .width(300)\n .height(300)\n .gravity(compass(\"north\"))\n .y(270)\n )\n .roundCorners(max())\n .backgroundColor(\"black\");","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/ng","packageStatus":"","packageVersion":"1.x"},{"sdkId":"angular","framework":"angular","language":"angular","rawCodeSnippet":" <\/cl-transformation> <\/cl-transformation> <\/cl-transformation> <\/cl-transformation> <\/cl-image>","codeSnippet":" \n\t \n\t<\/cl-transformation>\n\t \n\t<\/cl-transformation>\n\t \n\t<\/cl-transformation>\n\t \n\t<\/cl-transformation>\n<\/cl-image>","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/angular-5.x","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"js_2","framework":"js_2","language":"js","rawCodeSnippet":"new CloudinaryImage(\"multi_page_pdf.png\")\n .extract(getPage().byNumber(2))\n .resize(\n crop()\n .width(300)\n .height(300)\n .gravity(compass(\"north\"))\n .y(270)\n )\n .roundCorners(max())\n .backgroundColor(\"black\");","codeSnippet":"new CloudinaryImage(\"multi_page_pdf.png\")\n .extract(getPage().byNumber(2))\n .resize(\n crop()\n .width(300)\n .height(300)\n .gravity(compass(\"north\"))\n .y(270)\n )\n .roundCorners(max())\n .backgroundColor(\"black\");","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('multi_page_pdf.png', {transformation: [ {page: 2}, {width: 300, height: 300, gravity: \"north\", y: 270, crop: \"crop\"}, {radius: \"max\"}, {background: \"black\"} ]}).toHtml();","codeSnippet":"cloudinary.imageTag('multi_page_pdf.png', {transformation: [\n {page: 2},\n {width: 300, height: 300, gravity: \"north\", y: 270, crop: \"crop\"},\n {radius: \"max\"},\n {background: \"black\"}\n ]}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"multi_page_pdf.png\").image(transformation=[ {'page': 2}, {'width': 300, 'height': 300, 'gravity': \"north\", 'y': 270, 'crop': \"crop\"}, {'radius': \"max\"}, {'background': \"black\"} ])","codeSnippet":"CloudinaryImage(\"multi_page_pdf.png\").image(transformation=[\n {'page': 2},\n {'width': 300, 'height': 300, 'gravity': \"north\", 'y': 270, 'crop': \"crop\"},\n {'radius': \"max\"},\n {'background': \"black\"}\n ])","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('multi_page_pdf.png'))\n\t->extract(Extract::getPage()->byNumber(2))\n\t->resize(Resize::crop()->width(300)\n->height(300)\n\t->gravity(\n\tGravity::compass(\n\tCompass::north()))\n->y(270))\n\t->roundCorners(RoundCorners::max())\n\t->backgroundColor(Color::BLACK);","codeSnippet":"(new ImageTag('multi_page_pdf.png'))\n\t->extract(Extract::getPage()->byNumber(2))\n\t->resize(Resize::crop()->width(300)\n->height(300)\n\t->gravity(\n\tGravity::compass(\n\tCompass::north()))\n->y(270))\n\t->roundCorners(RoundCorners::max())\n\t->backgroundColor(Color::BLACK);","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"multi_page_pdf.png\", array(\"transformation\"=>array( array(\"page\"=>2), array(\"width\"=>300, \"height\"=>300, \"gravity\"=>\"north\", \"y\"=>270, \"crop\"=>\"crop\"), array(\"radius\"=>\"max\"), array(\"background\"=>\"black\") )))","codeSnippet":"cl_image_tag(\"multi_page_pdf.png\", array(\"transformation\"=>array(\n array(\"page\"=>2),\n array(\"width\"=>300, \"height\"=>300, \"gravity\"=>\"north\", \"y\"=>270, \"crop\"=>\"crop\"),\n array(\"radius\"=>\"max\"),\n array(\"background\"=>\"black\")\n )))","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"java","framework":"java","language":"java","rawCodeSnippet":"cloudinary.url().transformation(new Transformation().page(2).chain() .width(300).height(300).gravity(\"north\").y(270).crop(\"crop\").chain() .radius(\"max\").chain() .background(\"black\")).imageTag(\"multi_page_pdf.png\");","codeSnippet":"cloudinary.url().transformation(new Transformation()\n .page(2).chain()\n .width(300).height(300).gravity(\"north\").y(270).crop(\"crop\").chain()\n .radius(\"max\").chain()\n .background(\"black\")).imageTag(\"multi_page_pdf.png\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"multi_page_pdf.png\", :transformation=>[ {:page=>2}, {:width=>300, :height=>300, :gravity=>\"north\", :y=>270, :crop=>\"crop\"}, {:radius=>\"max\"}, {:background=>\"black\"} ])","codeSnippet":"cl_image_tag(\"multi_page_pdf.png\", :transformation=>[\n {:page=>2},\n {:width=>300, :height=>300, :gravity=>\"north\", :y=>270, :crop=>\"crop\"},\n {:radius=>\"max\"},\n {:background=>\"black\"}\n ])","status":0,"statusText":"Ok","displayName":"Ruby","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"csharp","framework":"csharp","language":"csharp","rawCodeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Page(2).Chain() .Width(300).Height(300).Gravity(\"north\").Y(270).Crop(\"crop\").Chain() .Radius(\"max\").Chain() .Background(\"black\")).BuildImageTag(\"multi_page_pdf.png\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation()\n .Page(2).Chain()\n .Width(300).Height(300).Gravity(\"north\").Y(270).Crop(\"crop\").Chain()\n .Radius(\"max\").Chain()\n .Background(\"black\")).BuildImageTag(\"multi_page_pdf.png\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('multi_page_pdf.png').transformation(Transformation()\n\t.extract(Extract.getPage().byNumber(2))\n\t.resize(Resize.crop().width(300)\n.height(300)\n\t.gravity(\n\tGravity.compass(\n\tCompass.north()))\n.y(270))\n\t.roundCorners(RoundCorners.max())\n\t.backgroundColor(Color.BLACK));","codeSnippet":"cloudinary.image('multi_page_pdf.png').transformation(Transformation()\n\t.extract(Extract.getPage().byNumber(2))\n\t.resize(Resize.crop().width(300)\n.height(300)\n\t.gravity(\n\tGravity.compass(\n\tCompass.north()))\n.y(270))\n\t.roundCorners(RoundCorners.max())\n\t.backgroundColor(Color.BLACK));","status":0,"statusText":"Ok","displayName":"Dart","packageName":"cloudinary_dart","packageStatus":"","packageVersion":"0.x"},{"sdkId":"swift","framework":"swift","language":"swift","rawCodeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setPage(2).chain() .setWidth(300).setHeight(300).setGravity(\"north\").setY(270).setCrop(\"crop\").chain() .setRadius(\"max\").chain() .setBackground(\"black\")).generate(\"multi_page_pdf.png\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation()\n .setPage(2).chain()\n .setWidth(300).setHeight(300).setGravity(\"north\").setY(270).setCrop(\"crop\").chain()\n .setRadius(\"max\").chain()\n .setBackground(\"black\")).generate(\"multi_page_pdf.png\")!, cloudinary: cloudinary)","status":0,"statusText":"Ok","displayName":"iOS","packageName":"cloudinary","packageStatus":"","packageVersion":"3.x"},{"sdkId":"android","framework":"android","language":"android","rawCodeSnippet":"MediaManager.get().url().transformation(new Transformation().page(2).chain() .width(300).height(300).gravity(\"north\").y(270).crop(\"crop\").chain() .radius(\"max\").chain() .background(\"black\")).generate(\"multi_page_pdf.png\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation()\n .page(2).chain()\n .width(300).height(300).gravity(\"north\").y(270).crop(\"crop\").chain()\n .radius(\"max\").chain()\n .background(\"black\")).generate(\"multi_page_pdf.png\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('multi_page_pdf.png').transformation(Transformation()\n\t.addTransformation(\"pg_2\/w_300,h_300,c_crop,g_north,y_270\/r_max\/b_black\"));","codeSnippet":"cloudinary.image('multi_page_pdf.png').transformation(Transformation()\n\t.addTransformation(\"pg_2\/w_300,h_300,c_crop,g_north,y_270\/r_max\/b_black\"));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"multi_page_pdf.png\")\n\t extract(Extract.getPage() { byNumber(2) })\n\t resize(Resize.crop() { width(300)\n height(300)\n\t gravity(\n\tGravity.compass(\n\tCompass.north()))\n y(270) })\n\t roundCorners(RoundCorners.max())\n\t backgroundColor(Color.BLACK) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"multi_page_pdf.png\")\n\t extract(Extract.getPage() { byNumber(2) })\n\t resize(Resize.crop() { width(300)\n height(300)\n\t gravity(\n\tGravity.compass(\n\tCompass.north()))\n y(270) })\n\t roundCorners(RoundCorners.max())\n\t backgroundColor(Color.BLACK) \n}.generate()","status":0,"statusText":"Ok","displayName":"Kotlin","packageName":"kotlin-url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"jquery","framework":"jquery","language":"jquery","rawCodeSnippet":"$.cloudinary.image(\"multi_page_pdf.png\", {transformation: [ {page: 2}, {width: 300, height: 300, gravity: \"north\", y: 270, crop: \"crop\"}, {radius: \"max\"}, {background: \"black\"} ]})","codeSnippet":"$.cloudinary.image(\"multi_page_pdf.png\", {transformation: [\n {page: 2},\n {width: 300, height: 300, gravity: \"north\", y: 270, crop: \"crop\"},\n {radius: \"max\"},\n {background: \"black\"}\n ]})","status":0,"statusText":"Ok","displayName":"jQuery","packageName":"cloudinary-jquery","packageStatus":"","packageVersion":"2.x"},{"sdkId":"react_native","framework":"react_native","language":"react_native","rawCodeSnippet":"new CloudinaryImage(\"multi_page_pdf.png\")\n .extract(getPage().byNumber(2))\n .resize(\n crop()\n .width(300)\n .height(300)\n .gravity(compass(\"north\"))\n .y(270)\n )\n .roundCorners(max())\n .backgroundColor(\"black\");","codeSnippet":"new CloudinaryImage(\"multi_page_pdf.png\")\n .extract(getPage().byNumber(2))\n .resize(\n crop()\n .width(300)\n .height(300)\n .gravity(compass(\"north\"))\n .y(270)\n )\n .roundCorners(max())\n .backgroundColor(\"black\");","status":0,"statusText":"Ok","displayName":"React Native","packageName":"cloudinary-react-native","packageStatus":"","packageVersion":"0.x"}]" parsed-url="{"url":"https:\/\/res.www.aaaalireno.com\/demo\/image\/upload\/pg_2\/w_300,h_300,c_crop,g_north,y_270\/r_max\/b_black\/multi_page_pdf.png","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"page":"2"},{"width":"300","height":"300","crop_mode":"crop","gravity":"north","y":"270"},{"radius":"max"},{"background":"black"}],"transformation_string":"pg_2\/w_300,h_300,c_crop,g_north,y_270\/r_max\/b_black","url_suffix":"","version":"","secure":true,"public_id":"multi_page_pdf.png","extension":"png","format":"png","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" > 加载代码示例 pdf图像+变换

PDFs也可以成为整理内容并单文件提供图像集的伟大方式云化提供多维方法创建PDF文件所有图像归并成单多页PDF,每个图像为单页,按字母序取公共标识码如果要将图像按特定顺序排列,请确保相应重命名(例如Onimg、Obimg等)。多方法还有助于创建动画图像,以确保指定格式化原封pdf大全.

例举从所有图像创建PDF文件并限制所有图像为400x600大小

\"pdf\", :\n transformation => {\n :width => 400, \n :height => 6--,\n :crop => \"limit\"})","codeSnippet":"Cloudinary::Uploader.multi(\"animal\", :\n format => \"pdf\", :\n transformation => {\n :width => 400, \n :height => 6--,\n :crop => \"limit\"})"},{"sdkId":"php","framework":"php","language":"php","displayName":"PHP","packageName":"cloudinary_php","packageVersion":"1.x","packageStatus":"legacy","rawCodeSnippet":"\\Cloudinary\\Uploader::multi(\"animal\", \n array(\n \"format\"=>\"pdf\", \n \"transformation\"=>array(\n \"width\"=>400,\n \"height\"=>600,\n \"crop\"=>\"limit\")));","codeSnippet":"\\Cloudinary\\Uploader::multi(\"animal\", \n array(\n \"format\"=>\"pdf\", \n \"transformation\"=>array(\n \"width\"=>400,\n \"height\"=>600,\n \"crop\"=>\"limit\")));"},{"sdkId":"python","framework":"python","language":"python","displayName":"Python","packageName":"cloudinary","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"cloudinary.uploader.multi(\"animal\", \n format = \"pdf\", \n transformation={\n \"width\": 400, \n \"Height\": 600,\n \"crop\": \"limit\"})","codeSnippet":"cloudinary.uploader.multi(\"animal\", \n format = \"pdf\", \n transformation={\n \"width\": 400, \n \"Height\": 600,\n \"crop\": \"limit\"})"},{"sdkId":"nodejs","framework":"nodejs","language":"javascript","displayName":"Node.js","packageName":"cloudinary","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"cloudinary.v2.uploader.multi(\"animal\",\n { format: \"pdf\",\n transformation: {\n width: 400,\n Height: 600\n crop: \"limit\"}}, \n function(error,result) {console.log(result, error) });","codeSnippet":"cloudinary.v2.uploader.multi(\"animal\",\n { format: \"pdf\",\n transformation: {\n width: 400,\n Height: 600\n crop: \"limit\"}}, \n function(error,result) {console.log(result, error) });"},{"sdkId":"java","framework":"java","language":"java","displayName":"Java","packageName":"cloudinary","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"cloudinary.uploader().multi(\"animal\", \n ObjectUtils.asMap(\n \"format\", \"pdf\"\n \"transformation\", new Transformation()\n .width(400).height(600).crop(\"limit\"));","codeSnippet":"cloudinary.uploader().multi(\"animal\", \n ObjectUtils.asMap(\n \"format\", \"pdf\"\n \"transformation\", new Transformation()\n .width(400).height(600).crop(\"limit\"));"},{"sdkId":"csharp","framework":"csharp","language":"java","displayName":".NET","packageName":"CloudinaryDotNet","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"var multiParams = new MultiParams(\"animal\"){\n Format = \"pdf\", \n Transformation = new Transformation()\n .Width(400).Height(600).Crop(\"limit\")};\nvar multiResult = cloudinary.Multi(multiParams);","codeSnippet":"var multiParams = new MultiParams(\"animal\"){\n Format = \"pdf\", \n Transformation = new Transformation()\n .Width(400).Height(600).Crop(\"limit\")};\nvar multiResult = cloudinary.Multi(multiParams);"},{"sdkId":"curl","framework":"curl","language":"curl","displayName":"cURL","packageName":"","packageVersion":"","packageStatus":"","rawCodeSnippet":"curl https:\/\/api.www.aaaalireno.com\/v1_1\/demo\/image\/multi -X POST --data 'tag=animal&format=pdf&transformation=w_400,h_600,c_limit×tamp=173719931&api_key=1252464226&signature=a13282348f85a22868af'","codeSnippet":"curl https:\/\/api.www.aaaalireno.com\/v1_1\/demo\/image\/multi -X POST --data 'tag=animal&format=pdf&transformation=w_400,h_600,c_limit×tamp=173719931&api_key=1252464226&signature=a13282348f85a22868af'"}]" parsed-url="[]" with-url="false" > 加载代码示例

需要自动转换Office文档、电子表格和演示文稿到PDF文档时,Cloudinary提供引用文档转换加载

从Office文件上传到云型账号原生文件并添加原路反转参数值a

\"sample_doc.docx\",\n :resource_type => 'raw', \n :raw_convert => 'aspose')","codeSnippet":"Cloudinary::Uploader.upload(\"sample.docx\",\n :public_id => \"sample_doc.docx\",\n :resource_type => 'raw', \n :raw_convert => 'aspose')"},{"sdkId":"php","framework":"php","language":"php","displayName":"PHP","packageName":"cloudinary_php","packageVersion":"1.x","packageStatus":"legacy","rawCodeSnippet":"\\Cloudinary\\Uploader::upload(\"sample.docx\",\n array(\n \"public_id\" => \"sample_doc.docx\",\n \"resource_type\" => \"raw\",\n \"raw_convert\" => \"aspose\"));","codeSnippet":"\\Cloudinary\\Uploader::upload(\"sample.docx\",\n array(\n \"public_id\" => \"sample_doc.docx\",\n \"resource_type\" => \"raw\",\n \"raw_convert\" => \"aspose\"));"},{"sdkId":"python","framework":"python","language":"python","displayName":"Python","packageName":"cloudinary","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"cloudinary.uploader.upload(\"sample.docx\",\n public_id = \"sample_doc.docx\",\n resource_type = \"raw\",\n raw_convert = \"aspose\")","codeSnippet":"cloudinary.uploader.upload(\"sample.docx\",\n public_id = \"sample_doc.docx\",\n resource_type = \"raw\",\n raw_convert = \"aspose\")"},{"sdkId":"nodejs","framework":"nodejs","language":"javascript","displayName":"Node.js","packageName":"cloudinary","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"cloudinary.v2.uploader.upload(\"sample.docx\",\n { public_id: \"sample_doc.docx\",\n resource_type: \"raw\",\n raw_convert: \"aspose\" },\n function(error, result){console.log(result);});","codeSnippet":"cloudinary.v2.uploader.upload(\"sample.docx\",\n { public_id: \"sample_doc.docx\",\n resource_type: \"raw\",\n raw_convert: \"aspose\" },\n function(error, result){console.log(result);});"},{"sdkId":"java","framework":"java","language":"java","displayName":"Java","packageName":"cloudinary","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"cloudinary.uploader().upload(\"sample.docx\", \n ObjectUtils.asMap(\n \"public_id\", \"sample_doc.docx\",\n \"resource_type\", \"raw\",\n \"raw_convert\", \"aspose\"));","codeSnippet":"cloudinary.uploader().upload(\"sample.docx\", \n ObjectUtils.asMap(\n \"public_id\", \"sample_doc.docx\",\n \"resource_type\", \"raw\",\n \"raw_convert\", \"aspose\"));"},{"sdkId":"csharp","framework":"csharp","language":"java","displayName":".NET","packageName":"CloudinaryDotNet","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"var uploadParams = new RawUploadParams(){\n File = new FileDescription(@\"sample.docx\"),\n PublicId = \"sample_doc.docx\",\n RawConvert = \"aspose\"};\nvar uploadResult = cloudinary.Upload(uploadParams);","codeSnippet":"var uploadParams = new RawUploadParams(){\n File = new FileDescription(@\"sample.docx\"),\n PublicId = \"sample_doc.docx\",\n RawConvert = \"aspose\"};\nvar uploadResult = cloudinary.Upload(uploadParams);"}]" parsed-url="[]" with-url="false" > 加载代码示例

转换完成后,使用相同公共ID的PDF加入云型账户图像显示原创原型原生)上例中加新图像调用样本_doc.docx并可以交付和/或转换成任何其他PDF上传到您的账号

分析PDF文件上下文可在许多假想中有效可能简单到知道文件内是否有文本,查找文本内含并适当标记文件,或甚至编辑或模糊文件内的具体文本云化提供OCR文本检测提取从PDF提取所有文本加载并包含文本汇总、捕获文本坐标和每个单个文本元素请求检测文本时添加ocr参数值adv_ocr:document.例举上传法使用时

\"adv_ocr\")","codeSnippet":"Cloudinary::Uploader.upload(\"sample.pdf\", \n :ocr => \"adv_ocr\")"},{"sdkId":"php","framework":"php","language":"php","displayName":"PHP","packageName":"cloudinary_php","packageVersion":"1.x","packageStatus":"legacy","rawCodeSnippet":"\\Cloudinary\\Uploader::upload(\"sample.pdf\", \n array(\"ocr\" => \"adv_ocr\"));","codeSnippet":"\\Cloudinary\\Uploader::upload(\"sample.pdf\", \n array(\"ocr\" => \"adv_ocr\"));"},{"sdkId":"python","framework":"python","language":"python","displayName":"Python","packageName":"cloudinary","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"cloudinary.uploader.upload(\"sample.pdf\",\n ocr = \"adv_ocr\")","codeSnippet":"cloudinary.uploader.upload(\"sample.pdf\",\n ocr = \"adv_ocr\")"},{"sdkId":"nodejs","framework":"nodejs","language":"javascript","displayName":"Node.js","packageName":"cloudinary","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"cloudinary.v2.uploader.upload(\"sample.pdf\", \n { ocr: \"adv_ocr\" },\n function(error, result) {console.log(result)!sample.pdf\" scr:\dv_ocr\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\});"},{"sdkId":"java","framework":"java","language":"java","displayName":"Java","packageName":"cloudinary","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"cloudinary.uploader().upload(\"sample.pdf\", \n ObjectUtils.asMap(\"ocr\", \"adv_ocr\"));","codeSnippet":"cloudinary.uploader().upload(\"sample.pdf\", \n ObjectUtils.asMap(\"ocr\", \"adv_ocr\"));"},{"sdkId":"csharp","framework":"csharp","language":"java","displayName":".NET","packageName":"CloudinaryDotNet","packageVersion":"1.x","packageStatus":"","rawCodeSnippet":"var uploadParams = new ImageUploadParams()\n{\n File = new FileDescription(@\"sample.pdf\"),\n Ocr = \"adv_ocr\"\n};\nvar uploadResult = cloudinary.Upload(uploadParams);","codeSnippet":"var uploadParams = new ImageUploadParams()\n{\n File = new FileDescription(@\"sample.pdf\"),\n Ocr = \"adv_ocr\"\n};\nvar uploadResult = cloudinary.Upload(uploadParams);"}]" parsed-url="[]" with-url="false" > 加载代码示例

快速化PDF对提供PDF文件有用,但也想调整文件大小或添加叠加光栅化将PDF降为单片像素层(相对于矢量多层层)。简单添加光栅化标志动URL易拉度并添加重排或重叠下示例分解PDF,向下缩到800像素宽度并增加云形图标到每页右上角

<\/Image>","codeSnippet":" \n\t \n\t \n\t \n<\/Image>","status":0,"statusText":"Ok","displayName":"React","packageName":"cloudinary-react","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue_2","framework":"vue_2","language":"vue","rawCodeSnippet":"new CloudinaryImage(\"multi_page_pdf.pdf\")\n .addFlag(\"rasterize\")\n .resize(scale().width(800))\n .overlay(\n source(\n image(\"cloudinary_icon\").transformation(\n new Transformation().resize(scale().width(100))\n )\n ).position(new Position().gravity(compass(\"north_east\")))\n );","codeSnippet":"new CloudinaryImage(\"multi_page_pdf.pdf\")\n .addFlag(\"rasterize\")\n .resize(scale().width(800))\n .overlay(\n source(\n image(\"cloudinary_icon\").transformation(\n new Transformation().resize(scale().width(100))\n )\n ).position(new Position().gravity(compass(\"north_east\")))\n );","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"@cloudinary\/vue","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue","framework":"vue","language":"vue","rawCodeSnippet":" <\/cld-image>","codeSnippet":" \n\t \n\t \n\t \n<\/cld-image>","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"cloudinary-vue","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"angular_2","framework":"angular_2","language":"angular","rawCodeSnippet":"new CloudinaryImage(\"multi_page_pdf.pdf\")\n .addFlag(\"rasterize\")\n .resize(scale().width(800))\n .overlay(\n source(\n image(\"cloudinary_icon\").transformation(\n new Transformation().resize(scale().width(100))\n )\n ).position(new Position().gravity(compass(\"north_east\")))\n );","codeSnippet":"new CloudinaryImage(\"multi_page_pdf.pdf\")\n .addFlag(\"rasterize\")\n .resize(scale().width(800))\n .overlay(\n source(\n image(\"cloudinary_icon\").transformation(\n new Transformation().resize(scale().width(100))\n )\n ).position(new Position().gravity(compass(\"north_east\")))\n );","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/ng","packageStatus":"","packageVersion":"1.x"},{"sdkId":"angular","framework":"angular","language":"angular","rawCodeSnippet":" <\/cl-transformation> <\/cl-transformation> <\/cl-transformation> <\/cl-image>","codeSnippet":" \n\t \n\t<\/cl-transformation>\n\t \n\t<\/cl-transformation>\n\t \n\t<\/cl-transformation>\n<\/cl-image>","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/angular-5.x","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"js_2","framework":"js_2","language":"js","rawCodeSnippet":"new CloudinaryImage(\"multi_page_pdf.pdf\")\n .addFlag(\"rasterize\")\n .resize(scale().width(800))\n .overlay(\n source(\n image(\"cloudinary_icon\").transformation(\n new Transformation().resize(scale().width(100))\n )\n ).position(new Position().gravity(compass(\"north_east\")))\n );","codeSnippet":"new CloudinaryImage(\"multi_page_pdf.pdf\")\n .addFlag(\"rasterize\")\n .resize(scale().width(800))\n .overlay(\n source(\n image(\"cloudinary_icon\").transformation(\n new Transformation().resize(scale().width(100))\n )\n ).position(new Position().gravity(compass(\"north_east\")))\n );","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('multi_page_pdf.pdf', {transformation: [ {flags: \"rasterize\"}, {width: 800, crop: \"scale\"}, {overlay: new cloudinary.Layer().publicId(\"cloudinary_icon\"), gravity: \"north_east\", width: 100} ]}).toHtml();","codeSnippet":"cloudinary.imageTag('multi_page_pdf.pdf', {transformation: [\n {flags: \"rasterize\"},\n {width: 800, crop: \"scale\"},\n {overlay: new cloudinary.Layer().publicId(\"cloudinary_icon\"), gravity: \"north_east\", width: 100}\n ]}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"multi_page_pdf.pdf\").image(transformation=[ {'flags': \"rasterize\"}, {'width': 800, 'crop': \"scale\"}, {'overlay': \"cloudinary_icon\", 'gravity': \"north_east\", 'width': 100} ])","codeSnippet":"CloudinaryImage(\"multi_page_pdf.pdf\").image(transformation=[\n {'flags': \"rasterize\"},\n {'width': 800, 'crop': \"scale\"},\n {'overlay': \"cloudinary_icon\", 'gravity': \"north_east\", 'width': 100}\n ])","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('multi_page_pdf.pdf'))\n\t->addFlag(\"rasterize\")\n\t->resize(Resize::scale()->width(800))\n\t->overlay(Overlay::source(\n\tSource::image(\"cloudinary_icon\")\n\t->transformation((new Transformation())\n\t->resize(Resize::scale()->width(100)))\n\t)\n\t->position((new Position())\n\t->gravity(\n\tGravity::compass(\n\tCompass::northEast()))\n\t)\n\t);","codeSnippet":"(new ImageTag('multi_page_pdf.pdf'))\n\t->addFlag(\"rasterize\")\n\t->resize(Resize::scale()->width(800))\n\t->overlay(Overlay::source(\n\tSource::image(\"cloudinary_icon\")\n\t->transformation((new Transformation())\n\t->resize(Resize::scale()->width(100)))\n\t)\n\t->position((new Position())\n\t->gravity(\n\tGravity::compass(\n\tCompass::northEast()))\n\t)\n\t);","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"multi_page_pdf.pdf\", array(\"transformation\"=>array( array(\"flags\"=>\"rasterize\"), array(\"width\"=>800, \"crop\"=>\"scale\"), array(\"overlay\"=>\"cloudinary_icon\", \"gravity\"=>\"north_east\", \"width\"=>100) )))","codeSnippet":"cl_image_tag(\"multi_page_pdf.pdf\", array(\"transformation\"=>array(\n array(\"flags\"=>\"rasterize\"),\n array(\"width\"=>800, \"crop\"=>\"scale\"),\n array(\"overlay\"=>\"cloudinary_icon\", \"gravity\"=>\"north_east\", \"width\"=>100)\n )))","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"java","framework":"java","language":"java","rawCodeSnippet":"cloudinary.url().transformation(new Transformation().flags(\"rasterize\").chain() .width(800).crop(\"scale\").chain() .overlay(new Layer().publicId(\"cloudinary_icon\")).gravity(\"north_east\").width(100)).imageTag(\"multi_page_pdf.pdf\");","codeSnippet":"cloudinary.url().transformation(new Transformation()\n .flags(\"rasterize\").chain()\n .width(800).crop(\"scale\").chain()\n .overlay(new Layer().publicId(\"cloudinary_icon\")).gravity(\"north_east\").width(100)).imageTag(\"multi_page_pdf.pdf\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"multi_page_pdf.pdf\", :transformation=>[ {:flags=>\"rasterize\"}, {:width=>800, :crop=>\"scale\"}, {:overlay=>\"cloudinary_icon\", :gravity=>\"north_east\", :width=>100} ])","codeSnippet":"cl_image_tag(\"multi_page_pdf.pdf\", :transformation=>[\n {:flags=>\"rasterize\"},\n {:width=>800, :crop=>\"scale\"},\n {:overlay=>\"cloudinary_icon\", :gravity=>\"north_east\", :width=>100}\n ])","status":0,"statusText":"Ok","displayName":"Ruby","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"csharp","framework":"csharp","language":"csharp","rawCodeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Flags(\"rasterize\").Chain() .Width(800).Crop(\"scale\").Chain() .Overlay(new Layer().PublicId(\"cloudinary_icon\")).Gravity(\"north_east\").Width(100)).BuildImageTag(\"multi_page_pdf.pdf\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation()\n .Flags(\"rasterize\").Chain()\n .Width(800).Crop(\"scale\").Chain()\n .Overlay(new Layer().PublicId(\"cloudinary_icon\")).Gravity(\"north_east\").Width(100)).BuildImageTag(\"multi_page_pdf.pdf\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('multi_page_pdf.pdf').transformation(Transformation()\n\t.addFlag(\"rasterize\")\n\t.resize(Resize.scale().width(800))\n\t.overlay(Overlay.source(\n\tSource.image(\"cloudinary_icon\")\n\t.transformation(new Transformation()\n\t.resize(Resize.scale().width(100)))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t));","codeSnippet":"cloudinary.image('multi_page_pdf.pdf').transformation(Transformation()\n\t.addFlag(\"rasterize\")\n\t.resize(Resize.scale().width(800))\n\t.overlay(Overlay.source(\n\tSource.image(\"cloudinary_icon\")\n\t.transformation(new Transformation()\n\t.resize(Resize.scale().width(100)))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t));","status":0,"statusText":"Ok","displayName":"Dart","packageName":"cloudinary_dart","packageStatus":"","packageVersion":"0.x"},{"sdkId":"swift","framework":"swift","language":"swift","rawCodeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setFlags(\"rasterize\").chain() .setWidth(800).setCrop(\"scale\").chain() .setOverlay(\"cloudinary_icon\").setGravity(\"north_east\").setWidth(100)).generate(\"multi_page_pdf.pdf\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation()\n .setFlags(\"rasterize\").chain()\n .setWidth(800).setCrop(\"scale\").chain()\n .setOverlay(\"cloudinary_icon\").setGravity(\"north_east\").setWidth(100)).generate(\"multi_page_pdf.pdf\")!, cloudinary: cloudinary)","status":0,"statusText":"Ok","displayName":"iOS","packageName":"cloudinary","packageStatus":"","packageVersion":"3.x"},{"sdkId":"android","framework":"android","language":"android","rawCodeSnippet":"MediaManager.get().url().transformation(new Transformation().flags(\"rasterize\").chain() .width(800).crop(\"scale\").chain() .overlay(new Layer().publicId(\"cloudinary_icon\")).gravity(\"north_east\").width(100)).generate(\"multi_page_pdf.pdf\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation()\n .flags(\"rasterize\").chain()\n .width(800).crop(\"scale\").chain()\n .overlay(new Layer().publicId(\"cloudinary_icon\")).gravity(\"north_east\").width(100)).generate(\"multi_page_pdf.pdf\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('multi_page_pdf.pdf').transformation(Transformation()\n\t.addFlag(\"rasterize\")\n\t.resize(Resize.scale().width(800))\n\t.overlay(Overlay.source(\n\tSource.image(\"cloudinary_icon\")\n\t.transformation(new Transformation()\n\t.resize(Resize.scale().width(100)))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t));","codeSnippet":"cloudinary.image('multi_page_pdf.pdf').transformation(Transformation()\n\t.addFlag(\"rasterize\")\n\t.resize(Resize.scale().width(800))\n\t.overlay(Overlay.source(\n\tSource.image(\"cloudinary_icon\")\n\t.transformation(new Transformation()\n\t.resize(Resize.scale().width(100)))\n\t)\n\t.position(Position()\n\t.gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t)\n\t));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"multi_page_pdf.pdf\")\n\t addFlag(\"rasterize\")\n\t resize(Resize.scale() { width(800) })\n\t overlay(Overlay.source(\n\tSource.image(\"cloudinary_icon\") {\n\t transformation(Transformation {\n\t resize(Resize.scale() { width(100) }) })\n\t }) {\n\t position(Position() {\n\t gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t })\n\t }) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"multi_page_pdf.pdf\")\n\t addFlag(\"rasterize\")\n\t resize(Resize.scale() { width(800) })\n\t overlay(Overlay.source(\n\tSource.image(\"cloudinary_icon\") {\n\t transformation(Transformation {\n\t resize(Resize.scale() { width(100) }) })\n\t }) {\n\t position(Position() {\n\t gravity(\n\tGravity.compass(\n\tCompass.northEast()))\n\t })\n\t }) \n}.generate()","status":0,"statusText":"Ok","displayName":"Kotlin","packageName":"kotlin-url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"jquery","framework":"jquery","language":"jquery","rawCodeSnippet":"$.cloudinary.image(\"multi_page_pdf.pdf\", {transformation: [ {flags: \"rasterize\"}, {width: 800, crop: \"scale\"}, {overlay: new cloudinary.Layer().publicId(\"cloudinary_icon\"), gravity: \"north_east\", width: 100} ]})","codeSnippet":"$.cloudinary.image(\"multi_page_pdf.pdf\", {transformation: [\n {flags: \"rasterize\"},\n {width: 800, crop: \"scale\"},\n {overlay: new cloudinary.Layer().publicId(\"cloudinary_icon\"), gravity: \"north_east\", width: 100}\n ]})","status":0,"statusText":"Ok","displayName":"jQuery","packageName":"cloudinary-jquery","packageStatus":"","packageVersion":"2.x"},{"sdkId":"react_native","framework":"react_native","language":"react_native","rawCodeSnippet":"new CloudinaryImage(\"multi_page_pdf.pdf\")\n .addFlag(\"rasterize\")\n .resize(scale().width(800))\n .overlay(\n source(\n image(\"cloudinary_icon\").transformation(\n new Transformation().resize(scale().width(100))\n )\n ).position(new Position().gravity(compass(\"north_east\")))\n );","codeSnippet":"new CloudinaryImage(\"multi_page_pdf.pdf\")\n .addFlag(\"rasterize\")\n .resize(scale().width(800))\n .overlay(\n source(\n image(\"cloudinary_icon\").transformation(\n new Transformation().resize(scale().width(100))\n )\n ).position(new Position().gravity(compass(\"north_east\")))\n );","status":0,"statusText":"Ok","displayName":"React Native","packageName":"cloudinary-react-native","packageStatus":"","packageVersion":"0.x"}]" parsed-url="{"url":"https:\/\/res.www.aaaalireno.com\/demo\/image\/upload\/fl_rasterize\/w_800\/l_cloudinary_icon,g_north_east,w_100\/multi_page_pdf.pdf","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"flags":"rasterize"},{"width":"800"},{"overlay":"cloudinary_icon","gravity":"north_east","width":"100"}],"transformation_string":"fl_rasterize\/w_800\/l_cloudinary_icon,g_north_east,w_100","url_suffix":"","version":"","secure":true,"public_id":"multi_page_pdf.pdf","extension":"pdf","format":"pdf","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" > 加载代码示例

云型文件工作简单易行,多选项上传文件到您的账号中,广度变换可用性,快速CDN交付和多方法管理和提取文件有用信息并因为它是一个简单问题 转换PDF文件到其他图像格式, 他们也可以从多变效果中受益 所有图像都可用确定并检查云形文档记录了解更多细节,如果没有云型账号,请确定注册免费账号并试出

回顶

特征邮箱

Baidu
map