]> OCCT Git - occt-copy.git/commitdiff
0023434: Generate images in lossless format (PNG) instead of lossy GIF currently...
authormiv <miv@opencascade.com>
Fri, 12 Oct 2012 13:18:48 +0000 (17:18 +0400)
committermiv <miv@opencascade.com>
Fri, 19 Oct 2012 14:16:06 +0000 (18:16 +0400)
19 files changed:
tests/3rdparty/end
tests/blend/end
tests/boolean/end
tests/bugs/end
tests/bugs/iges/end
tests/caf/presentation/end
tests/chamfer/end
tests/draft/end
tests/feat/end
tests/heal/end
tests/mesh/end
tests/mkface/end
tests/nproject/end
tests/offset/end
tests/pipe/end
tests/prism/end
tests/sewing/end
tests/thrusection/end
tests/xcaf/end

index 94ae5657f11449df57e522ad8d0e203c474611db..a818ecc36c09b8b260dca882d2fecea80ca077b1 100755 (executable)
@@ -1,4 +1,4 @@
-vdump $imagedir/${test_image}.gif
+vdump $imagedir/${test_image}.png
 
 puts ""
 puts "TEST COMPLETED" 
index 16eadc7148f89e0b1babb3c62aa94dcb02ac5e56..41f314c2a0295409c962a24e1695e2ec9a067c33 100644 (file)
@@ -23,7 +23,7 @@ if { [isdraw result] } {
       smallview
       donly result
       fit
-      xwd $imagedir/${test_image}.gif
+      xwd $imagedir/${test_image}.png
    }
 } else {
    puts "Error : The blend can not be build."
index 0ff1bc857a7f1900aafc618ea15dd79095b4376c..bc8b9ae8ea8b231c5338c0c1421fc468e9897867 100755 (executable)
@@ -68,7 +68,7 @@ if { [isdraw result] } {
       donly a b
    }
    fit
-   xwd $imagedir/${test_image}.gif
+   xwd $imagedir/${test_image}.png
 } else {
    puts "Error : The $command can not be build."
 }
index 014f78ba513f9a89efa28547994eb6467714f973..c0d6f2d670610719a9af663c5bf156c0d030f9a5 100755 (executable)
@@ -4,7 +4,7 @@ if { [isdraw result] } {
        smallview
        donly result
        fit
-       xwd $imagedir/${test_image}.gif
+       xwd $imagedir/${test_image}.png
     }
     if { [info exists 3dviewer] } {
        vinit
@@ -12,17 +12,17 @@ if { [isdraw result] } {
        vdisplay result
        vsetdispmode 1
        vfit
-       vdump $imagedir/${test_image}.gif
+       vdump $imagedir/${test_image}.png
     }
 } else {
     if { [info exists 3dviewer] } {
        if { ${3dviewer} == 2 } {
-               vdump $imagedir/${test_image}.gif
+               vdump $imagedir/${test_image}.png
        }
     }
 }
     if { [info exist only_xwd] } {
-       xwd $imagedir/${test_image}.gif 
+       xwd $imagedir/${test_image}.png 
     }
 #} else {
 #   puts "Error : The command can not be build."
index 08b2023b0b85e621267f1d0b5f2e1d424490118f..ed449955a868918e15cfd5a004837ca9886ed5f4 100755 (executable)
@@ -4,6 +4,6 @@ if { [info exists CR22888_draw] } {
 #vdisplay result
 #vsetdispmode 1
 #vfit
-    vdump $imagedir/${test_image}.gif
+    vdump $imagedir/${test_image}.png
 }
 
