WDX Content Plugin: ImgSize
Moderators: Hacker, petermad, Stefan2, white
WDX Content Plugin: ImgSize
Hello,
At http://www.bleichroth.info/pub/wdx/wdx_ImgSize.zip
I have placed a WDX Content Plugin for Total Commander (version 6.50 and higher) with informations about Image Width, Height, Pixel, Diagonale.
Regards
J. Bl
At http://www.bleichroth.info/pub/wdx/wdx_ImgSize.zip
I have placed a WDX Content Plugin for Total Commander (version 6.50 and higher) with informations about Image Width, Height, Pixel, Diagonale.
Regards
J. Bl
Thanks
To J. BL
A great thanks for your plugin, I was waiting for such one...
Nice work !
Paul
A great thanks for your plugin, I was waiting for such one...

Nice work !
Paul
Ouistiti, #11943
L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.
1,77245385090552... •
L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.
1,77245385090552... •
Doesn't work here
2J.Bl
Hello !
- Doesn't work here under Win 98SE :
1. I get only the "Width" column-tab and its correct translated caption, but it displays nothing in the column for image-files
2. I get a pack of digits (values without any space) for file which are NOT images, and for these files only, for instance ZIP archives
3. This occurs either as adding the colomns from the plugin in an already existing custom header, or building a new header with all columns from the plugin. Not any crash, though.
¤ Below, the French section for the LNG:
Hoping you will improve this…
Regards,
Claude
Clo

- Doesn't work here under Win 98SE :
1. I get only the "Width" column-tab and its correct translated caption, but it displays nothing in the column for image-files

2. I get a pack of digits (values without any space) for file which are NOT images, and for these files only, for instance ZIP archives

3. This occurs either as adding the colomns from the plugin in an already existing custom header, or building a new header with all columns from the plugin. Not any crash, though.
¤ Below, the French section for the LNG:
Code: Select all
[FRA]
x=Largeur
y=Hauteur
x*y=pixels
Diagonal=Diagonale

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
General remark to plugin writers: PLEASE make your plugins as error-tolerant as possible! Always check the data you use, because the user may send just about ANYTHING to your plugin! A file may have extension .JPG but be something completely different...Crash in plugin ImgSize.wdx:
External exception EEDFADE
This error appears in custom columns dialog displaying the fields Width and Height. The problem seems to be a 0 bytes bitmap.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hello,
Thank you for your response.
Lefteous wrote:
> Crash in plugin ImgSize.wdx ... The problem seems to be a 0 bytes bitmap
In version 1.02 I have added some additional file checks, please try it
Clo wrote:
> Doesn't work here under Win 98SE ... get only the "Width" column-tab
I do not use W98SE and so I have no chance to check it under this OS. Please try new version 1.02.
> I get a pack of digits ... for file which are NOT images
I do not understand, why this happens, because I check the extension of the files. In version 1.02 I have added some additional file checks, please try it.
> the French section for the LNG
Done. French language added.
szlori wrote:
> What image formats it supports?
The (AFAIK) most often used formats: JPG GIF BMP PNG (See Readme.txt)
Please get the new version 1.02 here http://www.bleichroth.info/pub/wdx/wdx_ImgSize.zip
or - better - here http://www.totalcmd.net/plugring/wdx_ImgSize.html
Regards
J.Bl
Thank you for your response.
Lefteous wrote:
> Crash in plugin ImgSize.wdx ... The problem seems to be a 0 bytes bitmap
In version 1.02 I have added some additional file checks, please try it
Clo wrote:
> Doesn't work here under Win 98SE ... get only the "Width" column-tab
I do not use W98SE and so I have no chance to check it under this OS. Please try new version 1.02.
> I get a pack of digits ... for file which are NOT images
I do not understand, why this happens, because I check the extension of the files. In version 1.02 I have added some additional file checks, please try it.
> the French section for the LNG
Done. French language added.
szlori wrote:
> What image formats it supports?
The (AFAIK) most often used formats: JPG GIF BMP PNG (See Readme.txt)
Please get the new version 1.02 here http://www.bleichroth.info/pub/wdx/wdx_ImgSize.zip
or - better - here http://www.totalcmd.net/plugring/wdx_ImgSize.html
Regards
J.Bl
Hello,
[quote]
General remark to plugin writers: PLEASE make your plugins as error-tolerant as possible! Always check the data you use, because the user may send just about ANYTHING to your plugin! A file may have extension .JPG but be something completely different...[/quote]
Thank you for your remark. I already use the content plugin feature 'ft_delayed', but every additional check makes a plugin of course slower and slower... that's the way it is...
Regards
J.Bl
[quote]
General remark to plugin writers: PLEASE make your plugins as error-tolerant as possible! Always check the data you use, because the user may send just about ANYTHING to your plugin! A file may have extension .JPG but be something completely different...[/quote]
Thank you for your remark. I already use the content plugin feature 'ft_delayed', but every additional check makes a plugin of course slower and slower... that's the way it is...
Regards
J.Bl
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
A simple check for a NULL pointer costs almost nothing - in my experience, the really "expensive" things are disk accesses...Thank you for your remark. I already use the content plugin feature 'ft_delayed', but every additional check makes a plugin of course slower and slower... that's the way it is...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Same---
2J.Bl
Hello !
¤ I updated the plugin to the version 1.02 (still under Win 98SE)
- I reinstalled it, and configured a whole new header with all availables columns.
- You can see the result on this screen-shot
- only the "Width" column is built (Largeur),
- all values are sticked ones others,
- this picture shows the rest of the tab-header up to the windows divider…
¤ Now, I no longer see the pack of values for non-image files…
Regards,
Claude
Clo

