ByteScout PDF Renderer SDK is the component (SDK) that renders PDF into high quality images and thumbnails. Includes various functions like page by page processing, BMP, PNG, TIFF or stream output. Can be used from web and desktop applications.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30621.155
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "PDF2TIFF", "PDF2TIFF.vbproj", "{FD27D536-AE58-41B6-89AC-EEFF1BBFC4AD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{FD27D536-AE58-41B6-89AC-EEFF1BBFC4AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FD27D536-AE58-41B6-89AC-EEFF1BBFC4AD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FD27D536-AE58-41B6-89AC-EEFF1BBFC4AD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FD27D536-AE58-41B6-89AC-EEFF1BBFC4AD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {616E1E0D-189C-4274-8F65-D5EA4CCC1504}
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{FD27D536-AE58-41B6-89AC-EEFF1BBFC4AD}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PDF2TIFF</RootNamespace>
<AssemblyName>PDF2TIFF</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG,TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Import Include="Microsoft.VisualBasic" />
<Import Include="System" />
</ItemGroup>
<ItemGroup>
</ItemGroup>
<ItemGroup>
<Reference Include="Bytescout.PDFRenderer, Version=1.10.0.98, Culture=neutral, PublicKeyToken=f7dd1bd9d40a50eb, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.vb" />
<Compile Include="Properties\AssemblyInfo.vb" />
</ItemGroup>
<ItemGroup>
<Content Include="multipage.pdf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.Targets" />
</Project>
Imports Bytescout.PDFRenderer
Class Program
Friend Shared Sub Main(args As String())
' Create an instance of Bytescout.PDFRenderer.RasterRenderer object and register it.
Dim renderer As New RasterRenderer()
renderer.RegistrationName = "demo"
renderer.RegistrationKey = "demo"
' Load PDF document.
renderer.LoadDocumentFromFile("multipage.pdf")
Dim renderingOptions As RenderingOptions = New RenderingOptions()
' Select TIFF compression
renderingOptions.TIFFCompression = TIFFCompression.LZW
For i As Integer = 0 To renderer.GetPageCount() - 1
' Render document page to TIFF image file.
renderer.Save("image" & i & ".tif", RasterImageFormat.TIFF, i, 96, renderingOptions)
Next
' Cleanup
renderer.Dispose()
' Open the first output file in default image viewer.
System.Diagnostics.Process.Start("image0.tif")
End Sub
End Class
See also:
Get Your API Key
See also: