Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

But what can you do with it? -- ubiquitous cry from Linux-user partner


computers / comp.compression / covert kodak PNG images into JP2 with sampling factor

SubjectAuthor
o covert kodak PNG images into JP2 with sampling factorKhawar Islam

1
Subject: covert kodak PNG images into JP2 with sampling factor
From: Khawar Islam
Newsgroups: comp.compression
Date: Thu, 15 Oct 2020 11:05 UTC
X-Received: by 2002:ac8:44c3:: with SMTP id b3mr3536532qto.221.1602759942203;
Thu, 15 Oct 2020 04:05:42 -0700 (PDT)
X-Received: by 2002:a25:b950:: with SMTP id s16mr4381466ybm.28.1602759941907;
Thu, 15 Oct 2020 04:05:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!peer03.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.compression
Date: Thu, 15 Oct 2020 04:05:41 -0700 (PDT)
Complaints-To: groups-abuse@google.com
Injection-Info: google-groups.googlegroups.com; posting-host=223.195.38.233; posting-account=3NcMZQoAAABS_yqtO1Bw74AXwHFLTuvR
NNTP-Posting-Host: 223.195.38.233
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b7552632-4784-4a5a-8e9b-dac49b9de555n@googlegroups.com>
Subject: covert kodak PNG images into JP2 with sampling factor
From: khawar...@gmail.com (Khawar Islam)
Injection-Date: Thu, 15 Oct 2020 11:05:42 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1547
X-Received-Body-CRC: 671991107
View all headers
I am trying to convert png images into JP2 with sampling factor. I am imagemagick tool for conversion, as they mentioned in docs -sampling-factor is used for sampling but it did not work.
http://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/www/jp2.html

convert wizard.png -colorspace YUV -sampling-factor 2,2 wizard.jp2

My command, it did not work
convert test/images/kodim$i.png -quality $(($j*5)) -colorspace YUV -sampling-factor 4,2 test/JP2/kodim$i/`printf "%02d" $j`.jp2


1
rocksolid light 0.7.2
clearneti2ptor