Problem when break a file "TIF"
Problem when break a file "TIF"
Hello everybody, I am facing a problem. Previously I had version 6.7.7 and when I broke one "TIF" 900kb of it generated other "TIF" 70-80kb with the current version of the imagemagick "TIF" are broken with a size of 4.2 mb anyone knows me say why?
Re: Problem when break a file "TIF"
Can help me?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Problem when break a file "TIF"
Sorry, I don't understand the question.
What command did you use? What is the problem? Can you provide a file that shows the problem?
What command did you use? What is the problem? Can you provide a file that shows the problem?
snibgo's IM pages: im.snibgo.com
Re: Problem when break a file "TIF"
Are you comparing the result from a Q8 build of ImageMagick-6.7.7 with the result from
a Q16 build of the current version? This just a guess; there's not much to go on in the
bug report. Aside from having a larger file size than you expected, does the result look OK?
a Q16 build of the current version? This just a guess; there's not much to go on in the
bug report. Aside from having a larger file size than you expected, does the result look OK?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Problem when break a file "TIF"
Another possibility: perhaps size is the only problem, caused by a difference in compression methods. Converting from one tiff to another will use the same compression method, but not if the method was "jpeg". Perhaps "-compress Jpeg" or other method will solve the problem.
I don't use jpeg compression for intermediate results.
I don't use jpeg compression for intermediate results.
snibgo's IM pages: im.snibgo.com
Re: Problem when break a file "TIF"
I'll be more specific, I have a tif file 900kb 10 pages, using the comand: convert name_of_tif.tif name_tif_% d.tif
In version 6.7.7 was generating 10 pages of 90 kb.
In the current version is generating 10 pages 4.2 mb.
The command executed is the same.
The strange thing is that nothing has changed except the new ImageMagick install mode.
Any suggestions?
In version 6.7.7 was generating 10 pages of 90 kb.
In the current version is generating 10 pages 4.2 mb.
The command executed is the same.
The strange thing is that nothing has changed except the new ImageMagick install mode.
Any suggestions?
Re: Problem when break a file "TIF"
No. I did the tests on both Q8 and Q16 and the result is the same.glennrp wrote:Are you comparing the result from a Q8 build of ImageMagick-6.7.7 with the result from
a Q16 build of the current version? This just a guess; there's not much to go on in the
bug report. Aside from having a larger file size than you expected, does the result look OK?
Re: Problem when break a file "TIF"
What I found most odd was that after installing the current version, I removed it and installed version 6.7.7 and continued to generate 4.2 mb files. I do not know what else to do.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Problem when break a file "TIF"
Are the input images compressed with JPEG? (Use "identify verbose in.tif"). Are the output files compressed?
snibgo's IM pages: im.snibgo.com
Re: Problem when break a file "TIF"
The suggested command generated the output:snibgo wrote:Are the input images compressed with JPEG? (Use "identify verbose in.tif"). Are the output files compressed?
a.tif[0] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.016u 0:00.003
a.tif[1] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.016u 0:00.006
a.tif[2] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.007
a.tif[3] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.010
a.tif[4] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.012
a.tif[5] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.014
a.tif[6] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.017
a.tif[7] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.019
a.tif[8] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.021
a.tif[9] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.024
a.tif[10] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.025
a.tif[11] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.027
a.tif[12] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.031
a.tif[13] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.034
a.tif[14] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.035
a.tif[15] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.038
a.tif[16] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.041
a.tif[17] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.042
a.tif[18] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.045
a.tif[19] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.049
a.tif[20] TIFF 4960x7014 4960x7014+0+0 1-bit Bilevel Gray 972KB 0.000u 0:00.051
what does that mean?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Problem when break a file "TIF"
I think compression of tif files gets changed to none for some reason. As snibgo says, check the input and output compressions using identify -verbose yourimage. Find what the input compression is and add -compress XXX to match or to whatever you want.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Problem when break a file "TIF"
Sorry, I forgot the "-":
(I have a vague memory that automatic JPEG compression for tiffs was turned off after someone said that IM should never lose data by default.)
Code: Select all
identify -verbose in.tif
snibgo's IM pages: im.snibgo.com