A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Calculating the aspect ratio



 
 
Thread Tools Rate Thread Display Modes
  #76  
Old June 8th 19, 03:18 AM posted to alt.comp.os.windows-10
Ken Springer[_2_]
external usenet poster
 
Posts: 3,817
Default Calculating the aspect ratio

On 6/7/19 6:11 PM, Paul wrote:
Ken Springer wrote:
On 6/7/19 2:21 PM, nospam wrote:
In article , Paul
wrote:

LCDs work best at native resolution.

that does not apply when the pixel size is smaller than what the eye
can resolve, as it is with hi-dpi displays.

I would not be
thinking about "aspect ratio" with an LCD monitor, because
good options are pretty limited.

different aspect ratios means either letterboxing, stretching one
dimension to fit or clipping, none of which look good.


Not if the other chosen aspect ratio is the same as the native resolution.


There are two settings.

You set the resolution to "native", on the understanding
the monitor has square pixels. This is the sharpest setting.
Any other corrections will be done elsewhere. Good so far.

Now, your 4K monitor is making the print really really small.


What 4K monitor? I ain't got one of them... LOL And I don't know
anyone that does.

You reach for the percentage control and set the screen to 200%.
This causes the OS to make desktop objects twice as big,
which compensates for the higher resolution of the display,
and makes things easier to see again.

https://i.postimg.cc/50kQkT9c/window...nt-setting.gif

My WinXP screen is set to 125% I think, and it's not all that
big of a screen either. I don't really know what percentage
settings are possible on each OS, or make sense. I thought the
notion of HiDPI was at least 200% or so.


I have my XP machine at 100%, which works fine. But Windows 7 and older
had far more customizing options than W8 and after. For me, I don't
need bigger icons, just bigger text. MS so helpfully removed that from
W10, but now some of it has returned. But the user's options to
customize the desktop and OS are not as robust as they used to be.

These are things you can play with at the computer store.


What's a computer store????? G

The only problem here is, the last store that had such
a collection of displays, isn't in business any more.
And the remaining stores are "cheap" when it comes to
such issues. Not nearly the same opportunity for playing.


There's a Micro Center I could go to, but it's about 3 hours away.


--
Ken
MacOS 10.14.5
Firefox 67.0
Thunderbird 60.7
"My brain is like lightning, a quick flash
and it's gone!"
Ads
  #77  
Old June 8th 19, 03:53 AM posted to alt.comp.os.windows-10
nospam
external usenet poster
 
Posts: 4,718
Default Calculating the aspect ratio

In article , Ken Springer
wrote:


If I had all the money in the world, that's what I'd buy. And I'd have
bought a Power Mac, rather than the cheapest Mac Mini Apple has! LOL


powermacs were discontinued more than ten years ago, and can be found
used for relatively cheap.


I probably wrote Power Mac because I have one, 6400. It was my mother's
first computer, and except for the monitor, it still runs.


that was not one of their better models, although you could connect a
vga display and pretend it's 1996 all over again.
  #78  
Old June 8th 19, 04:07 AM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Calculating the aspect ratio

Ken Springer wrote:


I have my XP machine at 100%, which works fine. But Windows 7 and older
had far more customizing options than W8 and after. For me, I don't
need bigger icons, just bigger text. MS so helpfully removed that from
W10, but now some of it has returned. But the user's options to
customize the desktop and OS are not as robust as they used to be.


I thought there was some tweaker that brought those settings back ?

https://www.ghacks.net/2017/04/12/sy...eators-update/

There's one called Advanced System Font Changer too.

*******

https://www.tenforums.com/general-su...nt-larger.html

* How to Change Text Size of Icons in Windows 10
* How to Change Text Size for Menus in Windows 10
* How to Change Text Size for Message Boxes in Windows 10
* How to Change Text Size for Title Bars in Windows 10
* How to Change Text Size for Tooltips in Windows 10

I think these are intended to duplicate what used to be there,
but the problem with Windows 10 is, it's a moving target, and
just because there's a list, doesn't mean any of them work now.

Paul
  #79  
Old June 8th 19, 09:17 AM posted to alt.comp.os.windows-10
Ken Springer[_2_]
external usenet poster
 
