Tests
Suites
Latest Results
Search
Register
Login
Popular Tests
Timed Linux Kernel Compilation
SVT-AV1
7-Zip Compression
Stockfish
FFmpeg
x265
Newest Tests
Rustls
LiteRT
WarpX
Epoch
Valkey
Whisperfile
Recently Updated Tests
Mobile Neural Network
ACES DGEMM
NWChem
SuperTuxKart
ASTC Encoder
SVT-AV1
New & Recently Updated Tests
Recently Updated Suites
Database Test Suite
Machine Learning
Steam
New & Recently Updated Suites
Component Benchmarks
CPUs / Processors
GPUs / Graphics
OpenGL
Disks / Storage
Motherboards
File-Systems
Operating Systems
OpenBenchmarking.org
Corporate / Organization Info
Bug Reports / Feature Requests
GIMP 1.0.1
system/gimp-1.0.1
- 02 March 2018 -
Add Windows support.
downloads.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v8.0.0m0--> <PhoronixTestSuite> <Downloads> <Package> <URL>http://www.phoronix-test-suite.com/benchmark-files/pts-sample-photos-2.tar.bz2, http://www.phoronix.net/downloads/phoronix-test-suite/benchmark-files/pts-sample-photos-2.tar.bz2</URL> <MD5>7ff2870cf3fa2299ea5f4e77e5a8535f</MD5> <SHA256>e8597d7d5910a709985bffae490dfa9490483eb7838b351191156f027d9b5272</SHA256> <FileSize>29599729</FileSize> </Package> <Package> <URL>http://download.gimp.org/mirror/pub/gimp/v2.9/windows/gimp-2.9.8-x64-setup.exe, http://download.gimp.org/pub/gimp/v2.9/windows/gimp-2.9.8-x64-setup.exe</URL> <MD5>33389c3402c02f0b702370162e2026ca</MD5> <SHA256>35f15c86be961b48906f870dbf40519e8641dae2be11edf0208a18539fbcddfe</SHA256> <FileSize>124699997</FileSize> </Package> </Downloads> </PhoronixTestSuite>
install.sh
#!/bin/sh if which gimp>/dev/null 2>&1 ; then echo 0 > ~/install-exit-status else echo "ERROR: gimp is not found on the system! This test profile needs a working GIMP installation in the PATH" echo 2 > ~/install-exit-status fi gimp -i -b '(gimp-quit 0)' echo ";; Example from https://www.gimp.org/tutorials/Basic_Batch/ (define (batch-unsharp-mask pattern radius amount threshold) (let* ((filelist (cadr (file-glob pattern 1)))) (while (not (null? filelist)) (let* ((filename (car filelist)) (image (car (gimp-file-load RUN-NONINTERACTIVE filename filename))) (drawable (car (gimp-image-get-active-layer image)))) (plug-in-unsharp-mask RUN-NONINTERACTIVE image drawable radius amount threshold) (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename) (gimp-image-delete image)) (set! filelist (cdr filelist))))) ;; Example from http://www.adp-gmbh.ch/misc/tools/script_fu/ex_09.html (define (batch-resize-image pattern new-width new-height) (let* ((filelist (cadr (file-glob pattern 1)))) (while (not (null? filelist)) (let* ((filename (car filelist)) (image (car (gimp-file-load RUN-NONINTERACTIVE filename filename))) (drawable (car (gimp-image-get-active-layer image)))) (gimp-image-scale image new-width new-height) (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename) (gimp-image-delete image)) (set! filelist (cdr filelist))))) ;; http://photo.stackexchange.com/questions/63692/how-can-i-get-a-uniform-white-balance-on-a-batch-of-jpeg-images (define (batch-auto-levels pattern) (let* ((filelist (cadr (file-glob pattern 1)))) (while (not (null? filelist)) (let* ((filename (car filelist)) (image (car (gimp-file-load RUN-NONINTERACTIVE filename filename))) (drawable (car (gimp-image-get-active-layer image)))) (gimp-levels-stretch drawable) (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename) (gimp-image-delete image)) (set! filelist (cdr filelist))))) " > bench.scm cp -f *.scm .gimp-2.8/scripts/bench.scm cp -f *.scm .gimp-2.9/scripts/bench.scm cd ~ echo "#!/bin/sh # when getting more tests, will need to separate the below -b command into conditional statement check whats passed to this script case \"\$1\" in \"unsharp-mask\") BATCH_COMMAND='(batch-unsharp-mask \"*.JPG\" 15.0 0.6 0)' ;; \"resize\") BATCH_COMMAND='(batch-resize-image \"*.JPG\" 600 400)' ;; \"auto-levels\") BATCH_COMMAND='(batch-auto-levels \"*.JPG\")' ;; *) echo 2 > ~/test-exit-status exit ;; esac gimp -i -b \"\$BATCH_COMMAND\" -b '(gimp-quit 0)' > \$LOG_FILE echo \$? > ~/test-exit-status gimp --version | head -n 1 | awk '{ print \$NF }' > ~/pts-test-version 2>/dev/null " > gimp chmod +x gimp
install_windows.sh
#!/bin/sh ./gimp-2.9.8-x64-setup.exe /SILENT /DIR=gimp-install cd gimp-install/bin ./gimp-2.9.exe -i -b '(gimp-quit 0)' cd ~ echo ";; Example from https://www.gimp.org/tutorials/Basic_Batch/ (define (batch-unsharp-mask pattern radius amount threshold) (let* ((filelist (cadr (file-glob pattern 1)))) (while (not (null? filelist)) (let* ((filename (car filelist)) (image (car (gimp-file-load RUN-NONINTERACTIVE filename filename))) (drawable (car (gimp-image-get-active-layer image)))) (plug-in-unsharp-mask RUN-NONINTERACTIVE image drawable radius amount threshold) (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename) (gimp-image-delete image)) (set! filelist (cdr filelist))))) ;; Example from http://www.adp-gmbh.ch/misc/tools/script_fu/ex_09.html (define (batch-resize-image pattern new-width new-height) (let* ((filelist (cadr (file-glob pattern 1)))) (while (not (null? filelist)) (let* ((filename (car filelist)) (image (car (gimp-file-load RUN-NONINTERACTIVE filename filename))) (drawable (car (gimp-image-get-active-layer image)))) (gimp-image-scale image new-width new-height) (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename) (gimp-image-delete image)) (set! filelist (cdr filelist))))) ;; http://photo.stackexchange.com/questions/63692/how-can-i-get-a-uniform-white-balance-on-a-batch-of-jpeg-images (define (batch-auto-levels pattern) (let* ((filelist (cadr (file-glob pattern 1)))) (while (not (null? filelist)) (let* ((filename (car filelist)) (image (car (gimp-file-load RUN-NONINTERACTIVE filename filename))) (drawable (car (gimp-image-get-active-layer image)))) (gimp-levels-stretch drawable) (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename) (gimp-image-delete image)) (set! filelist (cdr filelist))))) " > bench.scm cp -f *.scm gimp-install/share/gimp/2.0/scripts/bench.scm echo "#!/bin/sh # when getting more tests, will need to separate the below -b command into conditional statement check whats passed to this script case \"\$1\" in \"unsharp-mask\") BATCH_COMMAND='(batch-unsharp-mask \"*.JPG\" 15.0 0.6 0)' ;; \"resize\") BATCH_COMMAND='(batch-resize-image \"*.JPG\" 600 400)' ;; \"auto-levels\") BATCH_COMMAND='(batch-auto-levels \"*.JPG\")' ;; *) echo 2 > ~/test-exit-status exit ;; esac ./gimp-install/bin/gimp-2.9.exe -i -b \"\$BATCH_COMMAND\" -b '(gimp-quit 0)' > \$LOG_FILE ./gimp-install/bin/gimp-2.9.exe --version | head -n 1 | awk '{ print \$NF }' > ~/pts-test-version" > gimp chmod +x gimp
interim.sh
#!/bin/sh rm -f *.JPG tar -xjvf pts-sample-photos-2.tar.bz2
post.sh
#!/bin/sh rm -f *.JPG
pre.sh
#!/bin/sh rm -f *.JPG tar -xjvf pts-sample-photos-2.tar.bz2
results-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v8.0.0m0--> <PhoronixTestSuite> <SystemMonitor> <Sensor>sys.time</Sensor> </SystemMonitor> </PhoronixTestSuite>
test-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v8.0.0m0--> <PhoronixTestSuite> <TestInformation> <Title>GIMP</Title> <Description>GIMP is an open-source image manipulaton program. This test profile will use the system-provided GIMP program otherwise on Windows relys upon a pre-packaged Windows binary from upstream GIMP.org.</Description> <ResultScale>Seconds</ResultScale> <Proportion>LIB</Proportion> <TimesToRun>3</TimesToRun> </TestInformation> <TestProfile> <Version>1.0.1</Version> <SupportedPlatforms>Linux, BSD, MacOSX, Solaris, Windows</SupportedPlatforms> <SoftwareType>Benchmark</SoftwareType> <TestType>System</TestType> <License>Free</License> <Status>Verified</Status> <EnvironmentSize>40</EnvironmentSize> <ProjectURL>https://www.gimp.org/</ProjectURL> <Maintainer>Michael Larabel</Maintainer> <SystemDependencies>gimp</SystemDependencies> </TestProfile> <TestSettings> <Option> <DisplayName>Test</DisplayName> <Identifier>test</Identifier> <ArgumentPrefix></ArgumentPrefix> <ArgumentPostfix></ArgumentPostfix> <DefaultEntry>0</DefaultEntry> <Menu> <Entry> <Name>unsharp-mask</Name> <Value>unsharp-mask</Value> <Message></Message> </Entry> <Entry> <Name>resize</Name> <Value>resize</Value> <Message></Message> </Entry> <Entry> <Name>auto-levels</Name> <Value>auto-levels</Value> <Message></Message> </Entry> </Menu> </Option> </TestSettings> </PhoronixTestSuite>