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
 Add custom text to top of image

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
yilmazca Posted - Feb 12 2018 : 09:36:28
Hi,

How can I add custom text to top in canvas area..

Example:



Also I am using High DPI Images.. What is the best lossless method before saving(JPG)

Thanks.

ibrahim YILMAZ
3   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Feb 15 2018 : 13:08:16
I recommend that you upgrade to the current version. It has many new layer options including the best text out in the library.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
yilmazca Posted - Feb 15 2018 : 13:04:56
I have not Text layer property my imageEn version 6.2 and not have this options, libaries..

Also I am use Bitmap.Textout but I need some example can you help me ? thanks..

ibrahim YILMAZ
w2m Posted - Feb 13 2018 : 11:26:41
procedure TForm1.AddLayer1Click(Sender: TObject);
begin
  {Add space at the top of the image to hold the text}
  ImageEnView1.Proc.ImageResize(0, 30, 0, 0);
  {Add a text layer}
  ImageEnView1.LayersAdd(ielkText);
  {Set the position and dimensions of the layer}
  ImageEnView1.Layers[ImageEnView1.LayersCurrent].PosX := 0;
  ImageEnView1.Layers[ImageEnView1.LayersCurrent].PosY := 0;
  ImageEnView1.Layers[ImageEnView1.LayersCurrent].Width := ImageEnView1.IEBitmap.Width;
  ImageEnView1.Layers[ImageEnView1.LayersCurrent].Height := 30;
  {Set the layer text}
  TIETextLayer(ImageEnView1.CurrentLayer).Text := 'Custom Custom Custom Custom Custom Custom';
  {Align the text}
  TIETextLayer(ImageEnView1.CurrentLayer).Alignment := iejCenter;
  {Set the fill color}
  TIETextLayer(ImageEnView1.CurrentLayer).FillColor := clYellow;
  {Merge the layers}
  ImageEnView1.LayersMergeAll();
  ImageEnView1.Update();
end;


As far as saving this with lossless transformation it is not possible. Lossless transformation is only possible with source and destination files and specific lossless transformation procedures - TIEJpegTransform = (jtNone, jtCut, jtHorizFlip, jtVertFlip, jtTranspose, jtTransverse, jtRotate90, jtRotate180, jtRotate270);

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development