Posts: 3,817
Default Calculating the aspect ratio

On 6/7/19 9:07 PM, Paul wrote:
Ken Springer wrote:


I have my XP machine at 100%, which works fine. But Windows 7 and older
had far more customizing options than W8 and after. For me, I don't
need bigger icons, just bigger text. MS so helpfully removed that from
W10, but now some of it has returned. But the user's options to
customize the desktop and OS are not as robust as they used to be.


I thought there was some tweaker that brought those settings back ?

https://www.ghacks.net/2017/04/12/sy...eators-update/

There's one called Advanced System Font Changer too.


They are the same program, I've forgotten what the difference is. While
the program changes some things, it doesn't fully replace those items
that were removed.

*******

https://www.tenforums.com/general-su...nt-larger.html

* How to Change Text Size of Icons in Windows 10
* How to Change Text Size for Menus in Windows 10
* How to Change Text Size for Message Boxes in Windows 10
* How to Change Text Size for Title Bars in Windows 10
* How to Change Text Size for Tooltips in Windows 10

I think these are intended to duplicate what used to be there,


The screenshots are all from the program(s) above

but the problem with Windows 10 is, it's a moving target, and
just because there's a list, doesn't mean any of them work now.


That moving target crap is part of the problem. You'll run into a user
now and again that says "Why should I learn how to do it, they are just
going to change it anyway." And, it's a valid point. All MS does with
that idea is waste people's time in the long run. If I was a business,
I'd sure get tired of my productive time being turned into nonproductive
time.

In another message, I commented a new monitor had just arrived. I'm
using that monitor right now, and I have to say, it's so nice to be able
to read things again using many default settings I had changed to fit me
better.

I am fortunate in this area. For the lady for whom I've tweaked her
system, messages in Gmail physically measure a quarter inch tall. And
still, for somethings, she has to get out a magnifying glass.

It's Windows 7, and I've tweaked everything I can to make it easier for
her I can. It's been awhile, but I think I changed the magnification of
the display (the 100%, 125% or 150% options) and the change resolution
idea we're discussing here.

But there's a practical limit there, too. All of a sudden, web pages
are no longer practical to use because you are constantly having to
scroll all over the damned place to read them. It's like going back to
an old 14" CRT. Who designs web pages for a monitor like that anymore? :-(


--
Ken
MacOS 10.14.5
Firefox 67.0
Thunderbird 60.7
"My brain is like lightning, a quick flash
and it's gone!"
  #80  
Old June 10th 19, 03:02 AM posted to alt.comp.os.windows-10
Gene Wirchenko[_2_]
external usenet poster
 
Posts: 496
Default Calculating the aspect ratio

On Fri, 07 Jun 2019 11:35:56 -0700, Ken Blake
wrote:

On Fri, 7 Jun 2019 10:10:28 -0600, Ken Springer
wrote:


[snip]

I don't know why
people had to change the name. LOL


To improve it. cough, cough

Actually, the split of grades is somewhat arbitrary so it is not
surprising to see various different splits.

Presumably because Jr High School and Middle School are not the same.
Jr High School was grades 7, 8, and 9, and Middle School is grades 6,
7, and 8.


In my neck of the woods (British Columbia), junior high school is
grades 8 to 10, and senior high is grades 11 and 12.

At least that's my experience with those names. I suppose it's
possible that their meaning may vary in some locations.


Yup!

We also had elementary (grades 1 to 7) and a subsplit of -- I
think it was this -- primary (grades 1 to 3) and intermediate (grades
4 to 7).

Sincerely,

Gene Wirchenko
  #81  
Old June 10th 19, 03:03 AM posted to alt.comp.os.windows-10
Gene Wirchenko[_2_]
external usenet poster
 
Posts: 496
Default Calculating the aspect ratio

On Fri, 7 Jun 2019 13:29:59 -0600, Ken Springer
wrote:

On 6/7/19 12:54 PM, Gene Wirchenko wrote:
On Fri, 7 Jun 2019 09:15:20 -0600, Ken Springer
wrote:

[snip]

Correct, ratios and proportions are grade school math. But writing a
mathematical formula to do it with just inputting 2 variables,
apparently is not. G


