{"id":4692,"date":"2016-07-07T07:57:37","date_gmt":"2016-07-07T07:57:37","guid":{"rendered":"http:\/\/evolphin.com\/help\/?p=4692"},"modified":"2020-05-18T09:12:27","modified_gmt":"2020-05-18T13:12:27","slug":"perl-sdk-module-zoomimageproc","status":"publish","type":"post","link":"https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/","title":{"rendered":"Perl SDK Module: ZoomImageProc"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Name<\/h3>\n\n\n\n<p>ZoomImageProc &#8211; Helper methods for processing images<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Dependencies<\/h3>\n\n\n\n<p>Ensure the <a href=\"\/docs\/v5\/api-5-x\/perl-sdk\/perl-sdk\/\">Perl SDK<\/a> is setup.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Synopsis<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">use ZoomImageProc;\nZoomImageProc::resize($inFile,$outFile,$resizeValue); <\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Methods<\/h3>\n\n\n\n<h2 class=\"wp-block-heading\">resize<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Usage: ZoomImageProc::resize($inFile,$outFile,$resizeValue)<\/h4>\n\n\n\n<p>Resize the input file based on resize parameters specified. Returns 1 on success and 0 on failure<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> my $status = ZoomImageProc::resize($inFile,$outFile,$resizeValue);<\/pre>\n\n\n\n<div class=\"note\">Converter Configuration &#8211; Below fields should be set in config.ini<br>[ENVIRONMENT]<br>convertPath = Absolute path of converter<br>[IMAGE-MAGICK]<br>Convert Resize Args = Arguments to converter<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Name ZoomImageProc &#8211; Helper methods for processing images Dependencies Ensure the Perl SDK is setup. Synopsis use ZoomImageProc; ZoomImageProc::resize($inFile,$outFile,$resizeValue); Methods resize Usage: ZoomImageProc::resize($inFile,$outFile,$resizeValue) Resize the input file based on resize parameters specified. Returns 1 on success and 0 on failure my $status = ZoomImageProc::resize($inFile,$outFile,$resizeValue); Converter Configuration &#8211; Below fields should be set in config.ini[ENVIRONMENT]convertPath = [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[140],"tags":[],"class_list":["post-4692","post","type-post","status-publish","format-standard","hentry","category-perl-sdk"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Perl SDK Module: ZoomImageProc - Evolphin Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Perl SDK Module: ZoomImageProc - Evolphin Documentation\" \/>\n<meta property=\"og:description\" content=\"Name ZoomImageProc &#8211; Helper methods for processing images Dependencies Ensure the Perl SDK is setup. Synopsis use ZoomImageProc; ZoomImageProc::resize($inFile,$outFile,$resizeValue); Methods resize Usage: ZoomImageProc::resize($inFile,$outFile,$resizeValue) Resize the input file based on resize parameters specified. Returns 1 on success and 0 on failure my $status = ZoomImageProc::resize($inFile,$outFile,$resizeValue); Converter Configuration &#8211; Below fields should be set in config.ini[ENVIRONMENT]convertPath = [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/\" \/>\n<meta property=\"og:site_name\" content=\"Evolphin Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-07T07:57:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-18T13:12:27+00:00\" \/>\n<meta name=\"author\" content=\"Rahul Bhargava\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rahul Bhargava\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/deployment\\\/perl-sdk\\\/perl-sdk-module-zoomimageproc\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/deployment\\\/perl-sdk\\\/perl-sdk-module-zoomimageproc\\\/\"},\"author\":{\"name\":\"Rahul Bhargava\",\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/#\\\/schema\\\/person\\\/e5f3dc53ac5f026ed258e224e75447f7\"},\"headline\":\"Perl SDK Module: ZoomImageProc\",\"datePublished\":\"2016-07-07T07:57:37+00:00\",\"dateModified\":\"2020-05-18T13:12:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/deployment\\\/perl-sdk\\\/perl-sdk-module-zoomimageproc\\\/\"},\"wordCount\":67,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/#organization\"},\"articleSection\":[\"Perl SDK\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/evolphin.com\\\/help\\\/deployment\\\/perl-sdk\\\/perl-sdk-module-zoomimageproc\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/deployment\\\/perl-sdk\\\/perl-sdk-module-zoomimageproc\\\/\",\"url\":\"https:\\\/\\\/evolphin.com\\\/help\\\/deployment\\\/perl-sdk\\\/perl-sdk-module-zoomimageproc\\\/\",\"name\":\"Perl SDK Module: ZoomImageProc - Evolphin Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/#website\"},\"datePublished\":\"2016-07-07T07:57:37+00:00\",\"dateModified\":\"2020-05-18T13:12:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/deployment\\\/perl-sdk\\\/perl-sdk-module-zoomimageproc\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/evolphin.com\\\/help\\\/deployment\\\/perl-sdk\\\/perl-sdk-module-zoomimageproc\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/deployment\\\/perl-sdk\\\/perl-sdk-module-zoomimageproc\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/evolphin.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Perl SDK Module: ZoomImageProc\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/evolphin.com\\\/help\\\/\",\"name\":\"Evolphin Documentation\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/evolphin.com\\\/help\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/#organization\",\"name\":\"Evolphin Documentation\",\"url\":\"https:\\\/\\\/evolphin.com\\\/help\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/evolphin.com\\\/help\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cropped-evolphin-logo-dolphin_sm.png\",\"contentUrl\":\"https:\\\/\\\/evolphin.com\\\/help\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cropped-evolphin-logo-dolphin_sm.png\",\"width\":200,\"height\":200,\"caption\":\"Evolphin Documentation\"},\"image\":{\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/evolphin.com\\\/help\\\/#\\\/schema\\\/person\\\/e5f3dc53ac5f026ed258e224e75447f7\",\"name\":\"Rahul Bhargava\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/952acf4ec94a228ca32ed9b65cee4cc97a33509ea04500e768b71da346e58971?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/952acf4ec94a228ca32ed9b65cee4cc97a33509ea04500e768b71da346e58971?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/952acf4ec94a228ca32ed9b65cee4cc97a33509ea04500e768b71da346e58971?s=96&d=mm&r=g\",\"caption\":\"Rahul Bhargava\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Perl SDK Module: ZoomImageProc - Evolphin Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/","og_locale":"en_US","og_type":"article","og_title":"Perl SDK Module: ZoomImageProc - Evolphin Documentation","og_description":"Name ZoomImageProc &#8211; Helper methods for processing images Dependencies Ensure the Perl SDK is setup. Synopsis use ZoomImageProc; ZoomImageProc::resize($inFile,$outFile,$resizeValue); Methods resize Usage: ZoomImageProc::resize($inFile,$outFile,$resizeValue) Resize the input file based on resize parameters specified. Returns 1 on success and 0 on failure my $status = ZoomImageProc::resize($inFile,$outFile,$resizeValue); Converter Configuration &#8211; Below fields should be set in config.ini[ENVIRONMENT]convertPath = [&hellip;]","og_url":"https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/","og_site_name":"Evolphin Documentation","article_published_time":"2016-07-07T07:57:37+00:00","article_modified_time":"2020-05-18T13:12:27+00:00","author":"Rahul Bhargava","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rahul Bhargava"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/#article","isPartOf":{"@id":"https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/"},"author":{"name":"Rahul Bhargava","@id":"https:\/\/evolphin.com\/help\/#\/schema\/person\/e5f3dc53ac5f026ed258e224e75447f7"},"headline":"Perl SDK Module: ZoomImageProc","datePublished":"2016-07-07T07:57:37+00:00","dateModified":"2020-05-18T13:12:27+00:00","mainEntityOfPage":{"@id":"https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/"},"wordCount":67,"commentCount":0,"publisher":{"@id":"https:\/\/evolphin.com\/help\/#organization"},"articleSection":["Perl SDK"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/","url":"https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/","name":"Perl SDK Module: ZoomImageProc - Evolphin Documentation","isPartOf":{"@id":"https:\/\/evolphin.com\/help\/#website"},"datePublished":"2016-07-07T07:57:37+00:00","dateModified":"2020-05-18T13:12:27+00:00","breadcrumb":{"@id":"https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/evolphin.com\/help\/deployment\/perl-sdk\/perl-sdk-module-zoomimageproc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/evolphin.com\/help\/"},{"@type":"ListItem","position":2,"name":"Perl SDK Module: ZoomImageProc"}]},{"@type":"WebSite","@id":"https:\/\/evolphin.com\/help\/#website","url":"https:\/\/evolphin.com\/help\/","name":"Evolphin Documentation","description":"","publisher":{"@id":"https:\/\/evolphin.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/evolphin.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/evolphin.com\/help\/#organization","name":"Evolphin Documentation","url":"https:\/\/evolphin.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/evolphin.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/evolphin.com\/help\/wp-content\/uploads\/2020\/04\/cropped-evolphin-logo-dolphin_sm.png","contentUrl":"https:\/\/evolphin.com\/help\/wp-content\/uploads\/2020\/04\/cropped-evolphin-logo-dolphin_sm.png","width":200,"height":200,"caption":"Evolphin Documentation"},"image":{"@id":"https:\/\/evolphin.com\/help\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/evolphin.com\/help\/#\/schema\/person\/e5f3dc53ac5f026ed258e224e75447f7","name":"Rahul Bhargava","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/952acf4ec94a228ca32ed9b65cee4cc97a33509ea04500e768b71da346e58971?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/952acf4ec94a228ca32ed9b65cee4cc97a33509ea04500e768b71da346e58971?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/952acf4ec94a228ca32ed9b65cee4cc97a33509ea04500e768b71da346e58971?s=96&d=mm&r=g","caption":"Rahul Bhargava"}}]}},"_links":{"self":[{"href":"https:\/\/evolphin.com\/help\/wp-json\/wp\/v2\/posts\/4692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/evolphin.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/evolphin.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/evolphin.com\/help\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/evolphin.com\/help\/wp-json\/wp\/v2\/comments?post=4692"}],"version-history":[{"count":1,"href":"https:\/\/evolphin.com\/help\/wp-json\/wp\/v2\/posts\/4692\/revisions"}],"predecessor-version":[{"id":14792,"href":"https:\/\/evolphin.com\/help\/wp-json\/wp\/v2\/posts\/4692\/revisions\/14792"}],"wp:attachment":[{"href":"https:\/\/evolphin.com\/help\/wp-json\/wp\/v2\/media?parent=4692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/evolphin.com\/help\/wp-json\/wp\/v2\/categories?post=4692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/evolphin.com\/help\/wp-json\/wp\/v2\/tags?post=4692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}