Search found 7 matches

by elliot.
2017-12-18T13:40:06-07:00
Forum: Users
Topic: convert image (.jpg) to .raw (in php) [8b/c, no alpha] help pls!
Replies: 14
Views: 7526

Re: convert image (.jpg) to .raw (in php) [8b/c, no alpha] help pls!

convert avatar.png -alpha off -depth 8 -interlace none avatar2.rgba
did the job!!

can u help with php im calls too?

thank you so much :-*
by elliot.
2017-12-18T13:34:37-07:00
Forum: Users
Topic: convert image (.jpg) to .raw (in php) [8b/c, no alpha] help pls!
Replies: 14
Views: 7526

Re: convert image (.jpg) to .raw (in php) [8b/c, no alpha] help pls!

oh it gets interesting! this are ingame screens: convert avatar.png -alpha off -depth 8 -interlace line avatar .rgb https://image.prntscr.com/image/TSjem6bHQ261ZUDQL15Kgw.png convert avatar.png -alpha off -depth 8 -interlace line avatar2 .rgba https://image.prntscr.com/image/7UfkZ2kpSV2DGPYsANQP9g.p...
by elliot.
2017-12-18T13:25:18-07:00
Forum: Users
Topic: convert image (.jpg) to .raw (in php) [8b/c, no alpha] help pls!
Replies: 14
Views: 7526

Re: convert image (.jpg) to .raw (in php) [8b/c, no alpha] help pls!

the transparency checkbox is because i have other graphics with alpha transparency :)

ill try your cmds and report back here. thank you!
by elliot.
2017-12-18T11:40:51-07:00
Forum: Users
Topic: convert image (.jpg) to .raw (in php) [8b/c, no alpha] help pls!
Replies: 14
Views: 7526

Re: convert image (.jpg) to .raw (in php)

http://singularity.wtf/test/avatar.png <- original http://singularity.wtf/test/avatar.raw <- photoshop generated http://singularity.wtf/test/avatar.rgb <- im generated how the .raw from photoshop looks like ingame: (see first post for settings) https://image.prntscr.com/image/xCe3C_GRQl2-T88XrFwBGA....
by elliot.
2017-12-18T11:01:01-07:00
Forum: Users
Topic: convert image (.jpg) to .raw (in php) [8b/c, no alpha] help pls!
Replies: 14
Views: 7526

Re: convert image (.jpg) to .raw (in php)

hi fmw42, thank you for your reply! input file can be png or jpg. as output i need a raw file without transparency or alpha channel (8bit per channel). i dont really know what other attributes the file needs to be drawn correctly, thats why i posted my photoshop export settings which generate workin...
by elliot.
2017-12-18T09:12:02-07:00
Forum: Users
Topic: convert image (.jpg) to .raw (in php) [8b/c, no alpha] help pls!
Replies: 14
Views: 7526

Re: convert image (.jpg) to .raw (in php)

i tried "convert avatar.jpg -alpha off avatar.raw"
with the same result... :(
by elliot.
2017-12-18T09:07:10-07:00
Forum: Users
Topic: convert image (.jpg) to .raw (in php) [8b/c, no alpha] help pls!
Replies: 14
Views: 7526

convert image (.jpg) to .raw (in php) [8b/c, no alpha] help pls!

hi there, i need a little bit help achieving the topic and i hope you guys will help me :). my task is to fetch an user avatar (.jpg) from a directory in php, convert it to a .raw file and output the result (php echo). the resulting .raw will be downloaded by an external application and will be rend...