Commit 8a234621 authored by David King's avatar David King

Add a TODO for METADATA_BLOCK_PICTURE colour depth

parent cac75c6d
......@@ -1113,8 +1113,9 @@ ogg_tag_write_file_tag (const ET_File *ETFile,
convert_to_byte_array (pic->height, array);
add_to_guchar_str (ustring, &ustring_len, array, 4);
/* GdkPicbuf only supports images with 8 bits per sample. */
convert_to_byte_array (8, array);
/* TODO: Determine the depth per pixel by querying the pixbuf to see
* whether an alpha channel is present. */
convert_to_byte_array (0, array);
add_to_guchar_str (ustring, &ustring_len, array, 4);
/* Non-indexed images should set this to zero. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment