PDA

View Full Version : [Filled] Info about .jpg files uploaded


Reloaded_2
05-27-2004, 06:33 AM
hi out there...

Im about to make a coversite (for DVD,mp3 ect)....

in that manner i really could use a script that write info about the uploaded .jpg files like this:

[DVDCOVER] Yihaaaa, New Cover coming in: the_league.jpg [ 5MB in 1F at 623KBps - 0m 7s] added by Reloaded@STAFF
[DVDCOVER] Resolution: 3240*2153 -=- 24bit -=- Compression Ratio: 17.5 -=- Quality: 1

Where Quality is the diffinations of Ratio...

Sorry for my bad english.. hopefull you understand it :D

... Reloaded To The Max..

Reloaded_2
05-27-2004, 06:36 AM
ohh .... dont say it cant be done .. i have seen it on glftpd :)


... Reloaded To The Max ...

hot_pit
05-27-2004, 01:43 PM
it should be very difficult .. but what compression ratio is , and quality ??

well dunno about ratio and compression but i got something like this working

[JPEG iNFO] - [Resolution: 1024x960]+[Color Depth: 24bits]+[Compression: 90/100]

MalcolmX
05-28-2004, 01:31 AM
That would be a very nice addition to the growing script family. I also get some jpg uploads (its nude art, not porn :D ) so i could use such a script too.

Reloaded_2
05-28-2004, 12:37 PM
fuscao - that u have made ... is 100% ok for me :)

would u mind tell us howto ?

about the quilty .. its based on how much the picute is compressed so no compression would give a score (lets say) 10
and if and the .jpg is compressed like 60% .. the score is only 4

(score = quility)

lets take your eksamble: [JPEG iNFO] - [Resolution: 1024x960]+[Color Depth: 24bits]+[Compression: 90/100]
Resolution is low if for use to DVDCover print so that would couse a low score, and a high compression lvl also make the score low

so total quality would be around 2/10 (or how your wanne make the quality specification)

better understand me now ?

[JPEG iNFO] - [Resolution: 3240*2153 ]+[Color Depth: 24bits]+[Compression: 50/100]

above should then give a score around 8/10 ...


... Reloaded To The Max ...

hot_pit
05-28-2004, 02:17 PM
Originally posted by Reloaded
fuscao - that u have made ... is 100% ok for me :)

would u mind tell us howto ?

about the quilty .. its based on how much the picute is compressed so no compression would give a score (lets say) 10
and if and the .jpg is compressed like 60% .. the score is only 4

(score = quility)

lets take your eksamble: [JPEG iNFO] - [Resolution: 1024x960]+[Color Depth: 24bits]+[Compression: 90/100]
Resolution is low if for use to DVDCover print so that would couse a low score, and a high compression lvl also make the score low

so total quality would be around 2/10 (or how your wanne make the quality specification)

better understand me now ?

[JPEG iNFO] - [Resolution: 3240*2153 ]+[Color Depth: 24bits]+[Compression: 50/100]

above should then give a score around 8/10 ...


... Reloaded To The Max ...

well not sure ... but if you can send me the script for gl itself would be better ;)

Reloaded_2
05-28-2004, 04:36 PM
thats the BIG problem .. my "friend" wont sent it to me :(

Reloaded_2
05-29-2004, 12:49 AM
mybe this tool can help you to make the script ?

http://www.programmersheaven.com (http://www.programmersheaven.com/d/click.aspx?ID=F15260)

i have try it and can pipe it out to a file:

jpgdump filename.jpg >filename.txt

and got like this:

007.jpg:
Approximate quality factor for qtable 0: 88 (scale 23.93, var 123.77)
Approximate quality factor for qtable 1: 91 (scale 18.13, var 120.25)
width 3236, height 2161 components 3
id 1 horizontal sampling 1, vertical sampling 1, quantization table 0
id 2 horizontal sampling 1, vertical sampling 1, quantization table 1
id 3 horizontal sampling 1, vertical sampling 1, quantization table 1

in the above i got ALL info i want...
Quality factor 0:88
with 3236x2161

Reloaded_2
05-29-2004, 09:13 AM
another great tcl files found (by my good friend ][Jolt][

http://cvs.sourceforge.net/viewcvs.py/tcllib/tcllib/modules/jpeg/

i cant self program, but here is my REALLY wish for this script if someone can make it!

[Info: theBestCoder.jpg]-[Author: Adobe PhotoShop]-[Resolution: 3236x2173][dpi: 300]-[Ratio: 10:3][Quality: 0:94]


in deep respect i bow for the real coders out there!


... Reloaded To The Max ...

Reloaded_2
06-02-2004, 08:44 AM
i have it like this showing up in channel now: [DVD] New Cover is coming in -> /DVD/test/10.jpg -->> Resolution: (3240*2175) - Made by: (Adobe Photoshop) - dpi: (JFIF version 0102, 300 x 300 dpi) - Quality: 95/100

what i need, is to see WHO is uploading it and how big the files is .. can u also made that ? (e.i. race info for the files)

else i must say its rulez :D

iam
06-02-2004, 10:31 AM
hum, the covers are packaged (*.rar), Reloaded how you see these infos ?

Reloaded_2
06-02-2004, 10:56 AM
you cant do this with RAR files.. thats why i have asked for this ELiTE script, since i dont allow ANY rar cover uploads at all :D

tuff
06-03-2004, 08:32 AM
wouldnt be so hard to extract the rars to a temp buffer and check for jpg`s etc ;)