Forum

Author Topic: Orthomosaic + JPG compression fails if Save Alpha Channel selected.  (Read 275 times)

Costas

  • Jr. Member
  • **
  • Posts: 69
  • Aerial Mapping
    • View Profile
I updated Metashape from 2.1.0 to v.2.1.1 and processed a small project.

When i try to export the Orthomosaic in .tiff format with .jpg compression and Save Alpha Channel selected it fails.

Is this a bug? Did something changed in the latest version?
With all previous versions exporting geotiff + jpg compression + Save Alpha Channel worked fine.

The error i get in the console is:
Quote
2024-04-04 11:06:26 Saving project...
2024-04-04 11:06:26 saved project in 0.021 sec
2024-04-04 11:06:26 Finished processing in 0.021 sec (exit code 1)
2024-04-04 11:07:12 ExportOrthomosaic: path = E:/01. Active Projects/01. ANAX Projects/03. TOPOGRAFIKA/Tzoumelekas - (Drosia)/- Deliverables/Orthophoto - tif/Tzoumeleka.tif, image_format = TIFF, projection = GGRS87 / Greek Grid, resolution_x = 0.02, resolution_y = 0.02, save_world = on, white_background = off
2024-04-04 11:07:12 Exporting orthomosaic...
2024-04-04 11:07:12 generating 14794 x 18116 raster in 1 x 1 tiles
2024-04-04 11:07:12 libtiff error: Bogus input colorspace
2024-04-04 11:07:12 Finished processing in 0.399 sec (exit code 0)
2024-04-04 11:07:12 Error: TIFFWriteTile: unexpected error: E:/01. Active Projects/01. ANAX Projects/03. TOPOGRAFIKA/Tzoumelekas - (Drosia)/- Deliverables/Orthophoto - tif/Tzoumeleka.tif

tim12p

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Orthomosaic + JPG compression fails if Save Alpha Channel selected.
« Reply #1 on: April 08, 2024, 07:27:52 AM »
I get that error too.  Same issue after upgrading and i'm using a Mac.  So it seems it's not an issue with any particular OS.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14890
    • View Profile
Re: Orthomosaic + JPG compression fails if Save Alpha Channel selected.
« Reply #2 on: April 08, 2024, 11:22:47 AM »
Thank you for reporting!

We are already working on fix.
Best regards,
Alexey Pasumansky,
Agisoft LLC