Copy link to clipboard
Copied
In this PNG File How to get Under Ratio Selection Any PNG File in Script ?
Is that possible to get the Ratio in PNG File ?
Copy link to clipboard
Copied
What do you mean by »Under Ratio Selection«?
Copy link to clipboard
Copied
Yes, In a PNG File I want to Under Ratio Selection in Script..
Copy link to clipboard
Copied
Check it
Copy link to clipboard
Copied
I'm not able to compare your image to 'Under Ratio Selection', and why it's only for PNG 😕
Copy link to clipboard
Copied
Do you mean the smaller empty area?
Copy link to clipboard
Copied
He confuses us with word 'Under' and PNG format.
Copy link to clipboard
Copied
Yes
Copy link to clipboard
Copied
b = activeDocument.selection.bounds; (b[2] - b[0]) / (b[3] - b[1])
Copy link to clipboard
Copied
Getting a error "No Such Element"
Copy link to clipboard
Copied
Did you open document and made selection? Try again...
Copy link to clipboard
Copied
b is undefined error
Copy link to clipboard
Copied
b = activeDocument.selection.bounds;
(b[2] - b[0]) / (b[3] - b[1])
I ran the script but does not work
Copy link to clipboard
Copied
For me it works. If not for you, then what is the result you're getting?
A result for me for selection of provided image is: 0.75133689839572
Copy link to clipboard
Copied
Loll, he did not ask do you want 'Under Ratio Selection' 😄
Copy link to clipboard
Copied
Give me any idia of Under Ratio Selection
Copy link to clipboard
Copied
You don't read what we say, and don't anwer for questions to help us understand you.
Copy link to clipboard
Copied
I read all question @Kukurykus
Copy link to clipboard
Copied
So if you read all questions, can you answer for them before you start new request?
Copy link to clipboard
Copied
You say you want "under ratio selection".
We have no clue what you mean by "under ratio selection".
We ask you what it means.
You repeat you want "under ratio selection".
This does not answer our question. This does not help us. This wastes our time. This wastes your time. Just answer the question properly.
Copy link to clipboard
Copied
I want to under Ratio Selection, If i get under ratio selection, I will made Shape of Under Ratio Selection
Copy link to clipboard
Copied
You are just repeating "under ratio selection". "Under ratio selection". You can repeat 100 times, we still DO NOT UNDERSTAND WHAT YOU MEAN. Explain in detail. Use a different language if it helps.
Copy link to clipboard
Copied
I hope forum would not translate words used in his language to 'under ratio selection' 😛
Copy link to clipboard
Copied
Step 1:- Open PNG File
Step 2:- Select Under Selection Ratio, I have marked Red arrow , can you see it?
Copy link to clipboard
Copied
We see the selection. We do not know "under" with this selection. We do not know "ratio".
EXPLAIN!! Stop repeating yourself!!