This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, November 15, 2006 2:09:20 AM(UTC)
Groups: Registered
Posts: 23
I have tried to disable the TileWidth and TileHeight setting when saving multipage jpeg compression tif. But why the value is still there in the tif tag ??
#2
Posted
:
Wednesday, November 15, 2006 6:20:08 PM(UTC)
Groups: Registered
Posts: 23
How to convert the tiff image (jpeg compression) to single stripe ??
#3
Posted
:
Wednesday, November 15, 2006 11:37:12 PM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
If you are using our .NET classes, here's how to do it:
codecs.Options.Jpeg.Save.SaveOldJtif
= False
codecs.Options.Tiff.Save.UseTileSize = True
codecs.Options.Tiff.Save.TileHeight = tempImage.Height
codecs.Options.Tiff.Save.TileWidth = tempImage.Width * 2
'saving the image
codecs.Save(tempImage, "d:\test1.tif",
RasterImageFormat.TifJpeg422, 24, 1, 3, 1, CodecsSavePageMode.Overwrite)
For related information using our Main OCX control, see the
following forum post:
http://support.leadtools.com/SupportPortal/cs/forums/9065/ShowPost.aspx
#4
Posted
:
Thursday, November 16, 2006 9:48:17 PM(UTC)
Groups: Registered
Posts: 23
How about if i want to set it to codecs.Options.Jpeg.Save.SaveOldJtif = True
Is the image still corrected ?
#5
Posted
:
Sunday, November 19, 2006 6:15:21 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
When setting the codecs.Options.Jpeg.Save.SaveOldJtif
= True the image will be saved in one single strip. If you set it to False, you
can save it in multi strips depending on the TileHeight you specify.
In addtion to saving images into single strips with SaveOldJtif, you can also save images into tiles with it.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.