more compact PNM16 file
This commit is contained in:
@@ -11,7 +11,7 @@ program chkpixels
|
||||
implicit none
|
||||
|
||||
write(0, *) "------ CHKPIXELS ------"
|
||||
call test_spit_as(3)
|
||||
! call test_spit_as(3)
|
||||
call test_spit_rgb(128, 222)
|
||||
|
||||
STOP 'BECAUSE NO CPU AVAILABLE'
|
||||
@@ -37,7 +37,8 @@ contains
|
||||
pixrgb(ix, iy)%b = iy
|
||||
end do
|
||||
end do
|
||||
call rgbpix_spit_as_pnm_8(pixrgb, "rgb.pnm")
|
||||
call rgbpix_spit_as_pnm_8(pixrgb, "rgb8.pnm")
|
||||
call rgbpix_spit_as_pnm_16(pixrgb, "rgb16.pnm")
|
||||
deallocate(pixrgb)
|
||||
|
||||
end subroutine
|
||||
|
||||
Reference in New Issue
Block a user