ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Tiff is not getting back all the images

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
eballinas Posted - Oct 14 2022 : 13:44:49
When I run this procedure, the image in the database has 4 images. It is only giving me 1 image.
What am I doing wrong?

procedure TfrmObras.DocumentosdeObrasTbAfterOpen(DataSet: TDataSet);
var
    flujo:tstream;
begin
    if not documentosdeobrastb.IsEmpty then
    try
        lasfotos.clear;
        flujo:=tmemorystream.Create;
        flujo:=documentosdeobrastb.CreateBlobStream(DocumentosdeObrasTbIMAGENDELDOCUMENTO,bmRead);
        flujo.position:=0;
        lasfotos.mio.LoadFromStreamTIFF(flujo);
    finally
        flujo.Free;
    end;


end;
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 16 2022 : 20:35:13
And if you load the saved file using: lasfotos.mio.LoadFromFileTIFF(...); do you still only get one page?

Nigel
Xequte Software
www.imageen.com
eballinas Posted - Oct 14 2022 : 16:28:08
I did it. Files are multi image...
xequte Posted - Oct 14 2022 : 16:05:00
Hi

Almost certainly the image in the database is only single frame. Output the field blob to a file (directly without saving as an image) to confirm.

Nigel
Xequte Software
www.imageen.com