Home > Back-end >  Text batch stacking images
Text batch stacking images

Time:09-22

Under the folder there is a group of pictures, picture is filmed in different locations, the location on the file name, file called: 01 - market - the 2016-07-21-09-54-06 11 - the supermarket - the 2016-07-21-09-55-33... 10 - cinema - such as the 2016-07-21-2016-07-21, how can I put the pictures in the file name of the batch of address extracted superimposed on the image, feel be very tough, please help!

CodePudding user response:

1, the Image display images
2, read the file name related characters;
3, the Image on the Canvas, outText join characters,

CodePudding user response:

You also need to use Tbmp etc...

CodePudding user response:



Filelistbox1. Directory:=your photos Directory
For I:=0 to filelistbox1. Items. Count the do
The begin
Image1 loading picture
FileListBox1. Items. Strings [I]; The file name
According to the file name segment the site
Image1. Canvas. TextOut (0, 0, 'site');
Image1 export images
end;
  • Related