This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
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 ??
Groups: Registered
Posts: 23
How to convert the tiff image (jpeg compression) to single stripe ??
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
Groups: Registered
Posts: 23
How about if i want to set it to codecs.Options.Jpeg.Save.SaveOldJtif = True
Is the image still corrected ?
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.