WDX Content Plugin: ImgSize

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

J.Bl
Member
Member
Posts: 116
Joined: 2005-01-23, 16:29 UTC

Post by *J.Bl »

Hello,
Lefteous wrote:what about displaying the aspect ratio as for example 4:3 instead of 1.333? 1.333 is not really common and the user has to know that 1.333 means 1:1.333
Thank you for your request.

The aspect ratio column was impemented in the plugin - because of users request - for sorting purposes. To show the aspect ratio of the images as a floating value fits to this purpose.

Aspect ratio as a relation value is another thing, I think... This will be much more only a informational column. An interesting idea...

But... How to handle it? With a table? what is with intermediate values?
Lefteous wrote:Thanks in advance!
You are welcome.

best regards

J.Bl
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2J.Bl
The aspect ratio column was impemented in the plugin - because of users request - for sorting purposes. To show the aspect ratio of the images as a floating value fits to this purpose.

Aspect ratio as a relation value is another thing, I think... This will be much more only a informational column. An interesting idea...
Yes it's an informational field. I want use it in thumbnail view.
The plugin API allows you to return a string for display but keep the sorting based on floats.
But... How to handle it? With a table? what is with intermediate values?
Well there is always a lowest common multiple :D
J.Bl
Member
Member
Posts: 116
Joined: 2005-01-23, 16:29 UTC

Post by *J.Bl »

Hello,
Lefteous wrote:The plugin API allows you to return a string for display but keep the sorting based on floats.
Yes, I use this feature already in the plugin (in this column)...
Lefteous wrote:Well there is always a lowest common multiple :D
Yes :wink:, but... is this in all cases the common way to show the value?

Best regards

J.Bl
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen »

A request : adding the ICO-format to the list of graphic extensions.
0.618033988
User avatar
petermad
Power Member
Power Member
Posts: 16031
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Danish translation for ImgSize plugin:

Code: Select all

[Dan]
Width=Bredde
Height=Højde
Pixel=Pixel
Diagonal=Diagonal
Orientation=Orientering
Size=Størrelse
Aspect Ratio=Størrelsesforhold
Bpp=BPP
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2J.Bl
is this in all cases the common way to show the value?
Well not in all cases. For standard image formats it's an easy calculation. For awry aspect ratios you could provide approximate values like ~3:2. What do you think?
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2J.Bl
Is this plug-in still supported is this plugin still in development? I'm experiencing crashes with certain images.
J.Bl
Member
Member
Posts: 116
Joined: 2005-01-23, 16:29 UTC

Post by *J.Bl »

Lefteous wrote:2J.Bl
Is this plug-in still supported is this plugin still in development? I'm experiencing crashes with certain images.
Yes. It paused for a while, but it is the plan to support unicode in 7.50. Is it possible to send these images to me, please?

J.Bl
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2J.Bl
Great to hear that development of one of my favorite plugins will be continued. I found that the problem is not the image itself but the permissions. The current user had no access rights to read the file. After adding read permissions imgsize delivers its size.
So it would be great if you could add a more tolerant handling.
Last edited by Lefteous on 2009-04-26, 22:43 UTC, edited 1 time in total.
J.Bl
Member
Member
Posts: 116
Joined: 2005-01-23, 16:29 UTC

Post by *J.Bl »

Lefteous wrote:So it would be great if you could add a more tolerant handling.
Ok, thank you for your information.

J.Bl
Post Reply