Search found 9 matches

by savyan
2013-10-14T23:43:42-07:00
Forum: Developers
Topic: JPEG quantization tables and progressive scan scripts
Replies: 27
Views: 83394

Re: JPEG quantization tables and progressive scan scripts

Thanks all who looked into this problem,

i found out it. It is currect only:

it is the scaled quantization table using the equation QT*scale where scale is 200-2*92(92 is default scaling factor)

:o
by savyan
2013-10-14T23:19:50-07:00
Forum: Developers
Topic: JPEG quantization tables and progressive scan scripts
Replies: 27
Views: 83394

Re: JPEG quantization tables and progressive scan scripts

The following python code also gave same result:

from PIL import Image
tst6=Image.open('testing6.jpeg')
print "testing6 QT table"
print tst6.quantization


its output is also:

testing6 QT table
{0: array('b', [3, 2, 2, 2, 2, 2, 3, 2, 2, 3, 4, 3, 3, 3, 4, 5, 4, 3, 3, 4, 5, 7, 5, 4, 4, 4, 5, 7, 12 ...
by savyan
2013-10-14T23:13:53-07:00
Forum: Developers
Topic: JPEG quantization tables and progressive scan scripts
Replies: 27
Views: 83394

Re: JPEG quantization tables and progressive scan scripts

The exiftool command i used is:

exiftool -v3 testing6.jpeg

its output is :

ExifToolVersion = 8.60
FileName = testing6.jpeg
Directory = .
FileSize = 70424
FileModifyDate = 1381817254
FilePermissions = 33204
FileType = JPEG
MIMEType = image/jpeg
.
.
JPEG DQT (65 bytes):
0018: 00 03 02 02 ...
by savyan
2013-10-14T23:02:22-07:00
Forum: Developers
Topic: JPEG quantization tables and progressive scan scripts
Replies: 27
Views: 83394

Re: JPEG quantization tables and progressive scan scripts

doubt in convert -define:jpeg q-table=myQTable.xml (ver 6.8.7-0)
First i executed the following command:

convert -define jpeg:q-table=myQTables.xml lena512.bmp testing6.jpeg

after executing i displayed the qtable using exiftool and using python both shows which is not the one i gave in the ...
by savyan
2013-10-09T12:02:45-07:00
Forum: Developers
Topic: JPEG quantization tables and progressive scan scripts
Replies: 27
Views: 83394

Re: JPEG quantization tables and progressive scan scripts

Thank you, i shall try the new version :)
by savyan
2013-10-09T10:52:11-07:00
Forum: Developers
Topic: JPEG quantization tables and progressive scan scripts
Replies: 27
Views: 83394

Re: JPEG quantization tables and progressive scan scripts

savyan-K54C% convert
Version: ImageMagick 6.6.9-7 2012-08-17 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP

is the convert version i installed.

But in my system there is no difference , what may be the reason

savyan-K54C% convert -define ...
by savyan
2013-10-09T10:49:00-07:00
Forum: Developers
Topic: JPEG quantization tables and progressive scan scripts
Replies: 27
Views: 83394

Re: JPEG quantization tables and progressive scan scripts

savyan-K54C% convert -define jpeg:q-table=myQTables.xml baboon.bmp a1.jpeg
savyan-K54C% ls -l a1.jpeg
-rw-rw-r-- 1 savyan savyan 139541 Oct 9 23:16 a1.jpeg
savyan-K54C% convert baboon.bmp a1.jpeg
savyan-K54C% ls -l a1.jpeg
-rw-rw-r-- 1 savyan savyan 139541 Oct 9 23:16 a1.jpeg
savyan-K54C%

this is ...
by savyan
2013-10-09T10:19:34-07:00
Forum: Developers
Topic: JPEG quantization tables and progressive scan scripts
Replies: 27
Views: 83394

Re: JPEG quantization tables and progressive scan scripts

convert -define jpeg:q-table=myQTables.xml test.bmp a1.jpeg is not working for me. pls help

where myQTables.xml is stored in the same directory and its content is:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE quantization-tables [
<!ELEMENT quantization-tables (table)+>
<!ELEMENT ...