Hi Michele and others interested in converting icons! On 2009-05-18 at 15:46:02 [+0200], zumikkebe@xxxxxxxxxxx wrote: > I'm going off topic with a question about I-O-M...is it possible to run > the application without GUI and only via cli to export from a format into > a different type of file ( i.e. native hvif --> png )? The good news is that Michael Lotz went ahead and did all the necessary work to create the icon translator. :-D See the forwarded mail for how to batch convert a folder: On 2009-05-19 at 00:39:15 [+0200], Michael Lotz <mmlr@xxxxxxxx> wrote: > > On 2009-05-18 at 21:15:16 [+0200], mmlr@xxxxxxxxxxxxxxx wrote: > > > Author: mmlr > > > Date: 2009-05-18 22:15:04 +0200 (Mon, 18 May 2009) New Revision: > > > 30794 > > > ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=30794&view=rev Log: > > > Enable just enough of the message based format used in Icon-O-Matic > > > to > > > allow BIconUtils to understand and render it. This makes it possible > > > to > > > use the HVIFTranslator to also read Icon-O-Matic files out of the > > > box. > > > Will cleanup now duplicated files next. > > > > Very cool, thanks a lot! > > It was my pleasure. At first I feared I wouldn't understand how these > things all fit together, but it's indeed very nicely structured and > readable. So it wasn't too much of an effort to make this happen :-) > > The nice thing is that you can now handle icons in a more automated > fashion using the standard system APIs. You could for example set the > desired output size in the translator preferences, navigate to a folder > full of icons (like "src/data/artwork/icons") and then use a one-liner > like: > > for FILE in *; do translate $FILE export-path/$FILE.png 'PNG '; done > > To export them all in one go to PNG files in some folder. I could think > of a few situations where this might come in handy. > > Regards > Michael > _______________________________________________ > Haiku-commits mailing list > Haiku-commits@xxxxxxxxxxxxxxxx > https://lists.berlios.de/mailman/listinfo/haiku-commits