mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-27 15:12:54 +01:00
vwebp: use magenta for 'i'nfo display
replaces black Change-Id: I8ca52c187c7b4b890378dec2a526e51c7819f7e1
This commit is contained in:
parent
6933d91057
commit
bea7ccaffd
@ -153,12 +153,12 @@ static void HandleDisplay(void) {
|
|||||||
if (kParams.print_info) {
|
if (kParams.print_info) {
|
||||||
char tmp[32];
|
char tmp[32];
|
||||||
|
|
||||||
glColor4f(0.0, 0.0, 0.0, 1.0);
|
glColor4f(0.90, 0.0, 0.90, 1.0);
|
||||||
glRasterPos2f(-0.95f, 0.90f);
|
glRasterPos2f(-0.95f, 0.90f);
|
||||||
PrintString(kParams.file_name);
|
PrintString(kParams.file_name);
|
||||||
|
|
||||||
snprintf(tmp, sizeof(tmp), "Dimension:%d x %d", pic->width, pic->height);
|
snprintf(tmp, sizeof(tmp), "Dimension:%d x %d", pic->width, pic->height);
|
||||||
glColor4f(0.0, 0.0, 0.0, 1.0);
|
glColor4f(0.90, 0.0, 0.90, 1.0);
|
||||||
glRasterPos2f(-0.95f, 0.80f);
|
glRasterPos2f(-0.95f, 0.80f);
|
||||||
PrintString(tmp);
|
PrintString(tmp);
|
||||||
if (iter->x_offset != 0 || iter->y_offset != 0) {
|
if (iter->x_offset != 0 || iter->y_offset != 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user