T O P I C R E V I E W |
geert |
Posted - Jun 22 2012 : 03:19:29 I have a problem with pagecount on multipage tiff files. When i try to get the number of pages it results 0 allways
.params.tiff_pagecount
.params.tiff_imagecount results in number of pages x 2
When we do seekfirst , seeknext , 1st page is ok , 2d page is blank , 3d page is ok , 4th page is blank.
Opening the same tiff file in win7 results in correct result , no extra blank pages are shown.
So there is some strange behaviour , what could be solution ?
Please help , i have to skip 2 pages to get correct result , but i fear that this will not allways give the correct result.
thnx
|
11 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Oct 25 2012 : 01:30:44 Yes, this is available in v4.1.3.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
geert |
Posted - Oct 24 2012 : 07:21:39 THnx ,
Is there now allready a minor upgrade where this adaptions are made ?
kind regards
|
fab |
Posted - Jul 10 2012 : 04:56:37 Hi, there is no error in ImageEn. The blank pages are there and ImageEn correctly returns them to your application. It is the application decision to discard these blank pages (marked with NewSubfileType=1). Unfortunately current ImageEn version hasn't TIFF_NewSubfileType property, but it will be present from next minor version. It will be possible to do:
var
i: integer;
begin
ImageEnMView1.MIO.LoadFromFile('temp.tif');
i := 0;
while i < ImageEnMView1.ImageCount do
begin
if ImageEnMView1.MIO.Params[i].TIFF_NewSubfileType = 1 then
ImageEnMView1.DeleteImage(i)
else
inc(i);
end;
end;
|
geert |
Posted - Jun 27 2012 : 00:36:20 Any hope on solution ???
|
geert |
Posted - Jun 23 2012 : 08:17:19 I have it with all tiff files till now .
We have a archiving system that makes tiffs , and i'm trying to display them via image-en component.
So all those tiffs have the same result.
They are scanned in via normal scan programs
kind regards
|
xequte |
Posted - Jun 23 2012 : 03:25:36 Yes, please send to:
nigel@xequte.com
Also, tell me whether you have multiple images where this issue occurs, or just one.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
geert |
Posted - Jun 23 2012 : 01:38:51 I tried to attach example-tiff but it is not allowed.
Can i send it to you via email ?
kind regards
|
xequte |
Posted - Jun 22 2012 : 14:27:35 Hi
Is this one particular image, or a selection all of the same source? Can you email us some examples?
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
geert |
Posted - Jun 22 2012 : 04:08:00 When running the tiffhandler example i noticed following
Every page that is 'empty' and not shown in windows tiff viewer has a tag
254 'newsubfiletype' with value of 1
the other (normal pages) have value 0
Can i tell image-en component not to show this pages with value 1 ???
Kind regards
|
geert |
Posted - Jun 22 2012 : 03:55:54 Hi ,
it's also the same result with the demo example
i get 18 pages while windows only says there are 9 pages.
And every other page is blank (with exeption of a little border)
They are all scanned in with standard scan program, not with image-en component
|
xequte |
Posted - Jun 22 2012 : 03:30:39 Hi
Does this happen with all TIFF files (i.e. even ones from a different source) or just a particular type.
How about if you view the image with one of our TIFF demos such as:
http://www.imageen.com/demos/InputOutput/TiffHandler/TiffHandler.zip
Nigel Xequte Software www.xequte.com nigel@xequte.com
|