C---------------------------------------------------------------------- subroutine ftpi1b(ounit,nvals,incre,chbuff,status) C Write an array of Integer*1 bytes to the output FITS file. integer nvals,incre,ounit,status,offset character*1 chbuff(nvals) C ounit i fortran unit number C nvals i number of pixels in the i2vals array C incre i byte increment between values C chbuff c*1 array of input byte values C status i output error status if (incre .le. 1)then call ftpcbf(ounit,nvals,chbuff,status) else C offset is the number of bytes to move between each value offset=incre-1 call ftpcbo(ounit,1,nvals,offset,chbuff,status) end if end