Bug #785

Not all types of PNG are supported

Added by kervala over 8 years ago. Updated almost 8 years ago.

Status:Closed Start date:12/24/2009
Priority:Normal Due date:
Assignee:kervala % Done:

100%

Category:NeL: General
Target version:Version 0.8.0 Estimated time:20.00 hours

Description

PNG images with palette, grayscale images with alpha, etc... are not supported and can't be processed.

History

#1 Updated by kervala over 8 years ago

  • Status changed from New to Validated

#2 Updated by kervala over 8 years ago

  • Status changed from Validated to Assigned
  • Assignee set to kervala

#3 Updated by kervala over 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2151.

#4 Updated by kervala over 8 years ago

  • Estimated time set to 20.00

I added support for paletted, gray, gray + alpha, RGB and RGBA PNG images for reading and gray (8 bits), gray + alpha (16 bits), RGB (24 bits) and RGBA (32 bits) PNG images for writing with eventually a conversion between source and destination format (colors -> gray and gray -> colors).

You can specify the destination format using the 2nd parameter in writePNG and choose the correct bit depth (8 = gray without alpha, 16 = gray + alpha, 24 = RGB, 32 = RGBA).

#5 Updated by kervala over 8 years ago

  • Target version set to 0.8.0

#6 Updated by sfb over 8 years ago

  • Status changed from Resolved to Closed

#7 Updated by kervala almost 8 years ago

  • Project changed from NeL to Ryzom
  • Category deleted (Misc)
  • Target version deleted (0.8.0)

#8 Updated by kervala almost 8 years ago

  • Category set to NeL: General
  • Target version set to Version 0.8.0

Also available in: Atom PDF