Export LISTOBJECT to JPG from Excel

Perl library for exporting LISTOBJECT to JPG file

Use Export API of Cells Cloud to export Excel file internal object workflows in Perl. This is a professional solution to export LISTOBJECT to JPG format file from spreadsheet online using Perl.

Export LISTOBJECT object to JPG format file using Cells Cloud SDK for Perl

API
POST
https://api.aspose.cloud/v3.0/cells/export

Export LISTOBJECT object to JPG file from Excel file is a complex task. Export LISTOBJECT to JPG format transitions is performed by our Perl SDK while maintaining the source LISTOBJECT spreadsheet's main structural and logical content. Our Perl library is a professional solution to export LISTOBJECT objects to JPG format files online. This Cloud SDK gives Perl developers powerful functionality and perfect JPG output.

Code example in Perl using REST API to export LISTOBJECT to JPG format from spreadsheet

# For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl/
    use strict;
    use warnings;
    use utf8; 
    use File::Slurp;
    use MIME::Base64;
    use AsposeCellsCloud::LightCellsApi;
    my $config = AsposeCellsCloud::Configuration->new( client_id => $ENV{'ProductClientId'}, client_secret => $ENV{'ProductClientSecret'});
    my $instance = AsposeCellsCloud::LightCellsApi->new(AsposeCellsCloud::ApiClient->new( $config));
    my $filemap = { 'Book1.xlsx' => '~/TestData/Book1.xlsx', 'myDocument.xlsx' => ~/TestData/myDocument.xlsx'};
    my $result = $instance->post_export(file => $filemap , object_type => 'listobject',format => 'jpg');
    my $decoded = decode_base64($result->{'files'}[0]->{'file_content'});
    open(my $fh, '>',$result->{'files'}[0]->{'filename'}) or die "Could not open file!";
    binmode $fh;
    print $fh $decoded;
    close $fh;

How to use Cells Cloud SDK for Perl to export objects from Excel LISTOBJECT to JPG

  1. Register an account at Dashboard to get free API quota & authorization details
  2. Initialize the Cells API with your Client ID, Client Secret, Base URL, and API version.
  3. Call post_export method to get the resultant stream

System Requirements

  1. Perl 5