JPedal PDF SDK Cloud Trial

Convert PDF to Image and Extract Text from PDF from any programming language

Trial JPedal in the Cloud

Your free trial is active for 14 days and allows 20 conversions. Your files will be stored on our server for up to 1 hour.

JPedal is a Java application that can be run directly from command line or deployed to a Java Application Server such as Tomcat or Jetty on an on-premise or cloud server. Our cloud trial allows you to try JPedal from other languages without needing to figure out server configuration or implementation specifics.

Trial JPedal with PHP

Get started with the following steps:

  1. Ensure PHP 5.6 (or higher) and composer is installed
  2. Run the following command: composer require idrsolutions/idrsolutions-php-client
  3. Copy/Paste the code on the right
<?php

require_once __DIR__ . "/PATH/TO/vendor/autoload.php";

use IDRsolutions\IDRCloudClient;

$endpoint = "https://trial.idrsolutions.com/trial/" . IDRCloudClient::INPUT_JPEDAL;
$parameters = array(
    'token' => 'YOUR_TRIAL_TOKEN', // Token provided to you via e-mail
    'input' => IDRCloudClient::INPUT_UPLOAD,
    'file' => 'path/to/file.pdf',
    'settings' => '{"mode": "convertToImages", "format": "jpg"}'
);

$results = IDRCloudClient::convert(array(
    'endpoint' => $endpoint,
    'parameters' => $parameters
));

IDRCloudClient::downloadOutput($results, 'path/to/outputDir');

echo $results['downloadUrl'];
<?php

require_once __DIR__ . "/PATH/TO/vendor/autoload.php";

use IDRsolutions\IDRCloudClient;

$endpoint = "https://trial.idrsolutions.com/trial/" . IDRCloudClient::INPUT_JPEDAL;
$parameters = array(
    'token' => 'YOUR_TRIAL_TOKEN', // Token provided to you via e-mail
    'input' => IDRCloudClient::INPUT_UPLOAD,
    'file' => 'path/to/file.pdf',
    'settings' => '{"mode": "extractText", "type": "plainText"}'
);

$results = IDRCloudClient::convert(array(
    'endpoint' => $endpoint,
    'parameters' => $parameters
));

IDRCloudClient::downloadOutput($results, 'path/to/outputDir');

echo $results['downloadUrl'];
<?php

require_once __DIR__ . "/PATH/TO/vendor/autoload.php";

use IDRsolutions\IDRCloudClient;

$endpoint = "https://trial.idrsolutions.com/trial/" . IDRCloudClient::INPUT_JPEDAL;
$parameters = array(
    'token' => 'YOUR_TRIAL_TOKEN', // Token provided to you via e-mail
    'input' => IDRCloudClient::INPUT_UPLOAD,
    'file' => 'path/to/file.pdf',
    'settings' => '{"mode": "extractImages", "type": "rawImages"}'
);

$results = IDRCloudClient::convert(array(
    'endpoint' => $endpoint,
    'parameters' => $parameters
));

IDRCloudClient::downloadOutput($results, 'path/to/outputDir');

echo $results['downloadUrl'];

Trial JPedal with Ruby

Get started with the following steps:

  1. Ensure Ruby 2.0 (or higher) is installed
  2. Run the following command: gem install idr_cloud_client
  3. Copy/Paste the code on the right
require 'idr_cloud_client'

client = IDRCloudClient.new('https://trial.idrsolutions.com/trial/' + IDRCloudClient::JPEDAL)

conversion_results = client.convert(
    input: IDRCloudClient::UPLOAD,
    file: 'path/to/file.pdf',
    token: 'YOUR_TRIAL_TOKEN', # Token provided to you via e-mail
    settings: '{"mode": "convertToImages", "format": "jpg"}'
)

client.download_result(conversion_results, 'path/to/outputDir')

puts 'Converted: ' + conversion_results['downloadUrl']
require 'idr_cloud_client'

client = IDRCloudClient.new('https://trial.idrsolutions.com/trial/' + IDRCloudClient::JPEDAL)

