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
 Resolution Issue

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
jeff@lucion.com Posted - May 21 2015 : 16:01:27
See the code below.

If I pass an HDIB that has a resolution of 200x200, the Result below comes out at 300x300. How do I preserve the resolution when I load and manipulate the HDIB in TImageEnVect?


IEBitmap.CopyFromDIB(HDib);

Result := IEBitmap.CreateDIB;
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 28 2015 : 05:03:03
Hi

No, I'm afraid that is not possible with a DIB.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
jeff@lucion.com Posted - May 25 2015 : 21:46:31
Do you have a procedure or property that allow me to reset the resolution or find out what it is on the loaded DIB?
xequte Posted - May 25 2015 : 21:13:58
Hmmm, I've just re-checked the code and cannot see any issues. It also uses a TBitmap internally to retrieve the DIB.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
jeff@lucion.com Posted - May 25 2015 : 18:41:59
NOt sure how to do that since the DIB is created by a different third party software.

What's strange is that if the assign the DIB to a TBitmap and the use your CopyFromTBitmap it keeps the original resolution.
xequte Posted - May 24 2015 : 20:12:43
I can't see how that could occur. Can you email us a small demo.



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