summaryrefslogtreecommitdiffstats
path: root/tkimg/tests/tiff.test
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-01-08 21:02:55 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-01-08 21:02:55 (GMT)
commitdbbb38af9cefef9e9e1a03c97945ee59063aa782 (patch)
treedeefc089aa3327ebd4daa943b47c0d8f34af6bc7 /tkimg/tests/tiff.test
parent54ae0375ebd9242bdf2eeceacee4c5b2de914bc1 (diff)
downloadblt-dbbb38af9cefef9e9e1a03c97945ee59063aa782.zip
blt-dbbb38af9cefef9e9e1a03c97945ee59063aa782.tar.gz
blt-dbbb38af9cefef9e9e1a03c97945ee59063aa782.tar.bz2
update tkimg 1.4.7
Diffstat (limited to 'tkimg/tests/tiff.test')
-rwxr-xr-xtkimg/tests/tiff.test54
1 files changed, 0 insertions, 54 deletions
diff --git a/tkimg/tests/tiff.test b/tkimg/tests/tiff.test
deleted file mode 100755
index d7c4d09..0000000
--- a/tkimg/tests/tiff.test
+++ /dev/null
@@ -1,54 +0,0 @@
-# This file is a Tcl script to test out TIFF reading and writing.
-# It is organized in the standard fashion for Tcl tests.
-#
-
-if {[string compare test [info procs test]] == 1} {
- source defs
-}
-
-set tiffdata \
-{TU0AKgAAAkgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
-AAAAAAAAAAAAAADw/4Dw/4Dw/4Dw/4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
-AADw/4Dw/4Dw/4Dw/4Dw/4Dw/4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADw/4Dw/4Dw/4Dw/4Dw
-/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4AAAAAAAAAAAAAAAAAAAADw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw
-/4Dw/4Dw/4Dw/4Dw/4AAAAAAAAAAAAAAAAAAAADw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw
-/4Dw/4Dw/4AAAAAAAAAAAAAAAAAAAADw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw
-/4AAAAAAAAAAAAAAAAAAAADw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4AAAAAA
-AAAAAAAAAAAAAADw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4AAAAAAAAAAAAAA
-AAAAAADw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4Dw/4AAAAAAAAAAAAAAAAAAAAAA
-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgEAAAMAAAAB
-ABAAAAEBAAMAAAABAAwAAAECAAMAAAADAAAC9gEDAAMAAAABAAEAAAEGAAMAAAABAAIAAAER
-AAQAAAABAAAACAESAAMAAAABAAEAAAEVAAMAAAABAAMAAAEWAAMAAAABAAwAAAEXAAQAAAAB
-AAACQAEaAAUAAAABAAAC/AEbAAUAAAABAAADBAEcAAMAAAABAAEAAAEoAAMAAAABAAIAAAAA
-AAAACAAIAAgSwAAAAAQAABLAAAAABAAA}
-
-test tiff-1.1 {} {
- catch {image delete i}
- image create photo i -file folder.tif
-} i
-test tiff-1.2 {} {
- catch {image delete i}
- image create photo i
- i put $tiffdata
- i data -format {tiff -byteorder bigendian}
-} $tiffdata
-test tiff-1.3 {} {
- i blank
- i put $tiffdata -format tiff
- i data -format {tiff -byteorder bigendian}
-} $tiffdata
-
-if {[info tclversion] < 8.0} {
- return
-}
-
-test tiff-2.0 {Binary I/O with TIFF images} {
- i blank
- set f [open folder.tif r]
- fconfigure $f -translation binary
- set return [catch {i put [read $f]} msg]
- close $f
- lappend return $msg
-} {0 {}}
-