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

can't keep proportions

This discussion is connected to the gimp-user-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.

8 of 8 messages available
Toggle history

Please log in to manage your subscriptions.

can't keep proportions Mattia 18 Dec 23:58
  can't keep proportions rich2005 19 Dec 09:23
   can't keep proportions Mattia 19 Dec 20:19
    can't keep proportions rich2005 19 Dec 20:50
  can't keep proportions programmer_ceds 19 Dec 11:11
   can't keep proportions Mattia 19 Dec 20:18
    can't keep proportions Jay Smith 19 Dec 21:08
    can't keep proportions programmer_ceds 19 Dec 21:27
2016-12-18 23:58:06 UTC (about 8 years ago)
postings
4

can't keep proportions

hello, i'm making an image which needs to have a certain width and length. problem is that when i use the tool Filters > Decor > Border and add the same exact number of px the Y and X columns, the image does not maintain proportions with the border added. why?it should add the same exact amount of pixels to the x and to y and keep proportions but it doesn't. thanks.

rich2005
2016-12-19 09:23:05 UTC (about 8 years ago)

can't keep proportions

hello, i'm making an image which needs to have a certain width and length. problem is that when i use the tool Filters > Decor > Border and add the same exact number of px the Y and X columns, the image does not maintain proportions with the border added. why?it should add the same exact amount of pixels to the x and to y and keep proportions but it doesn't. thanks.

If you need the border inside the canvas then

Select -> All ctrl-A

Edit -> Stroke Selection with the width twice the required border size.

2016-12-19 11:11:57 UTC (about 8 years ago)
postings
121

can't keep proportions

hello, i'm making an image which needs to have a certain width and length. problem is that when i use the tool Filters > Decor > Border and add the same exact number of px the Y and X columns, the image does not maintain proportions with the border added. why?it should add the same exact amount of pixels to the x and to y and keep proportions but it doesn't. thanks.

If you add the same number of pixels to both the width and the height the aspect ratio will change UNLESS the image is square (height = width) - this is a simple consequence of basic arithmetic.

If you want the aspect ratio to be unaltered you will need to add more pixels on the shortest sides of the image than you do on the longest sides - how may more being determined by the aspect ratio of the original image.

For example if the image was 400 x 200 pixels adding a 10 pixel border to all sides would give 420 x 220 - which alters the aspect ratio. Adding 10 pixels each side and 5 pixels top and bottom gives 420 x 210 which preserves the aspect ratio.

2016-12-19 20:18:28 UTC (about 8 years ago)
postings
4

can't keep proportions

thank you for the help, much appreciated. this will cause the border to look uneven however, isn't there a work around to this? also, it's not clear to me why 400 x 200 and 420 x 220 is not keeping aspect ratio? the vertical increases exactly the same amount of the horizontal....

If you add the same number of pixels to both the width and the height the aspect ratio will change UNLESS the image is square (height = width) - this is a simple consequence of basic arithmetic.

If you want the aspect ratio to be unaltered you will need to add more pixels on the shortest sides of the image than you do on the longest sides - how may more being determined by the aspect ratio of the original image.

For example if the image was 400 x 200 pixels adding a 10 pixel border to all sides would give 420 x 220 - which alters the aspect ratio. Adding 10 pixels each side and 5 pixels top and bottom gives 420 x 210 which preserves the aspect ratio.

2016-12-19 20:19:43 UTC (about 8 years ago)
postings
4

can't keep proportions

i think when adding the border the canvas also expands to contain it, no? the border is inside the canvas then, right?

If you need the border inside the canvas then

Select -> All ctrl-A

Edit -> Stroke Selection with the width twice the required border size.

rich2005
2016-12-19 20:50:54 UTC (about 8 years ago)

can't keep proportions

i think when adding the border the canvas also expands to contain it, no?
the border is inside the canvas then, right?

Canvas size remains the same, border is inside the canvas.

You are stroking a selection, the width of the stroke is half inside the canvas, hence the need to double the required size.

rich: www.gimp-forum.net

Jay Smith
2016-12-19 21:08:20 UTC (about 8 years ago)

can't keep proportions

Mattia,

You said:

also, it's not clear to me why 400 x 200 and 420 x 220 is not keeping aspect ratio? the vertical increases exactly the same amount of the horizontal....

It sounds to me like the problem is that you are confusing "same amount" with "same proportion". They are _not_ the same thing.

Increasing 200 to 220 is a proportional increase of 10%.

If you increase 400 by 10%, that becomes 440, _not_ 420!

Jay

On 12/19/2016 03:18 PM, Mattia wrote:

thank you for the help, much appreciated. this will cause the border to look uneven however, isn't there a work around to this?
also, it's not clear to me why 400 x 200 and 420 x 220 is not keeping aspect ratio? the vertical increases exactly the same amount of the horizontal....

If you add the same number of pixels to both the width and the height the aspect ratio will change UNLESS the image is square (height = width) - this is a simple consequence of basic arithmetic.

If you want the aspect ratio to be unaltered you will need to add more pixels on the shortest sides of the image than you do on the longest sides - how may more being determined by the aspect ratio of the original image.

For example if the image was 400 x 200 pixels adding a 10 pixel border to all sides would give 420 x 220 - which alters the aspect ratio. Adding 10 pixels each side and 5 pixels top and bottom gives 420 x 210 which preserves the aspect ratio.

Jay Smith

e-mail: Jay@JaySmith.com  mailto:Jay@JaySmith.com
website: http://www.JaySmith.com

Jay Smith & Associates
P.O. Box 650
Snow Camp, NC  27349  USA

Phone: Int+US+336-376-9991
Toll-Free Phone in US & Canada:
	1-800-447-8267
Fax: Int+US+336-376-6750
2016-12-19 21:27:44 UTC (about 8 years ago)
postings
121

can't keep proportions

also, it's not clear to me why 400 x 200 and 420 x 220 is not keeping aspect ratio? the vertical increases exactly the same amount of the horizontal....

To put it slightly differently you can think of the aspect ratio as being the width divided by the height.

400/200 = 2.0

420/220 = 1.90909 (approximately)

so the aspect ratios are not the same.