changeset 956:fed1678dc2bf

added tiled TIFF sample images
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Aug 2026 18:15:41 +0200
parents 6344e54db694
children b3b5f8990265
files Database/WSI/NOTES.txt Database/WSI/OrthancLogoJpeg.tiff Database/WSI/OrthancLogoRaw.tiff
diffstat 3 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Database/WSI/NOTES.txt	Sat Aug 15 23:30:40 2026 +0200
+++ b/Database/WSI/NOTES.txt	Wed Aug 19 18:15:41 2026 +0200
@@ -1,3 +1,12 @@
+
+Create a pyramid from the Orthanc logo
+--------------------------------------
+
+$ convert /tmp/Orthanc-LOGO.png -background grey -alpha remove -alpha off /tmp/FlatLogo.png
+$ gdal_translate /tmp/FlatLogo.png ./OrthancLogoRaw.tiff -co TILED=YES -co BLOCKXSIZE=512 -co BLOCKYSIZE=512
+$ gdal_translate /tmp/FlatLogo.png ./OrthancLogoJpeg.tiff -co TILED=YES -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -co COMPRESS=JPEG
+
+
 Create a small image pyramid
 ----------------------------
 
Binary file Database/WSI/OrthancLogoJpeg.tiff has changed
Binary file Database/WSI/OrthancLogoRaw.tiff has changed