Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Convert GIF to PNG using the IMG library: (3 Items)
   
Convert GIF to PNG using the IMG library  
I've got a task that does image scaling and one road block I've run into is the fact that the IMG library can't write 
GIF files.

Today, it was decided that converting to PNG during the scaling process is an acceptable solution.

img_format_t seems to enumerate out a good collection of formats.

I THINK I can work out how to use the img_load_file or img_write_file to force a format conversion to another format.

So, my question is, of the small ton of formats in img_format_t, which one is "PNG" ?
RE: Convert GIF to PNG using the IMG library  
img_write_file()


8888/32-bit is a good place to start.

-----Original Message-----
From: Michael Briggs [mailto:community-noreply@qnx.com] 
Sent: February 3, 2011 2:02 PM
To: advanced-graphics
Subject: Convert GIF to PNG using the IMG library

I've got a task that does image scaling and one road block I've run into
is the fact that the IMG library can't write GIF files.

Today, it was decided that converting to PNG during the scaling process
is an acceptable solution.

img_format_t seems to enumerate out a good collection of formats.

I THINK I can work out how to use the img_load_file or img_write_file to
force a format conversion to another format.

So, my question is, of the small ton of formats in img_format_t, which
one is "PNG" ?



_______________________________________________

Advanced Graphics
http://community.qnx.com/sf/go/post82872
RE: Convert GIF to PNG using the IMG library  
Derek -
It seems like you've done this before.

Do you have some time to assist?  If so, can you e-mail me directly at michael.briggs@harman.com.

Thanks.

-----Original Message-----
From: Derek Leach [mailto:community-noreply@qnx.com] 
Sent: Thursday, February 03, 2011 2:04 PM
To: advanced-graphics
Subject: RE: Convert GIF to PNG using the IMG library

img_write_file()


8888/32-bit is a good place to start.

-----Original Message-----
From: Michael Briggs [mailto:community-noreply@qnx.com] 
Sent: February 3, 2011 2:02 PM
To: advanced-graphics
Subject: Convert GIF to PNG using the IMG library

I've got a task that does image scaling and one road block I've run into
is the fact that the IMG library can't write GIF files.

Today, it was decided that converting to PNG during the scaling process
is an acceptable solution.

img_format_t seems to enumerate out a good collection of formats.

I THINK I can work out how to use the img_load_file or img_write_file to
force a format conversion to another format.

So, my question is, of the small ton of formats in img_format_t, which
one is "PNG" ?



_______________________________________________

Advanced Graphics
http://community.qnx.com/sf/go/post82872




_______________________________________________

Advanced Graphics
http://community.qnx.com/sf/go/post82873