05-20-2009, 07:08 AM
How can I find duplicate pictures like http://www.gotdupes.com/index.cfm?page= ... me=d%60peg in QM?
Find duplicate pictures
|
05-20-2009, 07:08 AM
How can I find duplicate pictures like http://www.gotdupes.com/index.cfm?page= ... me=d%60peg in QM?
05-20-2009, 07:56 AM
I have a function to compare equal icons. Used it to remove duplicated icons extracted from all files in PC. Can create for bmp, gif and jpg, if you need, when will have time. With other formats can be problems.
05-20-2009, 08:24 AM
It would be fantastic.
I was also thinking of removing duplicated files.
05-31-2009, 02:58 PM
My algorithm would be:
Get list of files (foreach...FE_Dir), load each (_s.getfile), get CRC (Crc32), store CRC/path pairs into an array or map, find all equal CRC. It would find any identical files.
06-01-2009, 05:33 AM
I was looking for something like http://www.autoitscript.com/forum/index ... opic=66545
06-01-2009, 11:49 AM
Not sure but it looks like scan in QM.
06-01-2009, 12:35 PM
How can I find BMP in another BMP using QM?
06-01-2009, 12:46 PM
Display bitmap1 in dialog.
Load bitmap2 using LoadPictureFile. Don't forget to DeleteObject later. Use scan to find bitmap2 (handle) in the dialog. Dialog is needed because scan can take bitmap1 from screen but cannot take from file or memory.
06-01-2009, 12:54 PM
Is possible to modify scan to works from file or memory?
06-01-2009, 12:56 PM
Possible.
08-31-2009, 10:04 AM
Is possible in a new QM version?
08-31-2009, 10:05 AM
Forgot it, sorry. Will add in QM 2.3.2.
09-14-2009, 05:01 PM
Do you have an estimated time?
09-14-2009, 05:24 PM
Don't have. But I reviewed scan code and decided to not add this feature. Would need more work than I thought, and would be rarely used.
09-15-2009, 12:03 PM
Then can you convert this function: http://www.codeproject.com/KB/graphics/ ... ector.aspx to use with QM?
09-15-2009, 12:32 PM
You can download free Visual Studio Express edition and try to create COM dll from the codeproject code. Then use the dll in QM.
How to export and use C# functions in QM?
09-15-2009, 08:11 PM
Thanks.
Is not possible transform the code:? private Rectangle searchBitmap(Bitmap smallBmp, Bitmap bigBmp, double tolerance)
09-15-2009, 08:13 PM
Not possible. Also, in QM it would be too slow.
09-15-2009, 08:17 PM
Why in QM it would be too slow?
09-15-2009, 08:19 PM
QM code runs much slower than native code.
09-15-2009, 08:33 PM
Thanks again. I thought that like scan is so quick...
09-16-2009, 09:57 AM
09-16-2009, 09:59 AM
Give the dll file paths. Let dll itself create Bitmap variables and load the files.
09-16-2009, 10:04 AM
Can you show me an example?
09-16-2009, 10:06 AM
Maybe in codeproject (in the same article) is a demo program with source code. I don't work with C# and don't know what Bitmap method loads a file.
04-04-2010, 08:34 PM
Is possible add this function (find BMP in another BMP) with the features of new QM?
04-06-2010, 05:09 AM
If you'll find C source code for it, compile it with __Tcc class.
Now I'm working with scan. Need to make it work better with icons on Win7 etc. Maybe also add searching in background windows and memory bitmaps.
04-10-2010, 06:10 PM
Will you add it in the next version of QM?
04-10-2010, 06:13 PM
Already added. Wait for QM 2.3.2.2.
04-10-2010, 06:19 PM
Thank you.
|
« Next Oldest | Next Newest »
|