¤ I updated the plugin to the version 1.02 (still under Win 98SE)
- I reinstalled it, and configured a whole new header with all availables columns.
- You can see the result on this screen-shot
- only the "Width" column is built (Largeur),
- all values are sticked ones others,
- this picture shows the rest of the tab-header up to the windows divider…
¤ Now, I no longer see the pack of values for non-image files…

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Re: Same---
Hello,
Clo:
Thank you for your tests. Maybe it make sense to send you by Email a simple (basic) plugin from me to check this. Is this possible?
All:
I have added 2 new colums to the Plugin:
- Orientation (Portrait, Landscape, Square)
- Size (small, medium, large)
Get the new version 1.03 here http://www.bleichroth.info/pub/wdx/wdx_ImgSize.zip
or - better - here http://www.totalcmd.net/plugring/wdx_ImgSize.html
Regards,
J.Bl
Clo:
Thank you for your tests. Maybe it make sense to send you by Email a simple (basic) plugin from me to check this. Is this possible?
All:
I have added 2 new colums to the Plugin:
- Orientation (Portrait, Landscape, Square)
- Size (small, medium, large)
Get the new version 1.03 here http://www.bleichroth.info/pub/wdx/wdx_ImgSize.zip
or - better - here http://www.totalcmd.net/plugring/wdx_ImgSize.html
Regards,
J.Bl
No problem---
2J.Bl
Hello !
- Yes, indeed it's possible. You can attach a small zip-archive to a mail : charriesATwanadooDOTfr
- Please, write TOTAL_COMMANDER "as is" in the subject, in order I can recognize you mail for a first contact (to avoid the dust-bin). Then , I will put you in my filtered "Green List"
EDIT : "In the case", I dowloaded the version 1.03. There is an error in the French section for the additionnal raw "Size" Below, the right string :
Unfortunately, the result is the same than with the previous version under Win 98SE (I thought that Win variables are very limited at number under Win9x…)
KR
Claude
Clo

- Yes, indeed it's possible. You can attach a small zip-archive to a mail : charriesATwanadooDOTfr
- Please, write TOTAL_COMMANDER "as is" in the subject, in order I can recognize you mail for a first contact (to avoid the dust-bin). Then , I will put you in my filtered "Green List"

EDIT : "In the case", I dowloaded the version 1.03. There is an error in the French section for the additionnal raw "Size" Below, the right string :
Code: Select all
Size=Taille

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials