RSS/Atom feed Twitter
Site is read-only, email is disabled

Scale Constrained

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Scale Constrained Jonathan Bartlett 05 Sep 18:09
  Scale Constrained Sven Neumann 07 Sep 13:05
Jonathan Bartlett
2003-09-05 18:09:23 UTC (over 21 years ago)

Scale Constrained

I wrote a small but useful script that will scale an image to best fit within a constrained size without affecting aspect ratio. It's a simple script, but I've found it quite useful as a component for other scripts, and thought it might be useful in GIMP at large. It's scheme right now, but I could code it in C if you would like:

http://www.eskimo.com/~johnnyb/computers/multimedia/

Also on that page is a templated images script, which is really, REALLY basic at the moment, but basically allows you to easily create image-based templates (think Print Shop). Anyway, eventually I'm going to make this into something which has the ability to intelligently search for pictures to plug in, a better UI, and a UI for creating templates. However, if someone else was interested it might go a bit faster :) I thought this would be useful enough that some of the developer community might want to be involved, so I posted here.

Anyway, let me know.

Jon

Sven Neumann
2003-09-07 13:05:09 UTC (over 21 years ago)

Scale Constrained

Hi,

Jonathan Bartlett writes:

I wrote a small but useful script that will scale an image to best fit within a constrained size without affecting aspect ratio.

I might miss something obvious, but I think this can be easily achieved using the existing Scale Image GUI.

Also on that page is a templated images script, which is really, REALLY basic at the moment, but basically allows you to easily create image-based templates (think Print Shop).

Please note that the term Template is already taken in GIMP-1.3. Templates are available in the File-New dialog and can be just an image size or even point to a template XCF to load.

Sven