Author |
Raider camera driver for K790, K800 and K810 (v6.6.5) |
Raiderski Joined: Jul 03, 2006 Posts: > 500 From: Poland, Hell, Mountains PM, WWW
|
guys, leave these compression settings. you will not squeeze nothing more from K800. moreover if you will stress out compression algorithm using too high values (big quality and file size) result will be opposite from planned (lower quality and small file size)
my old post:
it's not possible to use 100%. of course you can always use higher value than 91% but you should remember about compression system:
1. rule #1: max jpeg file size
2. rule #2: jpeg quality
3. rule #3: both rules restrict each other
SE phones have variable compression, this means that final quality is calculated from 3 above rules. that's why your pictures don't have constant quality. variable quality is the result of fulfilled rules. ok, simple examples what can happen with 91% quality and 900kb buffer:
1. jpeg can be created with 91% and in ~900kb file
2. 91% is too much for ~900kb, quality will be decreased
3. 91% is good but file size will be much smaller than ~900kb, quality will be increased
results can be various. 800kb file with 75%-97% quality is nothing strange. now look at Goldmen's picture. he wrote that used driver had declared 100% quality, what happened in compression system? something like this:
- can I compress picture at 100% quality in ~900kb?
- no, increase compression and try again
- can I compress picture at 98% quality in ~900kb?
- no, increase compression and try again
- can I compress picture at 93% quality in ~900kb?
- no, increase compression and try again
- can I compress picture at 85% quality in ~900kb?
- no, increase compression and try again
- can I compress picture at 75% quality in ~900kb?
- yes
final result is 75% quality (according to EXIF). good conclusion...
of course we can force compression system to use very high quality but this will be useless. variable compression is really smart thing, no matter of what you won't force it to do impossibe things
_________________
K800 R1KG001
raider.4shared.com
flickr.com/photos/raiderek
[ This Message was edited by: Raiderski on 2008-10-03 15:04 ] |
|
Raiderski Joined: Jul 03, 2006 Posts: > 500 From: Poland, Hell, Mountains PM, WWW
|
budala
good to hear mate
EDIT: it's not my last word in this matter. we have min (original) and max (EM), it's time to bring something between min and max
_________________
K800 R1KG001
raider.4shared.com
flickr.com/photos/raiderek
[ This Message was edited by: Raiderski on 2008-10-03 15:27 ] |
Micha1982 Joined: Sep 27, 2008 Posts: 18 PM |
On 2008-10-03 11:59:44, Micha1982 wrote:
On 2008-09-30 18:00:31, hfmls wrote:
compression 100%
2MP pictures: MIN: 860kb AVG:880kb MAX:901kb
pictures taken with these settings and at 2 mega pixels.
size 792kb 1st:
[ This Message was edited by: hfmls on 2008-09-30 17:05 ]
My pics are taken in 3,2Mp, but why is my filesize much smaller??Something must be wrong...pls tell me what
@Raiderski But why are my 3.2Mp photos are the same filesize hfmls took with 2mp??And why overstress the compression-algorythm?It only should save my pictures mostly uncompressed then ther shouldnt be any work for the compression-algorythm
Or am i wrong? Very complicated  |
Micha1982 Joined: Sep 27, 2008 Posts: 18 PM |
my old post:
it's not possible to use 100%. of course you can always use higher value than 91% but you should remember about compression system:
1. rule #1: max jpeg file size
2. rule #2: jpeg quality
3. rule #3: both rules restrict each other
SE phones have variable compression, this means that final quality is calculated from 3 above rules. that's why your pictures don't have constant quality. variable quality is the result of fulfilled rules. ok, simple examples what can happen with 91% quality and 900kb buffer:
1. jpeg can be created with 91% and in ~900kb file
2. 91% is too much for ~900kb, quality will be decreased
3. 91% is good but file size will be much smaller than ~900kb, quality will be increased
results can be various. 800kb file with 75%-97% quality is nothing strange. now look at Goldmen's picture. he wrote that used driver had declared 100% quality, what happened in compression system? something like this:
- can I compress picture at 100% quality in ~900kb?
- no, increase compression and try again
- can I compress picture at 98% quality in ~900kb?
- no, increase compression and try again
- can I compress picture at 93% quality in ~900kb?
- no, increase compression and try again
- can I compress picture at 85% quality in ~900kb?
- no, increase compression and try again
- can I compress picture at 75% quality in ~900kb?
- yes
final result is 75% quality (according to EXIF). good conclusion...
of course we can force compression system to use very high quality but this will be useless. variable compression is really smart thing, no matter of what you won't force it to do impossibe things
_________________
K800 R1KG001
raider.4shared.com
flickr.com/photos/raiderek
[ This Message was edited by: Raiderski on 2008-10-03 15:04 ]
It isnt possible to get bigger filesizes than ~900kb?
Your posting means standart settings are quite the best possible? |
Raiderski Joined: Jul 03, 2006 Posts: > 500 From: Poland, Hell, Mountains PM, WWW
|
uncompressed pictures from SE phones doesn't exist
SE phones have variable compression ... that's why your pictures don't have constant quality
1. open any of your picture in graphics editing tool (like GIMP)
2. save it again (change file name) with quality 100%
3. compare original file size with new file size
4. new file size is much bigger while K800 file size is limited to max 900kb
5. K800 must decresse quality to fit picture into max 900kb
simple increasing compression settings you risk camera stability
_________________
K800 R1KG001
raider.4shared.com
flickr.com/photos/raiderek
[ This Message was edited by: Raiderski on 2008-10-03 15:21 ] |
Micha1982 Joined: Sep 27, 2008 Posts: 18 PM |
On 2008-10-03 16:20:35, Raiderski wrote:
uncompressed pictures from SE phones doesn't exist
SE phones have variable compression ... that's why your pictures don't have constant quality
1. open any of your picture in graphics editing tool (like GIMP)
2. save it again (change file name) with quality 100%
3. compare original file size with new file size
4. new file size is much bigger while K800 file size is limited to max 900kb
5. K800 must decresse quality to fit picture into max 900kb
simple  increasing compression settings you risk camera stability
_________________
K800 R1KG001
raider.4shared.com
flickr.com/photos/raiderek
[ This Message was edited by: Raiderski on 2008-10-03 15:21 ]
Youre right they go up to 3-5mb^^ |
Domecot Joined: Mar 25, 2008 Posts: 468 From: Macedonia PM, WWW
|
On 2008-10-03 16:05:48, Raiderski wrote:
budala
good to hear mate
EDIT: it's not my last word in this matter. we have min (original) and max (EM), it's time to bring something between min and max
_________________
K800 R1KG001
raider.4shared.com
flickr.com/photos/raiderek
[ This Message was edited by: Raiderski on 2008-10-03 15:27 ]
i have to say Raider it's good to here to that Your last word in the EM is not LAST. good thing to hear indeed |
Micha1982 Joined: Sep 27, 2008 Posts: 18 PM |
But i cant understand how hfmls eightball-photo in 2 Mp could be 792Kb big?!
Thats a riddle for me^^
My 3,2Mp-pics are the same size...
Now i wanna test a few pics in 2mp, too
EDIT::
Now i realized that max is 900kb, above it crashes!
I increased 2MP and thats no problem, everything fine!
All in all the best camdriver
Ill go out now and take some pics
By the way, is it possible to install some menues with FARmanager in my CID53-phone??Why cant i install patches??
[ This Message was edited by: Micha1982 on 2008-10-03 17:10 ] |
hfmls Joined: Mar 17, 2008 Posts: 489 PM |
here's my settings:
JQ_NORMAL= $s5 50;
JQ_FINE= $s5 64;
JQ_BESTP= 59;
and
seq_set_prop_5=
$s0 %0
$c0 02 #JQ_NORMAL #JMIN(00,0a) #JMAX(00,96) #JAVG(00,37) $cl
$c0 03 #JQ_FINE #JMIN(00,0a) #JMAX(00,96) #JAVG(00,50) $cl
$c0 04 #JQ_NORMAL #JMIN(00,3c) #JMAX(01,90) #JAVG(00,c8) $cl
$c0 05 #JQ_FINE #JMIN(00,96) #JMAX(01,90) #JAVG(01,2c) $cl
$c0 06 #JQ_NORMAL #JMIN(00,96) #JMAX(02,58) #JAVG(01,90) $cl
$c0 07 #JQ_FINE #JMIN(03,5c) #JMAX(03,85) #JAVG(03,70) $cl
$b0 00 1 7
$c0 00 #JQ_NORMAL #JMIN(01,90) #JMAX(03,20) #JAVG(02,58) // dla 00/08
$cl #JQ_FINE #JMIN(03,5c) #JMAX(03,85) #JAVG(03,70) // dla 01/09
$cx
$cx $cx $cx $cx $cx $cx
#SET(19,$w5);
|
vudu70 Joined: Apr 15, 2008 Posts: 383 From: Hungary PM, WWW
|
1 photo with other compression settings:
Full size here
Sony Xperia Z2A user |
Micha1982 Joined: Sep 27, 2008 Posts: 18 PM |
I now increased JMIN a bit (from 700 to 780) and JAVG from 800 to 860 and it works fine! 2MP i´ve increased 100 each....works fine, too!
I take some pics next days to test a bit more... |
Raiderski Joined: Jul 03, 2006 Posts: > 500 From: Poland, Hell, Mountains PM, WWW
|
vudu70 posted good example of variable compression result. 931016 bytes, a lot of details and quality 67%
EDIT: now my turn - 728878 bytes, not much details and quality 97%
_________________
K800 R1KG001
raider.4shared.com
flickr.com/photos/raiderek
[ This Message was edited by: Raiderski on 2008-10-03 22:41 ] |
vudu70 Joined: Apr 15, 2008 Posts: 383 From: Hungary PM, WWW
|
This serried. (My jpeg init.quality setting 90% (5A)).
_________________
K810i Golden Ivory+vudu v4.56b2 camdriver+eXtremeAudioIII->vuduHQ
[ This Message was edited by: vudu70 on 2008-10-04 07:35 ] |
Raiderski Joined: Jul 03, 2006 Posts: > 500 From: Poland, Hell, Mountains PM, WWW
|
my init is 91%, in practice pictures are 67 - 97%
|
vudu70 Joined: Apr 15, 2008 Posts: 383 From: Hungary PM, WWW
|
I still analyze SPU's superb 2Mpx jpeg compression setting codes (in v1.4)
Pff... SET_JPEG_MIN,SET_JPEG_AVG,SET_JPEG_MAX macro definitions i not found.(because beta driver?)
_________________
K810i Golden Ivory+vudu v4.56b2 camdriver+eXtremeAudioIII->vuduHQ
[ This Message was edited by: vudu70 on 2008-10-04 11:05 ] |
|
Access the forum with a mobile phone via esato.mobi
|