Skip to main content
Version: 2024.07.3

Supported image formats

The following image formats are supported in Visiopharm:

File typeDescriptionExtensionSupported in 32-bitSupported in 64-bit
BMPMicrosoft Windows Bitmap*.bmp, *.bYesYes
JPEGJpeg File Interchange Format*.jpg, *.jfif, *.jifYesYes
HIPSHuman Information Processing*.hip, *.hipsYesYes
AVIResource Interchange File Format*.aviYesYes
TIFFTag Image File Format*.tif, *.tiff, *.gtifYesYes
OMETIFFOpen Microscopy Enviroment Tag Image File Format*.ome.tif *ome.tiffYesYes
TGATarga Graphics Adapter*.tga, *.vda, *.icb, *.vstYesYes
VIVVarian VIV*.vivYesYes
ZVIZeiss Vision Image*.zviYesYes
SIFFStratec Image File Format*.M**YesYes
SPFFStratec Projection File Format*.M**YesYes
SFSimple File Format*.sfhYesYes
LSMZeiss LSM File Format*.lsmYesYes
LEILeica Lei Image Series*.leiYesYes
OlympusOIR Image Files*.oirYesYes
HamamatsuNPD.Image Files*.ndpi, *.ndpr, *.vmu, *.vmsYesYes
HamamatsuNDP.Image Set Files*.ndpisYesYes
AperioScanscope Virtual Slides Format*.svsYesYes
AperioFused Images Format*.afiYesYes
JPEG 2000JPEG 2000 File Format*.jp2YesNo
CarlZeissCZI Image Format*.cziYesYes
PhillipsPhillips TIFF Virtual Slide Format*.ptif, *.tif, *tiffYesYes
PhillipsPhillips iSyntax Image Format*.iSyntax, *.i2SyntaxNoYes
3DHisTechMirax File FormatSlidedat.ini; *.mrxsYesYes
MetaSystemsVSI Image Files*.vsiYesNo
NikonNd2 Image Files*.nd2YesYes
OlympusVSI Image Format*.vsiYesYes
OlympusWSI Image Format*.ovsYesNo
VisiopharmWhole Slide Set*.wssYesYes
Leica SCNSCN Virtual Slides Format*.scnYesYes
Akoyaqptiff Virtual Slide Format*.tif, *.qptiffYesYes
InnopsysVirtual Slide Format*.tifYesYes
MoticMDS File Format*.mdsYesNo
BacusWeb slide FormatFinalscan.iniYesYes
VentanaVentana Virtual Slides Format*.bif, *.tifYesYes
AkoyaComponent Images*.component_data.tifYesYes
MCDFluidigm Tiled Images*.mcdYesYes
WinmedicZYP File Format*.zypYesNo
SpectrumSpectrum eSlideManager*.sisYesNo

Converting images using ImageToTiff

ImageToTiff is a tool used to convert an image from one image format to TIFF(Tagged Image File Format). This section is a guide to ImageToTiff when converting any Visiopharm-supported file into an OME TIFF.

The file is installed into the Visiopharm "Program Files" directory in versions 2023.01 and later. Users need to have basic familiarity with Windows Powershell.

note

By default the file is located at C:\Program Files\Visiopharm.

To open Windows Powershell in Windows 10, navigate to your image directory and right click while holding SHIFT. Select “Open Powershell window here”:

Now the Powershell window should look like this:

To convert a file from its original format into OME.TIFF type the following command and hit ENTER.

& C:\Program Files\Visiopharm\ImageToTIFF.exe Image1.mcd
note

You can use TAB completion to reduce the amount of typing required. To replicate the previous type the following. Take note that brackets indicate keypresses:

c:\pro [TAB] [TAB] vis [TAB] im [TAB] [TAB] [TAB] [SPACE] im [TAB] [ENTER]

When the conversion is complete you will be asked where to save the resulting image:

note

For Standard BioTools MCD files, all ROIs will be processed and stitched together in the resulting image.

Specifying an output. Instead of having to specify an output file, you can add this to the command line using the -o or -output switches. These switches ­must come before the input file.

Anonymisation. If you wish to exclude label and macro images from the output, you can anonymize the images with the -a or -anonymize switch.

Batch processing with scripts. ImageToTiff does not include a batch processing mode, however this can be achieved using Windows Powershell:

Get-ChildItem -Filter *.mcd -Recurse |ForEach {& "C:\Program Files\Visiopharm\ImageToTIFF.exe" -o $_.FullName.replace([System.IO.Path]::GetExtension($_.FullName),".tif") $_.FullName}" */
Command partDescription
Get-ChildItemLists files in the current directory
Filter*.mcd[OPTIONAL] Only process images with a certain
Recurse[OPTIONAL] recurse into subdirectories to find images
"C:\Program Files\Visiopharm\ImageToTIFF"Full path to the executable
-o $_.FullName.replace( ... )[OPTIONAL] Specifies the output file by taking the input filename and path ($_.FullName) and replacing the extension (as calculated by [System.IO.Path]::GetExtension) with “.tif”
$_.FullNameThe input file to be processed. Piped from Get-ChildItem.
-DontMerge[OPTIONAL] Using it disables merging of multi MCD sub-images into one single tiff
-MinDPmm[OPTIONAL] Skip resolution layers with resolutions higher than the first layer that meets MinDPmm

A version can also be created by using the following script. This will also output the name of the file currently being processed:

"Get-ChildItem -Filter *.mcd -Recurse | ForEach {Write-Host "Processing "$_.FullName;& "c:\Program Files (x86)\Visiopharm\ImageToTIFF.exe" -o $_.FullName.replace([System.IO.Path]::GetExtension($_.FullName),".tif") $_.FullName; Write-Host ""};pause"

This script can be saved in a text editor with the extension .ps1, which can be copied to any folder with images and then run.