index 840f512136d74b07152237069dbbbde96bfa5ef0..a54ee98aa1b97d416b9082047d6a9aa5e9eb8eca 100755 (executable)
@@ -5,4 +5,4 @@ if { [info exists imagedir] == 0 } {
 if { [info exists test_image ] == 0 } {
    set test_image photo
 }
-vdump $imagedir/${test_image}.gif
+vdump $imagedir/${test_image}.png
index fb1c01a5c51a513bbf9a37050f50df40db77b98c..883cede8d7cd42e7ff577979b0b5f65abeb4205e 100644 (file)
@@ -34,5 +34,5 @@ if { [info exists test_image ] == 0 } {
    set test_image photo
 }
 
-xwd $imagedir/${test_image}.gif
+xwd $imagedir/${test_image}.png
 puts "TEST COMPLETED"
index 2289e936af5342b3a4b712d3bcee70c562eed074..ecd3b925d3b84497b62fa246bc88a818e9675d8a 100755 (executable)
@@ -35,7 +35,7 @@ if { [isdraw result] } {
       smallview
       donly result
       fit
-      xwd $imagedir/${test_image}.gif
+      xwd $imagedir/${test_image}.png
    }
 } else {
    puts "Error : The depouille can not be build."
index 683fcadaa564e8d1ab6aef77f9d13a6aea73c88e..cec8e5ca06e26ad97e3bb477ac1f4698c533a4ff 100755 (executable)
@@ -24,7 +24,7 @@ if { [isdraw result] } {
       smallview
       donly result
       fit
-      xwd $imagedir/${test_image}.gif
+      xwd $imagedir/${test_image}.png
    } 
 } else {
    puts "Error : The feat can not be build."
index 9506efd7ac95a50f11e3f6705ad24afb345eab47..b1bc29c6f56c2de6c55ba44459928eabca7a9718 100755 (executable)
@@ -6,5 +6,5 @@ if { [isdraw result] } {
    puts "Error : result shape is not done."
 }
 fit
-xwd $imagedir/${test_image}.gif
+xwd $imagedir/${test_image}.png
 puts "TEST COMPLETED"
index ac54183b8b7b9919d555ce52c7e1d7a6d96c88c6..5df0e00f31194efdb1a59e4cca1e3d5dcdded920 100644 (file)
@@ -190,14 +190,14 @@ if { [info exists test_image ] == 0 } {
 }
 
 if { [string compare $command "shading"] == 0 } {
-    vdump $imagedir/${test_image}.gif
+    vdump $imagedir/${test_image}.png
 } else {
     isos 0
     smallview
     donly res
     fit
     triangles res
-    xwd $imagedir/${test_image}.gif
+    xwd $imagedir/${test_image}.png
 }
 
 puts ""
index 1b9c6637aae3207c4e2c18848ee02df2b74fe959..3c720d7af3480f05757e3efb1e368cc3795e58b1 100755 (executable)
@@ -44,7 +44,7 @@ if { [isdraw result] } {
    clear
    donly result
    fit
-   xwd $imagedir/${test_image}.gif
+   xwd $imagedir/${test_image}.png
 
 } else {
    puts "Error : The mkface can not be build."
index 092dc38a2f7edd6ee1af55eb8b01af0cc90ea2bc..acda8739dfa59e885765e98bef8bf1f021e225b4 100755 (executable)
@@ -30,12 +30,12 @@ if { [isdraw result] } {
       clear
       donly result
       fit
-      xwd $imagedir/${test_image}.gif
+      xwd $imagedir/${test_image}.png
    } else {
       smallview
       clear
       fit
-      xwd $imagedir/${test_image}.gif
+      xwd $imagedir/${test_image}.png
    }
 } else {
    puts "Error : The $command can not be build."
index 476f2f18be9fe23a6b80b7d4cd9edae6f2e6448a..0bc43fea627aa81e37a5b8ad47b7ddf0d0336eab 100644 (file)
@@ -137,7 +137,7 @@ if { [isdraw result] && $mist == 0} {
        smallview
        donly result
        fit
-       xwd $imagedir/${test_image}.gif
+       xwd $imagedir/${test_image}.png
     } 
 } else {
     puts "Error : The offset can not be build."
index 6695c566ae077b1e3d9ac360ceba5bd0ba724073..c61ac31d565fd3b3dd05c13ea25f1af115b4033e 100644 (file)
@@ -19,7 +19,7 @@ if { [isdraw result] } {
       smallview
       donly result
       fit
-      xwd $imagedir/${test_image}.gif
+      xwd $imagedir/${test_image}.png
    } 
 } else {
    puts "Error : The pipe can not be build."
index 9f63c158bffab3ae2bb1f85e3346df1c18dd2f88..1a4349dc72cca6c252aacdecfc0690ae57e6d741 100644 (file)
@@ -7,7 +7,7 @@ if { [isdraw result] } {
     smallview
     donly result
     fit
-    xwd $imagedir/${test_image}.gif
+    xwd $imagedir/${test_image}.png
 } else {
    puts "Error : The prism can not be build."
 }
index 0ea1913898866ba22f1b1d8b254e5a160f4bf9a7..5acdd11fdc0c7ef3f8621244e712dc728c283d39 100644 (file)
@@ -64,7 +64,7 @@ if { [isdraw result] } {
   donly result
   checkshape result
   fit
-  xwd $imagedir/${test_image}.gif
+  xwd $imagedir/${test_image}.png
 } else {
   puts "Error : The sewing can not be build."
 }
index 143e18c50c369c93a969e0279afefb4317ee5e78..e2dbc327fcafb8a9acd46fe1b06902041074b935 100755 (executable)
@@ -29,12 +29,12 @@ if { [isdraw result] } {
       clear
       donly result
       fit
-      xwd $imagedir/${test_image}.gif
+      xwd $imagedir/${test_image}.png
    } else {
       smallview
       clear
       fit
-      xwd $imagedir/${test_image}.gif
+      xwd $imagedir/${test_image}.png
    }
 } else {
    puts "Error : The $command can not be build."
index efc0e2baa0ee77e60bcc01066021a96f1573fca1..a07a69ef478d9243d16f8bce7ce6bcc747ca6f3d 100644 (file)
@@ -923,7 +923,7 @@ if {[isdraw result]} {
     smallview
     donly result
     fit
-    xwd $imagedir/${test_image}.gif
+    xwd $imagedir/${test_image}.png
 }
 
 if {[expr $ErrorCode == 2]} {