Post Reply 

1023 characters limit in plugins strings

Mar 15, 2012, 19:42
Post: #1
1023 characters limit in plugins strings
I noticed a 1023 chars limit for strings passed to plugins, in particular I noticed that issuing this into the script-foo console
(gimp-text-get-extents-fontname "text" size n "font")
gimps reports error if "text" is longer than 1023 characters:
Error: Error reading string

If its increase doesn't require a rework of a whole chain of functions' interfaces it should be easy to do.

I'd like also to point out that this would enlarge the gimp's usage scope, especially when it is used as a building block for other software rather than as a tool on its own.

Thank you.
Find all posts by this user
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Accented characters wihtin "text string" prevent script from loading Shadowes 1 658 Aug 28, 2014 15:37
Last Post: Shadowes
  Sample plugins not showing up at all. oconzer 6 1,620 Feb 26, 2014 00:20
Last Post: fluffybunny2
  Plugins in Batch Mode fergusondavid6 2 1,741 Jan 20, 2014 10:22
Last Post: rich2005
  Downloading plugins angster 0 776 Oct 14, 2012 20:23
Last Post: angster
  Plugins for Mac?? stereoG 2 2,622 Aug 10, 2012 08:13
Last Post: thehundefor

Forum Jump:

GIMP ForumPortalArchiveContactTermsRSS