Search found 7 matches

by wfa
2016-01-13T00:37:24-07:00
Forum: Users
Topic: identify JPEG2000
Replies: 11
Views: 12277

Re: identify JPEG2000

For the filesize you can just run identify without parameters and use awk for the size, e.a: identify <file> | awk '{print $8}' In my case it returns 1.169MB To store it in a variable, use: fsize=$(identify test.jp2 | awk '{print $8}') In case of my procedure, I need the parameters. I will test it ...
by wfa
2016-01-12T13:13:23-07:00
Forum: Users
Topic: identify JPEG2000
Replies: 11
Views: 12277

Re: identify JPEG2000

Thanks guys!
Right now I use an IM rpm on Fedora. Can you point me the location of the patch when it's available?

Cheers,
Rene
by wfa
2016-01-12T10:48:54-07:00
Forum: Users
Topic: identify JPEG2000
Replies: 11
Views: 12277

Re: identify JPEG2000

Here is the dropbox: https://www.dropbox.com/sh/8dnac8w0wq8jdfd/AACaeoi5Pb0hWIwHV0AMqpYNa?dl=0 The behaviour occurs on any jp2 file. In my procedure I would like to store information from " identify -format "'%d','%f','%e','%b', %h, %w, %Q $file " in a database, but in every record it shows "0B" If ...
by wfa
2016-01-12T08:44:18-07:00
Forum: Users
Topic: identify JPEG2000
Replies: 11
Views: 12277

identify JPEG2000

When I convert a tiff to a jp2 "identify" acts strange: If Identify the jp2 without parameters, it returns the filesize correctly, but formatted, it returns a size of 0B. Here is the case: $ identify test.tif test.tif TIFF 5518x3906 5518x3906+0+0 8-bit Grayscale Gray 21.58MB 0.000u 0:00.000 ...
by wfa
2015-12-29T02:15:11-07:00
Forum: Users
Topic: convert from tiff to jp2
Replies: 12
Views: 14425

Re: convert from tiff to jp2

Thanks guys for the replies. Both 64K files were created using gm and the 5M file using IM. I'd rather use IM, but it looks like IM is not using the options I add. First, here's my environment: convert -version Version: ImageMagick 6.9.2-7 Q16 x86_64 2015-12-06 http://www.imagemagick.org Copyright ...
by wfa
2015-12-28T15:05:17-07:00
Forum: Users
Topic: convert from tiff to jp2
Replies: 12
Views: 14425

Re: convert from tiff to jp2

Platform is Fedora 23, kernel 4.2.8-300.fc23.x86_64 I executed the following: convert -define "jp2:quality 60 -density 300x300"" 108_00001.tif 108_lossy_60.jp2 gm convert -define "jp2:quality 60" 108_00001.tif 108_00001_60gm.jp2 gm convert -define "jp2:quality 60 -density 300x300" 108_00001.tif 108 ...
by wfa
2015-12-28T09:54:23-07:00
Forum: Users
Topic: convert from tiff to jp2
Replies: 12
Views: 14425

convert from tiff to jp2

I converted some images from tiff format to JPEG2000, but the image resolution changes from 300x300 to 72x72. How can prevent this? I used several options, but nothing helps.
Can anyone help me on this?
Version: ImageMagick 6.9.2-7 Q16 x86_64