Skip to content

refactor: split fortplot_raster.f90 to comply with file size limits #360

@krystophny

Description

@krystophny

Problem

During PR #359 review, identified that fortplot_raster.f90 exceeds the QADS hard limit of 1000 lines per file.

Current Status: 1137 lines (137 lines over limit)

Required Action

Split fortplot_raster.f90 into smaller, focused modules following Single Responsibility Principle (SRP).

Suggested Approach

  1. Extract bitmap operations to fortplot_bitmap.f90
  2. Extract PNG encoding to fortplot_png_encoder.f90
  3. Keep core raster operations in main module

Priority

MAJOR - Violates QADS file size standards but doesn't block current functionality

Found during code quality review of PR #359.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions