At 09:16 PM 9/18/2002 -0400, Thomas J Cimicato wrote:
>Can a 6.5++ form display a tiff image. If so, how is that done.
Thom,
The upcoming In-Line Patch-3 (Build:1.858xRT03) for
The Glorious R:BASE 2000 (version 6.5++) for Windows,
currently under private beta, includes the ENHANCED
RBLOB.DLL and new GetTiff.DLL to support TIFF (Tagged
Image File Format), a file format used for scanning,
storing, and interchanging color and grey scale images.
You can display any page of a multi-page TIFF document.
Here are the details for each file:
File: GetTiff.DLL
Put this into the RBWIN65 directory and in your code,
put the following string:
SET VAR vPages TEXT = (UDF('@GetTiff.dll','<filename>'))
This will return one of the following vales:
* The actual number of pages in the document if the
document is valid
* -1 in the event the file is not readable
* -2 in the event that the file is not found
File: RBLOB.DLL
Drop this file into the RBWIN65 directory and overwrite
the old one.
When you create your variable, you will need to format
it like this:
SET VAR vImage VARCHAR = 'Multi.tiff|2, dmstretch'
Notes:
* After the filename, use a pipe ( | ) to specify a
particular page in a multi page TIF document.
* If you specify any number 0 or less (-23454 for example),
the first page in the document will display.
* If you specify any number greater than the amount of pages
in the document (4564545 for example), the last page of the
document will display. This is useful if you want to see
the last page, but aren't sure how many pages are in the
document.
* If you specify no page number, the first page will display.
* The "dmstretch" or other RBLOB parameter is optional.
You can simply specify the file and page.
This should work well, because since you now know how many
pages are in your document, you can build a vImage variable
on the fly that increments by 1 so that you can scroll
through the pages. And, it won't bomb if you accidentally
exceed the maximum page number.
Of course, the Magical R:BASE 7.0 for Windows includes the
built-in Note/BLOB Field Viewer/Editor.
Very Best Regards,
Razzak.
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/