What is used to calculate the md5 of an image? I tried feeding a binary string of the pixel values into python's hashlib.md5 but I got a different result than moe's.MDGeist said:
yep. but you can even dl other stuff, rename them, and later convert them to md5.ext and danboo folder structure
you got a pic with the nameChibi said:
convert them to md5.ext ?! whats that ?
"Haruhi swimsuits 01.jpg"
and it becomes
"d70733f77acd1d3493e25a47c251e509.jpg"
@van
imho its just the binary data, the code i use for java looks like :
public static String getMD5Checksum(String filename) throws Exception {
byte[] b = createChecksum(filename);
String result = "";
for (int i=0; i < b.length; i++) {
result +=
Integer.toString( ( b[i] & 0xff ) + 0x100, 16).substring( 1 );
}
return result;
}
public static byte[] createChecksum(String filename) throws Exception{
InputStream fis = new FileInputStream(filename);
byte[] buffer = new byte[1024];
MessageDigest complete = MessageDigest.getInstance("MD5");
int numRead;
do {
numRead = fis.read(buffer);
if (numRead > 0) {
complete.update(buffer, 0, numRead);
}
}
while (numRead != -1);
fis.close();
return complete.digest();
}
so just using getMD5Checksum("c:\test.jpg"); will get me the md5 of the file...
Thanks for the example MDGeist. I wasn't reading 1024 bytes at a time.
http://saki.imouto.org/preview/
you can get the thumbnails there, its updated once a day though rsync
you can get the thumbnails there, its updated once a day though rsync
humm he MDGeist what about if u also make a anime dvd cover part ? cuz i see alot dvd covers waveing arround
i´d rather make a hentai-mag cover/colorin one...
if i´d make a torrent out of my collection, without raring, it would possibly even kill utorrent, cause too many files :D
if i´d make a torrent out of my collection, without raring, it would possibly even kill utorrent, cause too many files :D
I cannot download the rest of the torrent >.< My Utorrent crashed a few times and cause of the huge file, my memory doesn't have sufficient amount of memory for it to totally finish checking the file and usually stop at around 57%.
LOLMDGeist said:
i´d rather make a hentai-mag cover/colorin one...
if i´d make a torrent out of my collection, without raring, it would possibly even kill utorrent, cause too many files :D
i wont upload those to moe thoughRadioactive said:
LOL
since most are just ecchi, and not 1 bit moe...
pierzes stuff would make more sense, will make an offline db out of it soon. torrent no idea, not before march...
Chibi