Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 272623 Details for
Bug 366313
x11-libs/gdk-pixbuf-2.22.1: tga image with invalid headers aren't handled correctly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Code to test gdk-pixbuf
gdk-pixbuf-test.c (text/x-csrc), 426 bytes, created by
Samuel Bauer
on 2011-05-09 15:49:57 UTC
(
hide
)
Description:
Code to test gdk-pixbuf
Filename:
MIME Type:
Creator:
Samuel Bauer
Created:
2011-05-09 15:49:57 UTC
Size:
426 bytes
patch
obsolete
>#include <gdk-pixbuf/gdk-pixbuf.h> >#include <gtk/gtk.h> >#include <stdio.h> > >int main(int argc, char *argv[]) { > GError *gerror; > GdkPixbuf *pixbuf; > > if(argc != 2) { > printf("syntax: %s image-name\n", argv[0]); > return(1); > } > > gtk_init(&argc, &argv); > pixbuf = NULL; > gerror = NULL; > pixbuf = gdk_pixbuf_new_from_file(argv[1], &gerror); > > if(!pixbuf) { > printf("%s\n", gerror->message); > return(1); > } > > return(0); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 366313
:
272351
| 272623 |
274671
|
274675