Skip to content

Non-generic Image.Load should decode Jpeg into Image<Rgb24> #1410

Description

@antonfirsov

Prerequsite: #1354

  • Top gain: reduced memory footprint
  • There will be a noticeable LoadResizeSave speed regression on 2.1 and Framework (no SIMD for shuffles), but I hope the ROTR / ROTL path will keep it in an acceptable range.
  • On 3.1 and .NET 5 the LoadResizeSave speed regression should be negligible thanks to the SIMD path in 3 <==> 4 Channel Shuffling with Hardware Intrinsics #1409
  • Introduce PixelTypeInfo.HasAlpha #1396 combined with omitting premultipication for Rgb24 will cancel out these regressions, bringing noticeable speedup on 3.1 and .NET 5. We may want to consider milestoning that issue to 1.1.0

Activity

  1. added this to the milestone on Nov 2, 2020
  2. changed the title [-]Non-generic Image.Load should decode into Image<Rgb24>[/-] [+]Non-generic Image.Load should decode Jpeg into Image<Rgb24>[/+] on Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions