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
|