Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122444 Details for
Bug 182504
dev-lang/php - creating large transparent png on ppc yields black background
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
trans.c
trans.c (text/plain), 420 bytes, created by
SpanKY
on 2007-06-18 20:06:42 UTC
(
hide
)
Description:
trans.c
Filename:
MIME Type:
Creator:
SpanKY
Created:
2007-06-18 20:06:42 UTC
Size:
420 bytes
patch
obsolete
>#include <stdio.h> >#include <stdlib.h> >#include <gd.h> > >int main() >{ > gdImagePtr im; > FILE *pngout; > int trans; > > im = gdImageCreate(750, 250); > gdImageSaveAlpha(im, 1); > trans = gdImageColorAllocateAlpha(im, 0, 0, 0, 127); > //trans = gdImageColorAllocate(im, 0, 0, 0); > gdImageFill(im, 0, 0, trans); > > pngout = fopen("trans.png", "w+"); > gdImagePngEx(im, pngout, 9); > fclose(pngout); > gdImageDestroy(im); > > 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 182504
:
122443
| 122444 |
122446
|
122448