Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Foxit Quick PDF Library - JPEG2000
  FAQ FAQ  Forum Search   Register Register  Login Login

Foxit Quick PDF Library - JPEG2000

 Post Reply Post Reply
Author
Message Reverse Sort Order
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Topic: Foxit Quick PDF Library - JPEG2000
    Posted: 20 Feb 24 at 8:05PM
Hi Werner :)

It's a pdf library to handle and maintain pdf documents - not an image library ;-)
Nevertheless inside/internally it can work with the jpeg2000-format.
Below is a part from a source function:
procedure TPDFImageDecoder.LoadJPEG2000;
{$IFDEF NOJPEG2000}
begin
end;
{$ELSE}
var
  MS: TMemoryStream;
  JB: TJpeg2000Bitmap;
  Row: Integer;
  Col: Integer;
  CMYK: TPDFCMYKColor;
  RGB: TPDFRGBColor;
  RowData: array of Byte;
  IsCMYK: Boolean;
begin
  IsCMYK := False;
  JB := TJpeg2000Bitmap.Create;
  try
    MS := TMemoryStream.Create;
// ...

The real render functions of the library doesn't support jpeg2000.
Below you'll find the render options from the reference guide:
Options
0 = BMP output
1 = JPEG output
2 = WMF output
3 = EMF output
4 = EPS output
5 = PNG output
6 = GIF output
7 = TIFF output
8 = EMF+ output
9 = HTML5 output
10 = G4 TIFF output

http://quickpdf.xobor.de/

Cheers,
Ingo

Back to Top
weha View Drop Down
Beginner
Beginner
Avatar

Joined: 12 Jan 24
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote weha Quote  Post ReplyReply Direct Link To This Post Posted: 12 Jan 24 at 2:12PM
I have a PDF document from a scanner. The document contains images in JPEG2000 format. The Foxit Quick PDF Library returns BMP as image type (GetImageListItemIntProperty(imageList, imageNumber, 400) = 2) and displays the image as a black rectangle. 

My question: Can the Foxit Quick PDF Library render JPEG2000 images?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store