It is currently Wed Apr 17, 2024 10:01 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Changing Image Size with GIMP plugin
PostPosted: Fri Feb 05, 2016 11:43 am  (#1) 
Offline
GimpChat Member

Joined: Dec 19, 2015
Posts: 46
Is it ever possible for the output of a filter to be of a different size than the input?

If so, can you give me an example of how it's done. If not, at what point is the image forced back to the original size? Is it right at the end or some other point? Is this a limitation of GIMP's plugin interface?

Souphead.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Changing Image Size with GIMP plugin
PostPosted: Fri Feb 05, 2016 12:52 pm  (#2) 
Offline
GimpChat Member

Joined: Sep 24, 2012
Posts: 275
Location: Scotland
Are you talking about the actual gimp plugin interface?

It's certainly possible with G'MIC, just by using any resize type command.
The gimp plugin interface is "deprecated" and will be moving to gegl (i.e. gegl buffers).
I suppose some example of use can be seen in gmic_gimp.cpp but there are docs about it elsewhere.

Edit: since you posted in G'MIC discussions, I'll assume you mean G'MIC

A basic resize example: -r 200%,200%

It just occurred to me you might be fighting with the "custom code" filter - it limits the size!


Top
 Post subject: Re: Changing Image Size with GIMP plugin
PostPosted: Fri Feb 05, 2016 9:17 pm  (#3) 
Offline
Script Coder
User avatar

Joined: Dec 27, 2014
Posts: 508
eg.
- Arrays & tiles > Array [regular] ...with Size = "Repeat [Memory consuming!]"
..resizes the input layer or creates a new layer/image which is NxM the size of the input layer
- Arrays & tiles > Montage


Top
 Post subject: Re: Changing Image Size with GIMP plugin
PostPosted: Sun Feb 07, 2016 6:59 pm  (#4) 
Offline
GimpChat Member

Joined: Dec 19, 2015
Posts: 46
Yeah, the custom code filter got me. Just make it bigger, and there you go. Thanks garagecoder and jontait2.

Souphead.


Top
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Changing UI Font Size

6

No new posts Attachment(s) Someone Please Help Me Understand Why Is the Gimp Image Size Bigger

4

No new posts Attachment(s) Image quality and file size hacks

9

No new posts Get a mouse click or select a pixel in an image in a python plugin?

3

No new posts Attachment(s) Font Changing

12



* Login  



Powered by phpBB3 © phpBB Group