Imagine (Lister plugin for viewing img files) v. 2.0.0 (May 3 2025)

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

petermad wrote:For those who might be interested, here are the new strings in beta 5:
Thanks for providing the info, petermad. ;)

I found one more line for the lng-file:

Code: Select all

40111="Command history"
And there is also one new entry for the mnu-file, section "&Edit":

Code: Select all

MENUITEM	"Command &historie...", 40111
I updated both the german and english (template) files accordingly which can be obtained here.

petermad wrote:But batch converting to BMP still works!
Cannot confirm. I tried batch converting to BMP with several formats (JPG, PNG, TGA), also tried a fresh install of the plugin, without success. (note the two c's in success) (<- and the w in two :) )


EDIT: updated downloadlink, fixed typo in template.lng (thanks petermad)
_______
Regards,
deus-ex
Last edited by deus-ex on 2007-07-18, 19:09 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 16020
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I found one more line for the lng-file:
Code:
40111="Command history"
Argh, I forgot that!

And there is also one new entry for the mnu-file, section "&Edit":
Code:
MENUITEM "Command &historie...", 40111
It is actually:

Code: Select all

MENUITEM   "Command &history...", 40111
at least in English - so your template.mnu is not quite correct

Cannot confirm. I tried batch converting to BMP with several formats (JPG, PNG, TGA), also tried a fresh install of the plugin, without success.
I just tried again with a .png a .jpg and a .gif file in one batch - all were saved successfully to .bmp.

and the w in two
:oops: I have corrected my previous posting now.
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
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

petermad wrote:It is actually:

Code: Select all

MENUITEM   "Command &history...", 40111
at least in English - so your template.mnu is not quite correct
Touché. :) (previous downloadlink updated)

petermad wrote:I just tried again with a .png a .jpg and a .gif file in one batch - all were saved successfully to .bmp.
Now i tried with a TC installation and Imagine beeing the only available plugin, just to make it fool proof, still no go.

petermad, you sure are using Imagine (latest beta!) for the conversion job? Conversion to other formats work fine with Imagine here, its just the BMP-format beeing broken. Resulting output files don't contain a valid BMP-header at all. Since the Imagine Packer-plugin is just a wrapper (ie. redirector) to the Imagine Lister-plugin, that is the packer-plugin contains no logic to do the conversion on its own, it actually shouldn't be possible to work for you as well.

_______
Regards,
deus-ex
User avatar
petermad
Power Member
Power Member
Posts: 16020
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

etermad, you sure are using Imagine (latest beta!) for the conversion job?
Absolutely - I have now double checked - and I have tested with both the TC plugin and the standalone Imagine.exe.

I have made this composit to prove it: http://madsenworld.dk/tcmd/imaginebatch.png :!:
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
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Saving of BMP-Files is not working correctly in Version 1.0 beta 5. If i save a file in 1.0b5 the target bmp file is a few bytes smaller than in version 1.0b4. This file is defective. If i save with version 1.0b4 everything is ok.

Can anybody confirm this?
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Matthias030 wrote:Can anybody confirm this?
Obviously you couldn't be bothered to read at least the last two or three posts right above yours?

_______
Regards,
deus-ex
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Ups. Sorry.

I have not completely read the latest posts. I saw only the menuitem-related things. Anyway it's good to know that it's a general bug. Hope to see a new version soon.
User avatar
st
Junior Member
Junior Member
Posts: 85
Joined: 2005-05-30, 01:39 UTC
Location: Beijing
Contact:

failed to upgrade

Post by *st »

execute .zip inside TC to upgrade over last version
after installation, TC complains as below
Error loading plugin file!
The plugin probably needs some DLLs missing on your system.

after i deleted the directory and install again, it succeeded.
User avatar
petermad
Power Member
Power Member
Posts: 16020
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Danish translation of Imagine Version 1.0.0.0 beta 6 (20071007) can now be downloaded at:

http://www.totalcmd.net/plugring/imagine_danish_beta.html

Images saved as BMP can now be read again.

There is a bug in the "Change color depth" function. When I try to change a 24bit jpg image to a 64k color 16bit image it gets totally corrupted. It works OK to convert to 32K 16bit colors.
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
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Petermad: Thanks for the info about the new version.

