
albonubes-sprint0006-sources.test.data.legacy.images.pbm.2.5x5-grayscale-alpha.asm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of albonubes Show documentation
Show all versions of albonubes Show documentation
Albonubes - a library to read and write raster image files. Albonubes is a child of Apache Commons Imaging (previously Sanselan).
; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use this file except in compliance
; with the License. You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing,
; software distributed under the License is distributed on an
; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
; KIND, either express or implied. See the License for the
; specific language governing permissions and limitations
; under the License.
; Assemblers are the perfect tool for generating
; custom test images as they let us insert offsets
; to unknown locations easily and totally
; customize the file byte-by-byte.
;
; To generate the binary file from this, run:
; nasm -f bin /path/to/this/file.asm -o /path/to/file.ext
db 'P7',10
db 'WIDTH 5',10
db 'HEIGHT 5',10
db 'DEPTH 2',10
db 'MAXVAL 4',10
db 'TUPLTYPE GRAYSCALE_ALPHA',10
db 'ENDHDR',10
db 0,4,1,4,2,4,3,4,4,4
db 0,3,1,3,2,3,3,3,4,3
db 0,2,1,2,2,2,3,2,4,2
db 0,1,1,1,2,1,3,1,4,1
db 0,0,1,0,2,0,3,0,4,0
© 2015 - 2025 Weber Informatics LLC | Privacy Policy