TIFFREADRAWTILE(3tiff) LibTIFF TIFFREADRAWTILE(3tiff) NNAAMMEE TIFFReadRawTile - return an undecoded tile of data from an open TIFF file SSYYNNOOPPSSIISS #include ttssiizzee__tt TTIIFFFFRReeaaddRRaawwTTiillee((TTIIFFFF **ttiiff,, ttttiillee__tt ttiillee,, ttddaattaa__tt bbuuff,, ttssiizzee__tt ssiizzee)) DDEESSCCRRIIPPTTIIOONN Read the contents of the specified tile into the (user supplied) data buffer. Note that the value of _t_i_l_e is a raw tile number. That is, the caller must take into account whether or not the data is organized in separate planes (PPllaannaarrCCoonnffiigguurraattiioonn = 2). _T_I_F_F_C_o_m_p_u_t_e_T_i_l_e_(_) automati- cally does this when converting an (x,y,z,sample) coordinate quadruple to a tile number. To read a full tile of data the data buffer should typically be at least as large as the value returned by _T_I_F_F_T_i_l_e_S_i_z_e_(_). RREETTUURRNN VVAALLUUEESS The actual number of bytes of data that were placed in _b_u_f is returned; _T_I_F_F_R_e_a_d_R_a_w_T_i_l_e_(_) returns -1 if an error was encountered. DDIIAAGGNNOOSSTTIICCSS All error messages are directed to the _T_I_F_F_E_r_r_o_r_E_x_t_R_(_) routine. SSEEEE AALLSSOO _T_I_F_F_O_p_e_n (3tiff), _T_I_F_F_R_e_a_d_E_n_c_o_d_e_d_T_i_l_e (3tiff), _T_I_F_F_R_e_a_d_T_i_l_e (3tiff), _T_I_F_F_t_i_l_e (3tiff), _l_i_b_t_i_f_f (3tiff) AAUUTTHHOORR LibTIFF contributors CCOOPPYYRRIIGGHHTT 1988-2022, LibTIFF contributors 4.6 Sep 08, 2023 TIFFREADRAWTILE(3tiff)