It's great that saving of BMP-Files is now working again. But I found another BMP-Bug in imagine.wcx. If I try to convert any picture to BMP, these files are corrupt. This bug is also in Version 1.0 beta 4. I have deleted the releases before, so I can't test if this bug also affects other versions.
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

petermad wrote:Images saved as BMP can now be read again.
Confirmed.
petermad wrote:There is a bug in the "Change color depth" function. When I try to change a 24bit jpg image to a 64k color 16bit image it gets totally corrupted. It works OK to convert to 32K 16bit colors.
Confirmed. Bug isn't dependant on the source format and bit depth, though.

Matthias030 wrote:I try to convert any picture to BMP, these files are corrupt.
Confirmed.

Also a problem BMP-image I once send to nyam is still beeing displayed wrong. All other viewers I checked work ok. Maybe nyam forgot about those old issues meanwhile?

___________
Kind regards,
deus-ex
User avatar
petermad
Power Member
Power Member
Posts: 16020
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I try to convert any picture to BMP, these files are corrupt.
I still can not confirm this. I do the following:

1. Open any image
2. Right click and choose "Tools" -> "Batch conversion..."
3. Click the "Add" button
4. Pick any non-BMP file
5. Select "Windows or OS/2 Bitmap (*.BMP,*.DIB,*.RLE)" under "File type"
6. Click the "Convert" button
7. Click the "Close" button
8. Close the Lister window
9. Pres Ctrl+R to have the file panel updated
10. Press F3 on the newly made BMP-file - no problem opening it!


If I instead do:

1. Open any non BMP-image
2. Right click and choose "File" -> "Save as..."
3. Select "Windows or OS/2 Bitmap (*.BMP,*.DIB,*.RLE)" under "File type"
4. Click the "Save" button
5. Close the Lister window
6. Pres Ctrl+R to have the file panel updated
7. Press F3 on the newly made BMP-file - no problem opening it either!


But if I "Save as" BMP in OS2 v1.x or OS2 v2.x then the colors are distorted. But that is not new - it is the same in v. 0.9.7.0
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
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Ahh, finally now I understand why you can't confirm our conversion issues, petermad. Following your conversion instructions works flawlessly, indeed.

But I'm refering to batch conversion using Imagines packer plugin <imagine.wcx>:
  • select any image(s)
  • press Alt-F5 to open the "pack files" dialog
  • select the Imagine packer plugin extension from the dropdown list (as configured in the PackerPlugins section of wincmd.ini)
  • for multiple selected images check "create separate archives, one per file"
  • replace the target filename with *.bmp
  • press Enter
wincmd.ini:

Code: Select all

[PackerPlugins]
img=71,%commander_path%\wlx\imagine\imagine.wcx
Resulting BMP-images are invalid, as opposed to older versions of Imagine where this used to work without issues.



EDIT: changed "F5" to "Alt-F5", added "for multiple selected images"
___________
Kind regards,
deus-ex
Last edited by deus-ex on 2007-10-07, 22:33 UTC, edited 3 times in total.
User avatar
petermad
Power Member
Power Member
Posts: 16020
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

And now I can confirm your bug report - provided that:
press F5 to open the copy dialog
I guess you mean Alt+F5 to open the Packer dialog?
check "create separate archives, one per file"
It also happens if I don't select that option.


I haven't tetsted if it worked back in beta4, but since it works for "converting" to other image formats it should also be able to work for bmp's.
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
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

petermad wrote:I guess you mean Alt+F5 to open the Packer dialog?
Yes, that's correct (I updated my previous post accordingly).

petermad wrote:It also happens if I don't select that option.
For multiple selected files the option"create separate archives, one per file" has to be activated or no images will be created at all (I edited my previous post to clarify this).

petermad wrote:I haven't tetsted if it worked back in beta4, but since it works for "converting" to other image formats it should also be able to work for bmp's.
Yes, it should, but with the last recent releases it doesn't.


EDIT: fixed typo
___________
Kind regards,
deus-ex
Last edited by deus-ex on 2007-10-08, 09:15 UTC, edited 1 time in total.
Post Reply