IBM Maximo: Resizing JPEG Files in doclinks: Difference between revisions
(Created page with "If many photos are attached go IBM Maximo, the '''DOCLINKS''' folder can quickly consume large amounts of disk space. You can resize JPEG files using ImageMagick on Linux. == Procedure == 1) Install ImageMagick dnf install -y ImageMagick </pre> 2) Run image magic <pre> cd /opt/IBM/SMP/maximo/doclinks find . -type f \( -iname "*.jpg" \) -exec mogrify -resize 1920x1920\> {} \; </pre> **Important**: * Resizes images larger than 1920x1920. * Keeps original file...") |
|||
| Line 7: | Line 7: | ||
1) Install ImageMagick | 1) Install ImageMagick | ||
dnf install -y ImageMagick </ | <nowiki>dnf install -y ImageMagick</nowiki> | ||
2) Run image magic | 2) Run image magic | ||
Revision as of 16:06, 4 March 2026
If many photos are attached go IBM Maximo, the DOCLINKS folder can quickly consume large amounts of disk space.
You can resize JPEG files using ImageMagick on Linux.
Procedure
1) Install ImageMagick
dnf install -y ImageMagick
2) Run image magic
cd /opt/IBM/SMP/maximo/doclinks
find . -type f \( -iname "*.jpg" \) -exec mogrify -resize 1920x1920\> {} \;
- Important**:
- Resizes images larger than 1920x1920.
- Keeps original file names.
- No database updates required in IBM Maximo.