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
 Create an white 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
Waheed Posted - Jul 22 2011 : 12:27:40
How can create an empty white filled image of certain height and width. Is this correct?
I have an ImageEnVect connected to ImageEnIO:

ImageEnIO1.AttachedIEBitmap.Create(Image1.IEBitmap.Width,
       Image1.IEBitmap.Height);
ImageEnIO1.AttachedIEBitmap.Fill(clWhite);
3   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Jul 23 2011 : 11:53:31

  with TIEBitmap.Create(200, 200) do
  begin
    Fill(clWhite);
    Write('output.bmp');
    Free();
  end;


note1: it uses "hyieutils" unit.
note2: surrond with try..finally
note3: change 'output.bmp' to 'output.jpg' to save jpegs.
Waheed Posted - Jul 22 2011 : 14:38:19
save it
xequte Posted - Jul 22 2011 : 12:34:34
Hi Waheed

Don't use the AttachedIEBitmap if the ImageEnIO is also attached to an ImageEnVect.

What are you planning to do do with image that you create?


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com