Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-27-2004, 06:33 AM   #1
Reloaded_2
Junior Member
 
Join Date: Dec 2003
Posts: 13
Default [Filled] Info about .jpg files uploaded

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

... Reloaded To The Max..
Reloaded_2 is offline   Reply With Quote
Old 05-27-2004, 06:36 AM   #2
Reloaded_2
Junior Member
 
Join Date: Dec 2003
Posts: 13
Default

ohh .... dont say it cant be done .. i have seen it on glftpd


... Reloaded To The Max ...
Reloaded_2 is offline   Reply With Quote
Old 05-27-2004, 01:43 PM   #3
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default

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]
hot_pit is offline   Reply With Quote
Old 05-28-2004, 01:31 AM   #4
MalcolmX
Registered User
 
Join Date: Mar 2004
Posts: 59
Default

That would be a very nice addition to the growing script family. I also get some jpg uploads (its nude art, not porn ) so i could use such a script too.
MalcolmX is offline   Reply With Quote
Old 05-28-2004, 12:37 PM   #5
Reloaded_2
Junior Member
 
Join Date: Dec 2003
Posts: 13
Default

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 ...
Reloaded_2 is offline   Reply With Quote
Old 05-28-2004, 02:17 PM   #6
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default

Quote:
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
hot_pit is offline   Reply With Quote
Old 05-28-2004, 04:36 PM   #7
Reloaded_2
Junior Member
 
Join Date: Dec 2003
Posts: 13
Default

thats the BIG problem .. my "friend" wont sent it to me
Reloaded_2 is offline   Reply With Quote
Old 05-29-2004, 12:49 AM   #8
Reloaded_2
Junior Member
 
Join Date: Dec 2003
Posts: 13
Default

mybe this tool can help you to make the script ?

http://www.programmersheaven.com

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 is offline   Reply With Quote
Old 05-29-2004, 09:13 AM   #9
Reloaded_2
Junior Member
 
Join Date: Dec 2003
Posts: 13
Default

another great tcl files found (by my good friend ][Jolt][

http://cvs.sourceforge.net/viewcvs.p.../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 is offline   Reply With Quote
Old 06-02-2004, 08:44 AM   #10
Reloaded_2
Junior Member
 
Join Date: Dec 2003
Posts: 13
Default

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
Reloaded_2 is offline   Reply With Quote
Old 06-02-2004, 10:31 AM   #11
iam
Senior Member
 
Join Date: Mar 2004
Posts: 289
Default

hum, the covers are packaged (*.rar), Reloaded how you see these infos ?
iam is offline   Reply With Quote
Old 06-02-2004, 10:56 AM   #12
Reloaded_2
Junior Member
 
Join Date: Dec 2003
Posts: 13
Default

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
Reloaded_2 is offline   Reply With Quote
Old 06-03-2004, 08:32 AM   #13
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

wouldnt be so hard to extract the rars to a temp buffer and check for jpg`s etc
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Reply

Tags
files, quality, ratio, uploaded, [dvdcover]

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Only resume files transferred in binary mode" Gary King General Discussion 1 03-31-2005 01:19 AM


All times are GMT -5. The time now is 01:45 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)