Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3
  • typo3typo3
  • Repository
Switch branch/tag
  • typo3
  • typo3
  • sysext
  • core
  • Classes
  • Imaging
  • GraphicalFunctions.php
Find file BlameHistoryPermalink
  • Stefan Neufeind's avatar
    [BUGFIX] Re-apply colorspace to resulting image · 987a9eaf
    Stefan Neufeind authored Nov 28, 2016 and Christian Kuhn's avatar Christian Kuhn committed Feb 04, 2018
    When using filters the colorspace is not always applied.
    A quickfix is to add the colorspace-setting again before
    writing the output-image.
    Multiple colorspace-settings on the commandline will be
    executed in order. For example the grayscale-filter uses
    "-colorspace GRAY". The final output-image can then be
    converted to "-colorspace sRGB" again so the brightness
    appears correct (not too dark) again.
    
    Resolves: #78816
    Releases: master, 8.7
    Change-Id: I3fcabf8fdbb8d43f15662532b881501ebb43b1dd
    Reviewed-on: https://review.typo3.org/50791
    
    Reviewed-by: default avatarMathias Schreiber <mathias.schreiber@typo3.com>
    Tested-by: default avatarMathias Schreiber <mathias.schreiber@typo3.com>
    Tested-by: default avatarTYPO3com <no-reply@typo3.com>
    Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    987a9eaf