It is not a formula. You solve it using Euclid's Algorithm which
calculates the Greatest Common Divisor of two numbers. Then, divide
each original value by the GCD to get the simplified ratio.


Do you think that's how Mr. Hedges is doing it on his website?


I do not know. Since I have not seen mention of Euclid's
Algorithm by anyone else or seen it code, I suspect not.

Sincerely,

Gene Wirchenko
  #82  
Old June 10th 19, 03:33 AM posted to alt.comp.os.windows-10
nospam
external usenet poster
 
Posts: 4,718
Default Calculating the aspect ratio

In article , Gene Wirchenko
wrote:

I don't know why
people had to change the name. LOL


To improve it. cough, cough


no cough needed. that's what they did.

it's more than just a name change.

Actually, the split of grades is somewhat arbitrary so it is not
surprising to see various different splits.


it's not arbitrary.
  #83  
Old June 10th 19, 03:34 AM posted to alt.comp.os.windows-10
Keith Nuttle
external usenet poster
 
Posts: 1,844
Default Calculating the aspect ratio

On 6/9/2019 10:03 PM, Gene Wirchenko wrote:
On Fri, 7 Jun 2019 13:29:59 -0600, Ken Springer
wrote:

On 6/7/19 12:54 PM, Gene Wirchenko wrote:
On Fri, 7 Jun 2019 09:15:20 -0600, Ken Springer
wrote:

[snip]

Correct, ratios and proportions are grade school math. But writing a
mathematical formula to do it with just inputting 2 variables,
apparently is not. G

It is not a formula. You solve it using Euclid's Algorithm which
calculates the Greatest Common Divisor of two numbers. Then, divide
each original value by the GCD to get the simplified ratio.


Do you think that's how Mr. Hedges is doing it on his website?


I do not know. Since I have not seen mention of Euclid's
Algorithm by anyone else or seen it code, I suspect not.

Sincerely,

Gene Wirchenko



http://mathworld.wolfram.com/EuclideanAlgorithm.html
https://en.wikipedia.org/wiki/Euclidean_algorithm
--
Please judge your ancestors by how well the lived up to their standards
not yours.
They did not know your standards, so could not try to meet them.
  #84  
Old June 10th 19, 05:01 AM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Calculating the aspect ratio

Gene Wirchenko wrote:
On Fri, 7 Jun 2019 13:29:59 -0600, Ken Springer
wrote:

On 6/7/19 12:54 PM, Gene Wirchenko wrote:
On Fri, 7 Jun 2019 09:15:20 -0600, Ken Springer
wrote:

[snip]

Correct, ratios and proportions are grade school math. But writing a
mathematical formula to do it with just inputting 2 variables,
apparently is not. G
It is not a formula. You solve it using Euclid's Algorithm which
calculates the Greatest Common Divisor of two numbers. Then, divide
each original value by the GCD to get the simplified ratio.

Do you think that's how Mr. Hedges is doing it on his website?


I do not know. Since I have not seen mention of Euclid's
Algorithm by anyone else or seen it code, I suspect not.

Sincerely,

Gene Wirchenko


I could rework something like this and see how much
more efficient it is. This particular one is recursive
(which I know Ken would hate because "it isn't closed
form").

https://rosettacode.org/wiki/Greates...on_divisor#AWK

That web page also mentions "Stein's Algorithm".

And that's the beauty of stepwise refinement - the
rosettacode site has a ton of implementations, and
for some problem types, you can see the obvious
superiority of some of the languages for the task.
Awk is a miserable language at the best of times,
but some wizard managed to make a one-liner out of this
problem. The tough part for me now, will be sliding
a counter into it, to count divisions, without
breaking it :-)

And it looks very efficient, compared to mine.
No more than 7 recursive calls in some test
values so far.

function gcd(p,q){
call++
return(q?gcd(q,(p%q)))
}

{
print gcd($1,$2)
print "number of calls " call
call = 0
}

Paul
  #85  
Old June 20th 19, 11:33 PM posted to alt.comp.os.windows-10
Ken Springer[_2_]
external usenet poster
 
Posts: 3,817
Default Calculating the aspect ratio

On 6/7/19 12:45 PM, Char Jackson wrote:
On Fri, 7 Jun 2019 10:48:21 -0600, Ken Springer
wrote:

