Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • L libtiff
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 159
    • Issues 159
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libtiff
  • libtiff
  • Issues
  • #266
Closed
Open
Issue created Jun 09, 2021 by David Moles@dmoles

JPEG-compressed TIFFs generated with libtiff 4.3.0 fail to open in Photoshop due to invalid JPEG marker

Summary

  • When I use VIPS to generate JPEG-compressed TIFFs with libtiff 4.3.0 on macOS, Photoshop complains "invalid SOS JPEG marker (Ss, Se, Ah, or Al)" and won't open them.
  • With libtiff 4.2.0 on Linux, it's not a problem.
  • See libvips#2290 for additional details.
  • See this repository for sample images demonstrating the issue.

Version

  • 4.3.0

Steps to reproduce

  • On macOS, use Homebrew to install libtiff 4.3.0 and libvips 8.10.

  • Run the command

    vips tiffsave <infile> <outfile>.tif --compression jpeg

    where <infile> is any JPEG or TIFF (and probably any other image, but that's what I've tried).

Platform

  • macOS 10.15.7
  • libtiff 4.3.0
  • libvips 8.10.6
  • libjpeg 9d
Edited Jun 09, 2021 by David Moles
Assignee
Assign to
Time tracking