Picture Search, thumbnails named as .png

English support for the software AllDup
Post Reply
therube
Posts: 322
Joined: 07 Nov 2012, 00:28

Picture Search, thumbnails named as .png

Post by therube »

Picture Search, thumbnails named as .png


When you do a Picture search, thumbnails as named as *.png.
But in fact the output thumbs (the actual files) are *.bmp.

Is there a particular reason for that?
(I only ask because some softwares notify you of such discrepancies.)
Administrator
Site Admin
Posts: 4047
Joined: 04 Oct 2004, 18:38
Location: Thailand
Contact:

Re: Picture Search, thumbnails named as .png

Post by Administrator »

Sorry, i dont understand the problem?
therube
Posts: 322
Joined: 07 Nov 2012, 00:28

Re: Picture Search, thumbnails named as .png

Post by therube »

When you do an Search Image
When File Preview is enabled
When you scroll down the list of duplicates

As you come to each duplicate group
Thumbnails are generated (in a place like \temp\GUID...)

Said thumbnails are named *.png

But are actually (physically) .bmp files (not .png files)


IOW, the file extension is incorrect based on what the file actually is.
(Now, granted, this does not affect AllDup's operation in any way.)


Just wondering if there was some reason that the files are named *.png rather then *.bmp?
Administrator
Site Admin
Posts: 4047
Joined: 04 Oct 2004, 18:38
Location: Thailand
Contact:

Re: Picture Search, thumbnails named as .png

Post by Administrator »

They are named *.png because the thumbnails are created and saved as png picture files.
therube
Posts: 322
Joined: 07 Nov 2012, 00:28

Re: Picture Search, thumbnails named as .png

Post by therube »

They are named *.png because the thumbnails are created and saved as png picture files.
That is fine - if they were, but they're not.
AFAICT, they are .bmp.


From a set of AllDup ("temporary") generated ".png" (thumbnail) files (plus a separate .png thrown in for good measure [for file.exe]):

Code: Select all

C:\out>exiftool *.png | grep -i "file type"
File Type                       : BMP
File Type Extension             : bmp
File Type                       : BMP
File Type Extension             : bmp
...
.
AllDup - to png or not to ping.png
.

Code: Select all

C:\out>file.exe -m C:\BIN\UNIX\magic x*

xxx-a-REAL-png.png; PNG image, 800 x 828, 8-bit/color RGB, non-interlaced
xxx.png;            PC bitmap, Windows 3.x format, 200 x 24 x 24

Win7, AllDup Portable, aHash algorithm.
Administrator
Site Admin
Posts: 4047
Joined: 04 Oct 2004, 18:38
Location: Thailand
Contact:

Re: Picture Search, thumbnails named as .png

Post by Administrator »

I have found the error in the code. The problem will be fixed with the next update. Many thanks for the tip!
Post Reply