On 6/7/19 10:43 AM, Mayayana wrote:
"Ken Springer" wrote


snip

If you have Excel, you can use something like this:

=$D1/GCD($D1,$D2) & ":" & $D2/GCD($D1,$D2)


HI, Char,

Sorry for the late reply, other irons in the fire got in the way.

The formula did indeed work in the spreadsheet I'm using. I still need
to see if the spreadsheet I'm using has some type of "If, Then, Else"
option to cover the situation where 16:10 ends up being 8:5, as was
mentioned by Paul.

snip


--
Ken
MacOS 10.14.5
Firefox 67.0.4
Thunderbird 60.7
"My brain is like lightning, a quick flash
and it's gone!"
  #86  
Old June 21st 19, 03:51 AM posted to alt.comp.os.windows-10
Char Jackson
external usenet poster
 
Posts: 10,449
Default Calculating the aspect ratio

On Thu, 20 Jun 2019 16:33:09 -0600, Ken Springer wrote:

On 6/7/19 12:45 PM, Char Jackson wrote:
On Fri, 7 Jun 2019 10:48:21 -0600, Ken Springer
wrote:

On 6/7/19 10:43 AM, Mayayana wrote:
"Ken Springer" wrote


snip

If you have Excel, you can use something like this:

=$D1/GCD($D1,$D2) & ":" & $D2/GCD($D1,$D2)


HI, Char,

Sorry for the late reply, other irons in the fire got in the way.

The formula did indeed work in the spreadsheet I'm using. I still need
to see if the spreadsheet I'm using has some type of "If, Then, Else"
option to cover the situation where 16:10 ends up being 8:5, as was
mentioned by Paul.

snip


In Excel, I might use the =IF formula, which gives me this:

=IF($D1/GCD($D1,$D2)&":"&$D2/GCD($D1,$D2)="8:5","16:10",$D1/GCD($D1,$D2)&":"&$D2/GCD($D1,$D2))

The commas separate the three fields.
The first field is the logical test. It asks the question, is the result of the formula "8:5"?
The second field is "if yes, do this": Display the result as "16:10"
The third field tells what to display if the logical test fails, which is simply a restatement of
the original formula.

It gets a bit unwieldy for humans, especially if you end up nesting multiple IF tests.


  #87  
Old June 21st 19, 02:23 PM posted to alt.comp.os.windows-10
Ken Springer[_2_]
external usenet poster
 
Posts: 3,817
Default Calculating the aspect ratio

On 6/20/19 8:51 PM, Char Jackson wrote:
On Thu, 20 Jun 2019 16:33:09 -0600, Ken Springer wrote:

On 6/7/19 12:45 PM, Char Jackson wrote:
On Fri, 7 Jun 2019 10:48:21 -0600, Ken Springer
wrote:

On 6/7/19 10:43 AM, Mayayana wrote:
"Ken Springer" wrote


snip

If you have Excel, you can use something like this:

=$D1/GCD($D1,$D2) & ":" & $D2/GCD($D1,$D2)


HI, Char,

Sorry for the late reply, other irons in the fire got in the way.

The formula did indeed work in the spreadsheet I'm using. I still need
to see if the spreadsheet I'm using has some type of "If, Then, Else"
option to cover the situation where 16:10 ends up being 8:5, as was
mentioned by Paul.

snip


In Excel, I might use the =IF formula, which gives me this:

=IF($D1/GCD($D1,$D2)&":"&$D2/GCD($D1,$D2)="8:5","16:10",$D1/GCD($D1,$D2)&":"&$D2/GCD($D1,$D2))

The commas separate the three fields.
The first field is the logical test. It asks the question, is the result of the formula "8:5"?
The second field is "if yes, do this": Display the result as "16:10"
The third field tells what to display if the logical test fails, which is simply a restatement of
the original formula.

It gets a bit unwieldy for humans, especially if you end up nesting multiple IF tests.


Exactly where I was going to go, I just have to check the manual to make
sure the syntax is the same.

And yes, my program has a PDF manual available for download. G


--
Ken
MacOS 10.14.5
Firefox 67.0.4
Thunderbird 60.7
"My brain is like lightning, a quick flash
and it's gone!"
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 07:35 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.