Welcome! Log In Create A New Profile

Advanced

Putting two or more images in one file.

Posted by AadG 
Putting two or more images in one file.
September 15, 2020 02:28PM
Hi all,

Does Windev have any functions to put several images in one image file, like one can do with PDF-files?

Best regards,

Aad



Edited 1 time(s). Last edit at 09/15/2020 02:28PM by AadG.
Re: Putting two or more images in one file.
September 15, 2020 07:30PM
Hey Aad

Print each image to PDF and use PDFmerge.

Or is this not an option.cool smiley

Jan
Re: Putting two or more images in one file.
September 15, 2020 08:41PM
Hi Jan,

I did not think of that. Can you direct me to the best way to conrvert an imgage to PDF?

Thanks.

Grt/Aad
Re: Putting two or more images in one file.
September 16, 2020 08:11AM
Aad,

You could make a report with the image on it and print the report to PDF.


Jan
Re: Putting two or more images in one file.
September 16, 2020 10:03AM
Thanks Jan.
Re: Putting two or more images in one file.
September 16, 2020 11:43AM
Hi Aad,

if a TIFF file is okay with you, you can use a Tiff-variable together with dSaveImageTIFF() to accomplish that.

// Load the file
MyTiff is Tiff = "MyFile.tiff"
// Replace the first page
MyTiff..Image[1] = "C:\MyImages\logo1.bmp"
MyTiff..Image[2] = "C:\MyImages\logo2.bmp"
// Save the file
dSaveImageTIFF(MyTiff, "Logos.tiff")


I'm using Irfanview btw to create a TIFF image from several JPS's.
It comes from a project years ago (wd11), where there was no other option.
Irfanview can be called with all kinds of commandline parameters with ExeRun().
It depends on your situation if that is allowed (due to restricted userright)
10000+ TIFF files created already with no issues, and for that reason I don't switch to WD functions...

Arie
Re: Putting two or more images in one file.
September 16, 2020 12:22PM
Hi Arie,

Thanks for your reply. What I want is uploading pictures on a Webdev page to a server and read this pictures in Windev,
i.e. upload 3 pictures and convert these pictures into 1 picture and save this with hLinkmemo to a binary field.

Best regards,

Aad
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: