T O P I C R E V I E W |
graphman |
Posted - May 29 2012 : 04:57:16 When I use annotations I can create a text or memo annotation but when I make this permanent (combine with background) the text disappears.
There is this problem with big fuiles only.
How to fix it? |
20 L A T E S T R E P L I E S (Newest First) |
fab |
Posted - Apr 25 2013 : 00:10:52 Continuing at: http://www.imageen.com/ieforum/topic.asp?TOPIC_ID=1011 |
graphman |
Posted - Apr 24 2013 : 05:28:17 my test =======
file.tif is there www.graphicregion.com/file.tif
//--------------------------------------------------------------------------- void __fastcall TForm1::ButtonOpenFileClick(TObject *Sender) { ImageEnVect1->IO->LoadFromFile("file.tif"); ImageEnVect1->IO->Params->ImagingAnnot->CopyToTImageEnVect(ImageEnVect1); } //---------------------------------------------------------------------------
void __fastcall TForm1::ButtonCopyToBackClick(TObject *Sender) { ImageEnVect1->CopyObjectsToBack(true, true, false); ImageEnVect1->RemoveAllObjects(); } //--------------------------------------------------------------------------- |
graphman |
Posted - Apr 24 2013 : 03:54:11 No. Background is black-and-white Reason to use CopyObjectsToBack(true, true, FALSE); is to prevent image converting to 24 bit at combining |
fab |
Posted - Apr 23 2013 : 23:01:00 Sorry, I cannot replicate. Tried:
ImageEnVect1.AddNewObject(iekBox, Rect(10, 10, 100, 100), clRed); ImageEnVect1.CopyObjectsToBack(true, true, false); ImageEnVect1.RemoveAllObjects();
Of course it assumes you have an RGB (24 bit) bitmap, otherwise it is no-sense to set last parameter to False.
|
graphman |
Posted - Apr 22 2013 : 17:19:02 New bug with ImageEnView1->CopyObjectsToBack(true, true, false)
after this command all image object are stretched
With ImageEnView1->CopyObjectsToBack(true, true, true) - all is OK |
xequte |
Posted - Jul 16 2012 : 02:37:19 Please try it again now.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
graphman |
Posted - Jul 15 2012 : 03:27:14 This topic is Locked and impossible to subscribe |
xequte |
Posted - Jul 14 2012 : 15:05:40 Hi
Not yet, but it is not far off. Please subscribe to the following topic to receive an automatic email notification:
http://www.imageen.com/ieforum/topic.asp?TOPIC_ID=215
Nigel Xequte Software www.xequte.com nigel@xequte.com |
graphman |
Posted - Jul 13 2012 : 06:26:14 Is new version available? (with new feature) |
fab |
Posted - Jun 10 2012 : 22:51:53 No, it is done automatically. For example, you will be able to do:
imageenvect1.LegacyBitmap:=false; imageenvect1.IO.LoadFromFile('652-100-000.TIF'); imageenvect1.AddNewObject(iekline, rect(10,10,100,100), clBlack); // just an example imageenvect1.CopyObjectsToBack(true, true, false); // last parameter avoid to change from BW to RGB imageenvect1.RemoveAllObjects();
Note last parameter of CopyObjectsToBack (available from next release) avoid CopyObjectsToBack to convert from BW to RGB. Note also that you will be able to use only colors like clBlack or clWhite for objects, of course. |
graphman |
Posted - Jun 09 2012 : 01:55:50 With new version I shoul use also ... ?
imageenvect1.LegacyBitmap := true; imageenvect1.CopyObjectsToBack(); imageenvect1.LegacyBitmap := false; |
fab |
Posted - Jun 08 2012 : 12:32:41 TBitmap is still necessary (due the TCanvas), so legacy bitmap cannot be maintained. Anyway pixel format is maintained to Black/White allowing to process big bitmaps. |
graphman |
Posted - Jun 08 2012 : 08:00:13 Without changing LegacyBitmap ? Can you inform me about new minor release? I'll purchasi this new version. |
fab |
Posted - Jun 07 2012 : 23:41:15 A TCanvas object (required by drawing primitives) is necessary, and unfortunately this is available only in TBitmap, that is not available for a RGB 18724x13244 image. Anyway next minor release will allow drawing into BW images, without RGB conversion, as experimental feature. |
graphman |
Posted - Jun 07 2012 : 13:56:08 Is there solution to combine annotations with background for this image? |
fab |
Posted - Jun 07 2012 : 12:33:00 Yes, I received it. The problem is that the image is too big and it cannot be converted to TBitmap (and RGB). |
graphman |
Posted - Jun 07 2012 : 10:43:39 Have you received (tested) my file? |
fab |
Posted - Jun 07 2012 : 09:40:26 Yes, you can. It will use TBitmap to store the image loaded with LoadFromFile. |
graphman |
Posted - Jun 06 2012 : 17:08:51 Can I use
imageenvect1.LegacyBitmap := true;
after
LoadFromFile ??? |
fab |
Posted - Jun 06 2012 : 06:26:55 I don't think this is related to a specific image, anyway please look at the bottom of http://www.ImageEn.com/contact/contact.html (you can also click on "support" on top of this page, then "contact us").
quote: > imageenvect1.IEBitmap.Allocate(1500, 500, ie1g); // create a BW image or load your own
Do I need to use this command if image is loaded already. LoadFromFile();
No, it was just to show you that it works with black/white images. You can replace Allocate with LoadFromFile. |