anchor.diff:  						body=function( data ) {
   					try {
   						var imageFormat = data.imageFormat;
  -						// test if we can write a file in this image format (image format is based on file extension )
   						var testFile = getTempFile( getTempDirectory(), "image-exif-test", imageFormat );
  -						imageWrite ( variables.testImage, testFile );
  +						if ( structKeyExists( variables.readImageFormats, imageFormat ) ){
  +							imageWrite ( variables.testImage, testFile );
   
  -						expect( ImagegetExifMetaData( testFile ) ).toBeStruct( "Can read ImageGetExifMetaData() with the format [#imageFormat#]" );
  +							expect( ImageGetExifMetaData( testFile ) ).toBeStruct( "Can read ImageGetExifMetaData() with the format [#imageFormat#]" );
  +						}
   					} finally {
   						if ( fileExists( testFile ) )
   							fileDelete( testFile );
  
positive.code: 		*/
  	}
  
  	function run( testResults, testBox ) localmode=true{
  		doDynamicSuiteConfig();
  		variables.testImage = imageNew( "", 100, 100, "rgb", "yellow" );
  
  		loop collection=variables.writeImageFormats key="name" value="_imageFormat" {
  			systemOutput(name & " " & _imageFormat, true);
  			describe("test image format: [#name#]", function(){
  				it( title="test imageWrite() with format: [#name#], ",
  						data={ imageFormat=_imageFormat },
  
negative.code: 						body=function( data ) {
  					try {
  						var imageFormat = data.imageFormat;
  						var testFile = getTempFile( getTempDirectory(), "image-write-test", imageFormat );
  						if ( structKeyExists( variables.readImageFormats, imageFormat ) ){
  							imageWrite ( variables.testImage, testFile );
  							// test if we can read a file in this image format (image format is based on file extension )
  							var img = imageRead ( testFile );
  							expect( isImage( img ) ).toBeTrue( "Can read an image with the format [#imageFormat#]" );
  						}
  					} finally {
  						if ( fileExists( testFile ) )
  							fileDelete( testFile );
  