You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PNG image preprocessor (the image processor domain) currently lacks direct documentation in the Preprocessors section of the user manual at https://c64lib.github.io/gradle-retro-assembler-plugin/. While other preprocessors (CharPad, SpritePad, GoatTracker) have dedicated coverage, PNG image processing is not documented as a first-class preprocessor entry, leaving users without a clear reference for its DSL, transformations, and outputs.
Motivation
The image preprocessor is a fully-featured part of the plugin (processors/image) and exposes a rich DSL for converting PNG images into C64-friendly assets:
Hardware sprites and software sprite shapes (spriteWriter)
Without documentation, users discover this functionality only by reading source code or sample projects, which hurts adoption and increases support load.
Scope
Add a dedicated PNG / Image Preprocessor subsection under Preprocessors in the user manual covering:
Overview — what the preprocessor does and when to use it (sprites, bitmaps, sprite sheets)
DSL reference — the imagePipelines block under preprocess, including:
This issue is documentation-only — no code changes required
Documentation should describe the preprocessor as it exists today; the future flows-based PNG step (issue Pipeline DSL - support for PNG files #120) is out of scope here and will be documented separately
Summary
The PNG image preprocessor (the
imageprocessor domain) currently lacks direct documentation in the Preprocessors section of the user manual at https://c64lib.github.io/gradle-retro-assembler-plugin/. While other preprocessors (CharPad, SpritePad, GoatTracker) have dedicated coverage, PNG image processing is not documented as a first-class preprocessor entry, leaving users without a clear reference for its DSL, transformations, and outputs.Motivation
The image preprocessor is a fully-featured part of the plugin (
processors/image) and exposes a rich DSL for converting PNG images into C64-friendly assets:spriteWriter)bitmapWriter)cut,split,extend,flip,reduceResolutionWithout documentation, users discover this functionality only by reading source code or sample projects, which hurts adoption and increases support load.
Scope
Add a dedicated PNG / Image Preprocessor subsection under Preprocessors in the user manual covering:
imagePipelinesblock underpreprocess, including:input(source PNG)useBuildDirflagspriteWriter,bitmapWritercut(left/top/width/height),split(width/height),extend(newWidth/newHeight/fillColor),flip(axis),reduceResolution(reduceX/reduceY)split, indexed output namingflowsPNG step (issue Pipeline DSL - support for PNG files #120 follow-up) once available, and to related preprocessorsSource-of-Truth References
processors/image/adapters/in/gradle/.../ProcessImage.ktshared/gradle/dsl/(PreprocessingExtension,ImageTransformationExtension,ImageCutExtension,ImageSplitExtension,ImageExtendExtension,ImageFlipExtension,ImageReduceResolutionExtension)processors/image/src/main/kotlin/.../usecase/(ReadSourceImageUseCase,WriteImageUseCase,CutImageUseCase,SplitImageUseCase,ExtendImageUseCase,FlipImageUseCase,ReduceResolutionUseCase)processors/image/adapters/out/file/(C64SpriteWriter,C64CharsetWriter)processors/image/adapters/out/png/ReadPngImageAdapter.ktAcceptance Criteria
input,useBuildDir, both writers, all five transformations) are documented with parameter descriptions and defaultsNotes
flows-based PNG step (issue Pipeline DSL - support for PNG files #120) is out of scope here and will be documented separately