Search found 31 matches

by sbarlow
Mon Jul 30, 2018 6:51 pm
Forum: PDF
Topic: Missing methods after upgrading to 14.0.0.61
Replies: 1
Views: 409

Missing methods after upgrading to 14.0.0.61

Hello, I was upgrading my application to 14.0.0.61 from an earlier version of 14 and noticed the following PDF & OCR methods and events no longer exist under gdpictureimaging. Is there a simple alternative to them? I see the sample but rather not have to replace the simplicity of some of the methods...
by sbarlow
Wed Nov 15, 2017 2:30 pm
Forum: PDF
Topic: Most reliable way to insert an existing PDF with multiple pages into another PDF
Replies: 3
Views: 1326

Re: Most reliable way to insert an existing PDF with multiple pages into another PDF

Thanks Jean-Luc,

I elected to go with building a new PDF using the clone method (page by page) from the PDF's involved

Scott
by sbarlow
Fri Nov 10, 2017 2:50 pm
Forum: PDF
Topic: Most reliable way to insert an existing PDF with multiple pages into another PDF
Replies: 3
Views: 1326

Most reliable way to insert an existing PDF with multiple pages into another PDF

I see there are a few ways to be able to insert a PDF with multiple pages into another PDF with multiple pages. Which is the better way to go? For both speed and reliability, the PDFs may or may not have been generated from GDPicture 1) Split the original using clone (page by page) creating 2 PDFs s...
by sbarlow
Thu Aug 10, 2017 4:10 pm
Forum: PDF
Topic: Extracting PDF from Viewer
Replies: 3
Views: 2295

Re: Extracting PDF from Viewer

Never Mind :)
I see the philosophy has changed. Unfortunately it will cause rather extensive code changes in my application.
As described here for anyone else

viewtopic.php?f=29&t=4252&p=14181&hilit=viewer#p14181
by sbarlow
Wed Aug 09, 2017 4:43 pm
Forum: PDF
Topic: Extracting PDF from Viewer
Replies: 3
Views: 2295

Extracting PDF from Viewer

Hello, I have just purchased GDP 14 Ultimate and updating a large application written with version 6. I see a lot has changed. Previously I had used GdViewer1.PDFRenderPageToGdPictureImage to pull individual PDF pages from the viewer. Is this no longer possible? What is the simplest way to be able t...
by sbarlow
Fri Aug 06, 2010 1:13 pm
Forum: Image Processing & Document Imaging
Topic: PdfReaderRenderPageToGdPictureImage and bitonal content
Replies: 4
Views: 1423

Re: PdfReaderRenderPageToGdPictureImage and bitonal content

Do you mean from the output from the output of PdfReaderRenderPageToGdPictureImage ?

Scott
by sbarlow
Thu Aug 05, 2010 6:14 pm
Forum: Image Processing & Document Imaging
Topic: PdfReaderRenderPageToGdPictureImage and bitonal content
Replies: 4
Views: 1423

Re: PdfReaderRenderPageToGdPictureImage and bitonal content

Hi Scott, The rasterizer engine always generate color output image. If you want to get a bitonal image you have just to use the ConvertTo1Bpp method. If you want to extract image from PDF in its native bitdepth you should use the PdfReaderRenderExtractImage method. Kind regards, Loïc Thanks Loïc, B...
by sbarlow
Thu Aug 05, 2010 4:52 pm
Forum: Image Processing & Document Imaging
Topic: PdfReaderRenderPageToGdPictureImage and bitonal content
Replies: 4
Views: 1423

PdfReaderRenderPageToGdPictureImage and bitonal content

Hi, I'm having an issue when converting from a PDF with B&W image content to a multipage TIFF After using the PdfReaderRenderPageToGdPictureImage method , and using TiffSaveAsMultiPageFile(MultiPageID, ImagefileName, TiffCompression.TiffCompressionAUTO) the tiff pages are always LZW compressed, inst...
by sbarlow
Tue Jul 27, 2010 11:02 pm
Forum: Feature Requests
Topic: Auto convert to bitonal before PDF OCR
Replies: 1
Views: 1167

Re: Auto convert to bitonal before PDF OCR

Adding another thought...if using SaveAsPDFOCR and PdfAddGdPictureImageToPdfOCR, Just work the method so that it takes a B&W image as an argument (PDFID,IMAGEID,BWID,,,,) That way we could supply the black and white image , either extracted from the single or multipage , filter as needed to get the ...
by sbarlow
Tue Jul 27, 2010 6:47 pm
Forum: Feature Requests
Topic: Auto convert to bitonal before PDF OCR
Replies: 1
Views: 1167

Auto convert to bitonal before PDF OCR

Hi Loïc, In the methods SaveAsPDFOCR and PdfAddGdPictureImageToPdfOCR (and maybe even PdfOCRCreateFromMultipageTIFF, but I know it would be much harder) , would it be possible to have an overload that converted color images to bitonal before performing the OCR. The image within the PDF would still b...
by sbarlow
Thu Jun 10, 2010 4:06 pm
Forum: Image Processing & Document Imaging
Topic: Tagging or marking individual pages in a CCITT4 tiff file
Replies: 6
Views: 1253

Re: Tagging or marking individual pages in a CCITT4 tiff file

HI Loïc,

Not at all now that I know, thanks

Scott
by sbarlow
Thu Jun 10, 2010 3:41 pm
Forum: Image Processing & Document Imaging
Topic: Tagging or marking individual pages in a CCITT4 tiff file
Replies: 6
Views: 1253

Re: Tagging or marking individual pages in a CCITT4 tiff file

HI Loïc, I didn't realize that the GdPictureImaging.TagGetValueString returns a null terminated string, is this normal? Dim sval As String = GDP.TagGetValueString(ImageID, tagsI) Dim ca() As Char = sval.ToCharArray For Each c As Char In ca Debug.Print(Asc(c).ToString) Next Will show ASCII code 0 at ...
by sbarlow
Thu Jun 10, 2010 2:07 pm
Forum: Image Processing & Document Imaging
Topic: Tagging or marking individual pages in a CCITT4 tiff file
Replies: 6
Views: 1253

Re: Tagging or marking individual pages in a CCITT4 tiff file

Thanks Loïc,

I must have been doing something stupid, my over thought out code was not working , your simple example did, grin.

easy fix thanks,

Scott
by sbarlow
Wed Jun 09, 2010 8:59 pm
Forum: Image Processing & Document Imaging
Topic: Tagging or marking individual pages in a CCITT4 tiff file
Replies: 6
Views: 1253

Tagging or marking individual pages in a CCITT4 tiff file

Hi, I've been trying to figure out a way to either modify a tag, add a new tag, to the individual image pages in a multipage tiff file, but I'm not having any luck. Doesn't even have to be a tag, just some way of recognizing the page as being modified, change width, height anything. Purpose is to re...
by sbarlow
Fri Dec 11, 2009 4:38 pm
Forum: Document Viewing
Topic: Viewer resize issue
Replies: 2
Views: 1001

Re: Viewer resize issue

My fault, I just figured it out, I was releasing the image from gdpicture after loading the viewer (dumb on my part) Dim ImageID As Integer = GDP.CreateGdPictureImageFromFile(filepath) GdViewer1.DisplayFromGdPictureImage(ImageID) GDP.ReleaseGdPictureImage(ImageID) '<--- why I did this I have no idea...