Search found 4 matches

by lekaleka
2012-09-11T09:46:56-07:00
Forum: Users
Topic: convert to RGB565 from different PNG files
Replies: 6
Views: 21525

Re: convert to RGB565 from different PNG files

Thanks fmw42,

it worked with this command :

convert test.png -ordered-dither threshold,32,64,32 color_565.png

Thanks anyways :)
by lekaleka
2012-09-11T09:35:40-07:00
Forum: Users
Topic: convert to RGB565 from different PNG files
Replies: 6
Views: 21525

Re: convert to RGB565 from different PNG files

i use ubuntu 12.04 64bit imagemagick 6.7.9 with the im command i get this error: convert: ignoring invalid defined png:bit-depth =5 @ warning/png.c/WritePNGImage/10315. Just a gentle reminder: with converting a GIMP png file i have no problems, it is only with the png that i create with PHP ...
by lekaleka
2012-09-11T09:34:38-07:00
Forum: Users
Topic: convert to RGB565 from different PNG files
Replies: 6
Views: 21525

Re: convert to RGB565 from different PNG files

Hi,

thanks for the quick reply.

this is my command line in ffmpeg :

ffmpeg -vcodec png -i test.png -vcodec rawvideo -f rawvideo -pix_fmt rgb565 test.raw

with im i did only :

convert test.png +dither -colors 256 -define png:bit-depth=5 test1.png
by lekaleka
2012-09-11T08:41:15-07:00
Forum: Users
Topic: convert to RGB565 from different PNG files
Replies: 6
Views: 21525

convert to RGB565 from different PNG files

Hi all, whenever i convert a png that i created with GIMP to a rgb565 format using ffmpeg, it works perfectly. But whenever i create a PNG using the PHP - imagemagick ($image->newImage(800, 600, $pixel); , i get an error converting it to rgb565 that says : " test.png: could not find codec parameters ...