Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Rendering a PDF file on a canvas?

46 views
Skip to first unread message

Chris McDonald

unread,
Aug 24, 2007, 6:15:53 AM8/24/07
to
Hello All,

Does anyone know of a, or could recommended one from a plethora of
choices, an extension that enables a Tcl/Tk application to render a PDF
file on a canvas? If I can be greedy, I'd like to be able to zoom in
and out as well.... Here's hoping!

______________________________________________________________________________
Dr Chris McDonald E: ch...@csse.uwa.edu.au
Computer Science & Software Engineering W: http://www.csse.uwa.edu.au/~chris
The University of Western Australia, M002 T: +618 6488 2533
Crawley, Western Australia, 6009 F: +618 6488 1089

garrison

unread,
Aug 24, 2007, 9:39:39 AM8/24/07
to
I've put together a tcl extension using the cximage, xpdf, ikit,
twain, etc libraries.

The extension provides a robust imaging solution from scanning to
displaying in TK... And TK is optional...

The only issue it has is that it uses a commercial library for the
OCR, this needs to be stripped out, just need to incorporate the open
gocr library to replace it...

It is windows based though...

This was developed to support custom automated scanning and viewing of
documents (TIFF and PDF)...

jim garrison

Cesar Rabak

unread,
Aug 24, 2007, 10:20:14 AM8/24/07
to
garrison escreveu:

> I've put together a tcl extension using the cximage, xpdf, ikit,
> twain, etc libraries.

Is this library generally available?


--
Cesar Rabak

garrison

unread,
Aug 24, 2007, 11:59:26 AM8/24/07
to
I can make it available, just don't have a place to put it at the
moment...

Jim Garrison


sp...@controlq.com

unread,
Aug 24, 2007, 12:58:05 PM8/24/07
to
On Fri, 24 Aug 2007, garrison wrote:

...
>
> The only issue it has is that it uses a commercial library for the
> OCR, this needs to be stripped out, just need to incorporate the open
> gocr library to replace it...
>
> It is windows based though...

I've heard good things about tesseract (now open source) originally from
HP. Apparently the scan accuracy rate is very high, and it is batch
oriented, so might lend itself towards tcl integration ... as a plugin
replacement ...

http://sourceforge.net/projects/tesseract-ocr

Cameron Laird

unread,
Aug 24, 2007, 1:11:49 PM8/24/07
to
In article <1187971166.0...@z24g2000prh.googlegroups.com>,

We'll find one.

That is, if no one else volunteers a superior alternative,
Phaseit will happily donate a long-term stable URL convenient
for you.

Cameron Laird

unread,
Aug 24, 2007, 1:43:55 PM8/24/07
to
In article <1187962779.9...@i38g2000prf.googlegroups.com>,

Wow.

Do Tk canvases survive a round-trip? Are these operations
idempotent?

I don't ask that to criticize at all; whether the package
provides this secondary value hardly affects the magnitude
of the functionality you've already described.

garrison

unread,
Sep 6, 2007, 5:02:58 PM9/6/07
to

The package has been placed in sourceforge:
http://sourceforge.net/projects/tclimage

the dll and docs are in the release folder (cvs)

No packages have been made yet, you need to go to cvs to download...

jim

0 new messages