conversion_results = client.convert(
    input: IDRCloudClient::UPLOAD,
    file: 'path/to/file.pdf',
    token: 'YOUR_TRIAL_TOKEN', # Token provided to you via e-mail
    settings: '{"mode": "extractText", "type": "plainText"}'
)

client.download_result(conversion_results, 'path/to/outputDir')

puts 'Converted: ' + conversion_results['downloadUrl']
require 'idr_cloud_client'

client = IDRCloudClient.new('https://trial.idrsolutions.com/trial/' + IDRCloudClient::JPEDAL)

conversion_results = client.convert(
    input: IDRCloudClient::UPLOAD,
    file: 'path/to/file.pdf',
    token: 'YOUR_TRIAL_TOKEN', # Token provided to you via e-mail
    settings: '{"mode": "extractImages", "type": "rawImages"}'
)

client.download_result(conversion_results, 'path/to/outputDir')

puts 'Converted: ' + conversion_results['downloadUrl']

Trial JPedal with C#

Get started with the following steps:

  1. Ensure .NET 2.0 (or higher) and Nuget is installed
  2. Run the following command: nuget install idrsolutions-csharp-client
  3. Copy/Paste the code on the right
using idrsolutions_csharp_client;
var client = new IDRCloudClient("https://trial.idrsolutions.com/trial/" + IDRCloudClient.JPEDAL);

try
{
    Dictionary<string, string> parameters = new Dictionary<string, string>
    {
        ["input"] = IDRCloudClient.UPLOAD,
        ["token"] = "YOUR_TRIAL_TOKEN", // Token provided to you via e-mail
        ["settings"] = "{\"mode\": \"convertToImages\", \"type\": \"jpg\"}",
        ["file"] = "path/to/file.pdf"
    };

    Dictionary<string, string> conversionResults = client.Convert(parameters);

    client.DownloadResult(conversionResults, "path/to/outputDir");

    Console.WriteLine("Converted: " + conversionResults["downloadUrl"]);
}
catch (Exception e)
{
    Console.WriteLine("File conversion failed: " + e.Message);
}
using idrsolutions_csharp_client;
var client = new IDRCloudClient("https://trial.idrsolutions.com/trial/" + IDRCloudClient.JPEDAL);

try
{
    Dictionary<string, string> parameters = new Dictionary<string, string>
    {
        ["input"] = IDRCloudClient.UPLOAD,
        ["token"] = "YOUR_TRIAL_TOKEN", // Token provided to you via e-mail
        ["settings"] = "{\"mode\": \"extractText\", \"type\": \"plainText\"}",
        ["file"] = "path/to/file.pdf"
    };

    Dictionary<string, string> conversionResults = client.Convert(parameters);

    client.DownloadResult(conversionResults, "path/to/outputDir");

    Console.WriteLine("Converted: " + conversionResults["downloadUrl"]);
}
catch (Exception e)
{
    Console.WriteLine("File conversion failed: " + e.Message);
}
using idrsolutions_csharp_client;
var client = new IDRCloudClient("https://trial.idrsolutions.com/trial/" + IDRCloudClient.JPEDAL);

try
{
    Dictionary<string, string> parameters = new Dictionary<string, string>
    {
        ["input"] = IDRCloudClient.UPLOAD,
        ["token"] = "YOUR_TRIAL_TOKEN", // Token provided to you via e-mail
        ["settings"] = "{\"mode\": \"extractImages\", \"type\": \"rawImages\"}",
        ["file"] = "path/to/file.pdf"
    };

    Dictionary<string, string> conversionResults = client.Convert(parameters);

    client.DownloadResult(conversionResults, "path/to/outputDir");

    Console.WriteLine("Converted: " + conversionResults["downloadUrl"]);
}
catch (Exception e)
{
    Console.WriteLine("File conversion failed: " + e.Message);
}

Trial JPedal with Node.JS

Get started with the following steps:

  1. Ensure Node.js (or higher) and NPM is installed
  2. Run the following command: npm install --save @idrsolutions/idrcloudclient
  3. Copy/Paste the code on the right
var idrcloudclient = require('@idrsolutions/idrcloudclient');

