Re: [Gimp-user] split tiled image
On Thursday 09 September 2004 09:36, Szasz Pal wrote: Hi! I'm looking for a gimp script/plugin which could split up an image in small tiles. For example I have 'tiles.png', a 128x128 image which contains 16x16 tiles. The script would be able to split it and save them in 'tile00.png', 'tile01.png', ... , 'tile77.png'. Does such script already exists? If not can you write me some notes on how to start writing one, what functions should I use for it? Hmm.. You will have to install gimp-perl Therein you will find guides grid and perl-o-tine - they will do what you want. Thank you in advance! Best Regards, Szasz Pal Space Software Studio ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user -- Este e-mail é, exceto pelas partes citadas de outros e-mails, copyright(c) de João Sebastião de Oliveira Bueno. Nenhuma cópia deste e-mail ou parte do mesmo pode existir nas dependências de, ou em posse de funcionários, de associações protetoras de direitos autorais Brasileiras, dos Estados Unidos da América, ou de outros países. Em particular essa exceção do direito de leitura e posse deste e-mail se extende à ABRA, ABPI, ABES, BSA, RIAA e MPAA. Violadores estão infringindo as leis internacionais de direitos autorais e sujeitos às penalidades cabíveis. Você pode re-utilizar, emendar, acrescentar suas palavras e citar e re-enviar qualquer parte do mesmo, desde que essa nota seja preservada e se não pertencer a alguma das entidades supracitadas. ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] split tiled image
On Thu, Sep 09, 2004 at 02:36:07PM +0200, Szasz Pal wrote: Hi! I'm looking for a gimp script/plugin which could split up an image in small tiles. For example I have 'tiles.png', a 128x128 image which contains 16x16 tiles. The script would be able to split it and save them in 'tile00.png', 'tile01.png', ... , 'tile77.png'. Does such script already exists? If not can you write me some notes on how to start writing one, what functions should I use for it? if you dont need html to go with the tiles, Image --Transform --Guillotine should do the trick. if you need html, then perlotine can be installed with the gimp-perl module. carol ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] split tiled image
I'm looking for a gimp script/plugin which could split up an image in small tiles. For example I have 'tiles.png', a 128x128 image which contains 16x16 tiles. The script would be able to split it and save them in 'tile00.png', 'tile01.png', ... , 'tile77.png'. Does such script already exists? if you dont need html to go with the tiles, Image --Transform --Guillotine should do the trick. Guillotine will slice an image based on the Guides. If you dont have Perlotine already (gimp 1.2) you will probably have py-slice (gimp 2.0) which works pretty similarly. More than just splitting the images (Guillotine) these scripts both also save the imagess which is what you really want. Gimp 2.0 doesn't include the guides grid script (at least not the script-fu version), it was removed because someone thought it was no longer useful now that the gimp has a built in grid. In case you need it i have a modified version of Grid of Guides and updated it to work with the Gimp 2.0, it appears as View, New Guides... http://matrix.netsoc.tcd.ie/~horkana/dev/gnome/gimp/script-fu/scripts/guides-new.scm If not can you write me some notes on how to start writing one, what functions should I use for it? It would be easier (and possibly more efficient) to write a script like this if guillotine provided more (any) information about its output (I'm thinking an array/list of images, in case any of the developers are reading this). Both perlotine and py-slice work by duplicating and cropping the image which I dont imagine is particularly efficient. Sincerely Alan Horkan http://advogato.org/person/AlanHorkan/ Inkscape, Draw Freely http://inkscape.org Free SVG Clip Art http://OpenClipArt.org ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user