Hi,

  There isn't, but the idea is good. Should have done it before. Just
committed to CVS a change to the IupView application that enables it to run
in command line to convert image files into source code. If you don't have
access to CVS I can sent you the source code, it is quite simple. Here is
the help display:

iupview [-h] [-t type] [-o out_file] in_files
  IUP version: 3.8
  Converts image files to source code that creates an IupImage.
  Can pack several files in a single output file.
  Each image will correspond to a function called load_image_<filetitle>,
  where <filetitle> is the file name of the input image without path.
  -h            print this help
  -t            output format, can be LED, LUA or C (default: C)
  -o out_file   place output in file <out_file> (default: images.c)

Best,
Scuri


> -----Original Message-----
> From: George Brink [mailto:siberian...@yahoo.com]
> Sent: quinta-feira, 23 de maio de 2013 15:25
> To: iup-users@lists.sourceforge.net
> Subject: [Iup-users] PNG to IupImage convertor
> 
> Hi,
> 
> Is there a ready-to-use tool which can convert images into IupImage
format?
> I know it can be done with IupView tool, but it is a GUI took and it
requires
> manual interactions. Therefore it is not a good tool for use inside the
makefile.
> I would like to have something similar to gdk-pixbuf-csource from the GTK+
> framework, but producing the IupImage.
> 
> George Brink
> 
>
----------------------------------------------------------------------------
--
> Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only
SaaS-
> based application performance monitoring service that delivers powerful
full
> stack analytics. Optimize and monitor your browser, app, & servers with
just a
> few lines of code. Try New Relic and get this awesome Nerd Life shirt!
> http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to