idrcloudclient.convert({
    endpoint: 'https://trial.idrsolutions.com/trial/' + idrcloudclient.JPEDAL,
    parameters: {
        input: idrcloudclient.UPLOAD,
        file: 'path/to/file.pdf',
        settings: '{"mode": "convertToImages", "format": "jpg"}'
        token: 'YOUR_TRIAL_TOKEN', // Token provided to you via e-mail
    },

    failure: function(e) {
        console.log(e);
    },
    progress: function() { },
    success: function(e) {
        console.log('Converted ' + e.downloadUrl);
    }
});
var idrcloudclient = require('@idrsolutions/idrcloudclient');

idrcloudclient.convert({
    endpoint: 'https://trial.idrsolutions.com/trial/' + idrcloudclient.JPEDAL,
    parameters: {
        input: idrcloudclient.UPLOAD,
        file: 'path/to/file.pdf',
        settings: '{"mode": "extractText", "format": "plainText"}'
        token: 'YOUR_TRIAL_TOKEN', // Token provided to you via e-mail
    },

    failure: function(e) {
        console.log(e);
    },
    progress: function() { },
    success: function(e) {
        console.log('Converted ' + e.downloadUrl);
    }
});
var idrcloudclient = require('@idrsolutions/idrcloudclient');

idrcloudclient.convert({
    endpoint: 'https://trial.idrsolutions.com/trial/' + idrcloudclient.JPEDAL,
    parameters: {
        input: idrcloudclient.UPLOAD,
        file: 'path/to/file.pdf',
        settings: '{"mode": "extractImages", "format": "rawImages"}'
        token: 'YOUR_TRIAL_TOKEN', // Token provided to you via e-mail
    },

    failure: function(e) {
        console.log(e);
    },
    progress: function() { },
    success: function(e) {
        console.log('Converted ' + e.downloadUrl);
    }
});

Trial JPedal with Python

Get started with the following steps:

  1. Ensure Python 3 (or higher) and pip is installed
  2. Run the following command: pip install IDRCloudClient
  3. Copy/Paste the code on the right
from IDRSolutions import IDRCloudClient

client = IDRCloudClient('https://trial.idrsolutions.com/trial/' + IDRCloudClient.JPEDAL)
try:
    result = client.convert(
        input=IDRCloudClient.UPLOAD,
        file='path/to/file.pdf',
        token='YOUR_TRIAL_TOKEN', # Token provided to you via e-mail
        settings='{"mode": "convertToImages", "format": "jpg"}'
    )

    outputURL = result['downloadUrl']

    client.downloadResult(result, 'path/to/outputDir')

    if outputURL is not None:
        print("Download URL: " + outputURL)

except Exception as error:
    print(error)
from IDRSolutions import IDRCloudClient

client = IDRCloudClient('https://trial.idrsolutions.com/trial/' + IDRCloudClient.JPEDAL)
try:
    result = client.convert(
        input=IDRCloudClient.UPLOAD,
        file='path/to/file.pdf',
        token='YOUR_TRIAL_TOKEN', # Token provided to you via e-mail
        settings='{"mode": "extractText", "format": "plainText"}'
    )

    outputURL = result['downloadUrl']

    client.downloadResult(result, 'path/to/outputDir')

    if outputURL is not None:
        print("Download URL: " + outputURL)

except Exception as error:
    print(error)
from IDRSolutions import IDRCloudClient

client = IDRCloudClient('https://trial.idrsolutions.com/trial/' + IDRCloudClient.JPEDAL)
try:
    result = client.convert(
        input=IDRCloudClient.UPLOAD,
        file='path/to/file.pdf',
        token='YOUR_TRIAL_TOKEN', # Token provided to you via e-mail
        settings='{"mode": "extractImages", "format": "rawImages"}'
    )

    outputURL = result['downloadUrl']

    client.downloadResult(result, 'path/to/outputDir')

    if outputURL is not None:
        print("Download URL: " + outputURL)

except Exception as error:
    print(error)

Trial JPedal with JavaScript

Get started with the following steps:

  1. Try out the online demo
  2. View the JavaScript client on GitHub to learn more