[Gimp-user] script-fu: file-pbm-save gives ppm file

2015-01-08 Thread Roland Winkler
I just wrote my first script-fu for gimp which is supposed to save
an image in pbm format.  It works fine - except for that it saves
the image in ppm format instead of pbm format.  (The real format is
obvious from the size of the resulting file, though the file
extension is pbm).  What is going on here?  If I remove the last
line of the script and run the Save command from the menu, I get a
proper pbm file.

This is with gimp 2.6.12 under ubuntu 12.04.


(define (script-fu-pbm-save image) 
  (let ((nameparts (strbreakup (car (gimp-image-get-filename image)) .)))
(unless (and ( (length nameparts) 1)
 (member (car (last nameparts)) '(pbm PBM)) )
(set! nameparts (append (butlast nameparts) '(pbm))) )
(let ((filename (unbreakupstr nameparts .))
  (layer (car (gimp-image-flatten image))) )
  (unless (= 2 (car (gimp-image-base-type image)))
(gimp-image-convert-indexed image 0 3 FALSE FALSE TRUE ))
  (file-pbm-save RUN-NONINTERACTIVE image layer filename filename 1
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] help

2015-01-08 Thread jerry jasso
I want to know how gimp 2.8 was added in the main menu option vídeo.testing, 
icch.etc.thank you for your help.
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] help

2015-01-08 Thread Alexandre Prokoudine
On Thu, Jan 8, 2015 at 8:01 AM, jerry jasso wrote:
 I want to know how gimp 2.8 was added in the main menu
 option vídeo.testing, icch.etc.thank you for your help.

Jerry,

Could you please be just a tad more specific, please?

Alex
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list

Re: [Gimp-user] Call for Participation: Libre Graphics Meeting 2015

2015-01-08 Thread Sam Gleske
I'll be submitting a presentation for the GIMP build system soon.
https://build.gimp.org/

On Wed, Jan 7, 2015 at 4:45 AM, Femke Snelting snelt...@collectifs.net
wrote:

 It is that time of the year again! Your proposals for talks and/or
 workshops are very welcome for the tenth edition of LGM.

 All the best,


 Femke

 /

 *Libre Graphics Meeting 2015: Beyond The First Decade*
 http://libregraphicsmeeting.org/2015/call-for-participation/

 The tenth annual international Libre Graphics Meeting 2015 will take place
 29 April – 2 May 2015 in Toronto, Canada.
 This yearly event is an occasion for teams and individual
 contributors/artists involved in Libre Graphics to work together, to share
 experiences and to hear about new ideas.

 By Libre Graphics we mean Free, Libre and Open Source tools for design,
 illustration, photography, typography, art, graphics, page  layout,
 publishing, cartography, animation, video, interactive media, generative
 graphics and visual live-coding. The Libre Graphics Meeting is not just
 about software, but extends to standards, file formats and  actual use of
 these in creative work.

 We are looking for:

 * In-depth presentations of Libre Graphics code-contributions
 * Showcases of excellent work made using Libre Graphics tools
 * New and experimental projects in this area to meet the wider community
 * Reports, use-cases, best practices
 * Talks that show the accomplishments and strides that Libre Graphics has
 made in its first decade and what it can do next

 Available formats (times include QA):

 * Lightning talk (7 minutes, selected at the event unconference style)
 * Presentations (20 minutes)
 * Entry for State of the Libre Graphics Union (1-2 slides)
 * Workshops (1 or 2 hours)*
 * Birds Of a Feather (BOF), discussion meetings or Hackathons (2 hrs or
 more)

 *State of the Libre Graphics Union*
 We will kick off the event with a joint session that sums up all  things
 that have happened in our wide landscape over the last year.  Instead of
 slots in the schedule for general updates on each and every  Libre Graphics
 project, we invite you to submit a maximum of two slides,  showcasing new
 abilities and/or text enumerating the leaps forward  that your project made.

 *Special focus: Beyond The First Decade*
 Because 2015 marks the tenth edition of LGM, the focus this year is on the
 past and future of Libre Graphics. We have a special interest this year in
 projects that show where Libre Graphics has been, what distances it has
 travelled, and where it might go in the next ten years. We welcome
 submissions representing the broad ecology of Libre Graphics, from
 full-fledged software packages, to artist-built scripts, to art and
 publications, and even the cultural touchstones and issues present in Libre
 Graphics communities. We’re looking for talks, workshops and other events
 that show the accomplishments and strides that Libre Graphics has made in
 its first decade and what it can do next.
 ___
 gimp-user-list mailing list
 List address:gimp-user-list@gnome.org
 List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
 List archives:   https://mail.gnome.org/archives/gimp-user-list




-- 
I prefer to encrypt my email

GPG FINGERPRINT 4096 KEY
8D8B F0E2 42D8 A068 572E
BF3C E8F7 3234 7257 E65F
https://keybase.io/samrocketman

Learn how to encrypt your email with the Email Self Defense guide:
https://emailselfdefense.fsf.org/en/
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list