| 108 | } |
| 109 | |
| 110 | fg_err fg_get_image_pixelformat(fg_channel_format* pOut, const fg_image pImage) |
| 111 | { |
| 112 | try { |
| 113 | ARG_ASSERT(1, (pImage!=0)); |
| 114 | |
| 115 | *pOut = getImage(pImage)->pixelFormat(); |
| 116 | } |
| 117 | CATCHALL |
| 118 | |
| 119 | return FG_ERR_NONE; |
| 120 | } |
| 121 | |
| 122 | fg_err fg_get_image_type(fg_dtype* pOut, const fg_image pImage) |
| 123 | { |
no test coverage detected