It is currently Thu Jul 31, 2014 5:36 pm


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Trouble with - The BIMP plugin
PostPosted: Tue May 08, 2012 3:29 pm  (#1) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 11323
Location: "Looking for my eraser" =P
Has anyone had trouble adding images to the list?
All it will do for me is open folders and it won't show individual images.

I even re compiled it thinking maybe a dll was missing but it compiled, and no dll was made.

_________________
Image
____________
OK, . . . . so what's the speed of dark?


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Profile  
 
 Post subject: Re: Trouble with - The BIMP plugin
PostPosted: Tue May 08, 2012 3:53 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2012
Posts: 582
Location: Heading to Montana
Nope just added an image. Ran de-saturate and colorize for it to make sure it ran, and it crashed. Pretty sad, had high hopes for it. Still don't think its complete waste though.

_________________


"In the face of adversity, there's three things: fly, freeze or fight; We're choosing to fight..."- Guy Boucher, Tampa Bay Lighting Head Coach

BE THE THUNDER!
Image


Top
 Profile  
 
 Post subject: Re: Trouble with - The BIMP plugin
PostPosted: Tue May 08, 2012 4:03 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 11323
Location: "Looking for my eraser" =P
How exactly are you opening a directory? Do you have an image already opened in Gimp?
Also i heard it runs the default batch operations pretty well and just crashes using the procedure browser.

_________________
Image
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: Trouble with - The BIMP plugin
PostPosted: Tue May 08, 2012 4:31 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2012
Posts: 582
Location: Heading to Montana
Ya thats when it crashed. I just opened it and hit Add Image Files in the lower-left hand side. And wam-bam it works :D

_________________


"In the face of adversity, there's three things: fly, freeze or fight; We're choosing to fight..."- Guy Boucher, Tampa Bay Lighting Head Coach

BE THE THUNDER!
Image


Top
 Profile  
 
 Post subject: Re: Trouble with - The BIMP plugin
PostPosted: Tue May 08, 2012 4:33 pm  (#5) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 498
FWIW
I compiled the 0.3 version in a linuxmint debian gimp 2.8 installation and it opens & adds files and filters. Running it and it either crashes or does nothing. The previous version still works.
The author did warn of error messages during compilation and there certainly were lots of those. For some reason the 0.3 compiled binary was much smaller than the previous.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Trouble with - The BIMP plugin
PostPosted: Tue May 08, 2012 4:54 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2012
Posts: 582
Location: Heading to Montana
Seems like its missing files.

_________________


"In the face of adversity, there's three things: fly, freeze or fight; We're choosing to fight..."- Guy Boucher, Tampa Bay Lighting Head Coach

BE THE THUNDER!
Image


Top
 Profile  
 
 Post subject: Re: Trouble with - The BIMP plugin
PostPosted: Wed May 09, 2012 5:51 am  (#7) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 498
A new day and another try.

Got the same results as yesterday. Binaries bimp02 = 285 KB and bimp03 = 141 KB. I can't see much difference in the scripts apart from files sizes, so maybe some optimization.

Trying it out & slightly better results, the rename filter crashes it every time, probably my fault, not sure of the syntax.

This is a composite of a chain of operations, logo, crop, gimp procedure. That worked fine here, although not in the order I expected. Also tried the scale + dpi function and that works as well.

I suppose @ ver 0.3 it is early days.

Image

_________________
Image


Top
 Profile  
 
 Post subject: Re: Trouble with - The BIMP plugin
PostPosted: Wed May 09, 2012 7:14 am  (#8) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 8
Hello, I'm Alessandro Francesconi, the author of BIMP. I try to explain some of your troubles:

1) First, for those who are wondering about the difference between BIMP 0.2 and BIMP 0.3 filesize, the last version is smaller thanks to compiling optimizations with gcc's -O2 option. Theorically, this is not related to all the bugs you found.

2) Trouble on adding images: I can't reproduce it. I can tell you that the GtkFileChooser that pops up by clicking on "Add image files" looks for images by looking at their MIME type (so, it searches for "image/bmp", "image/png" MIME types and so on). This is for avoiding searching for multiple file extensions (.jpg, .Jpg, .JPG... this would be horrible). I assume that other GTK-based on your system (Windows?) can open image files instead. If not, it can be a problem related to your GTK-runtimes installation.
Is this problem in 0.2 version too?

3) About "Other GIMP procedure" dialog: it's a known issue and yes, I experience it sometimes but only on Windows. In the 0.1 release the problem was very frequent (dialog crashed on opening, closing, updating with apparently no reasons). I partly fixed it by optimizing some memory allocation functions (read here https://github.com/alessandrofrancescon ... p/issues/1).
It would be awesome if someone could help me by describing the exact moments when it crashes (on closing? When changing the procedure? When clicking on Apply?).

4) About compiling warnings: they are related to little code workarounds or unused functions/variables that will be written in future. There is no correspondence with current bugs.

5) About "Rename" crashes: could you please tell me how to reproduce it? What pattern did you write on the text field?

EDIT: 6) About the final order of the manipulations: it's not intended to follow the order of the buttons in the dialog. In particular, "Watermark" step is set to be the last, everytime. This is a default decision that, for now, can't be modified. And I think it's reasonable: if the user chooses to place some text on the bottom-left side of the images and then he selects the "Rotate 180°" manipulation, the result won't be the expected. Same thing if the user sets a coloured image as a watermark and, then, chooses to convert the files into grayscale colors.

By the way, I ask you to write here https://github.com/alessandrofrancescon ... imp/issues to receive a better support from the author and other programmers ;)


Top
 Profile  
 
 Post subject: Re: Trouble with - The BIMP plugin
PostPosted: Wed May 09, 2012 9:06 am  (#9) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 498
Quote:
About "Rename" crashes: could you please tell me how to reproduce it? What pattern did you write on the text field?


Just need a couple of examples of correct usage.

Would this work @@## to add a number sequence or is it @@#1 or what?
Will @@name append name to the original.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Trouble with - The BIMP plugin
PostPosted: Wed May 09, 2012 9:35 am  (#10) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 8
rich2005 wrote:
Quote:
About "Rename" crashes: could you please tell me how to reproduce it? What pattern did you write on the text field?


Just need a couple of examples of correct usage.

Would this work @@## to add a number sequence or is it @@#1 or what?
Will @@name append name to the original.


The correct use is:

Original filename image.<ext>
With pattern "$$" the name remains the same: image.<ext>
With pattern "$$_NEW" all the names have "_NEW" appended: image_NEW.<ext>
With pattern "##$$" the filenames have an auto incremented integer number at the start, then the original name: 1image.<ext>
With pattern "@@_file_##" the final names will be: 2012-05-09_15-31_file_1.<ext>

In your example, "@@name" will try to output a set of images all named 2012-05-09_15-31name.<ext>, but this is not possible for obvious reasons (the filename pattern needs at least ## or $$ keywords).

Hope you understand.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* Login  

* Subscribe to Gimp Chat's RSS Feed    * Subscribe to Gimp Chat's Tutorial Feed    * Subscribe to Gimp Chat's G'MIC Feed


Powered by phpBB3 © phpBB Group