Page 1 of 1

How to use bmp2bmp in Alaska-2.0?

Posted: Wed Dec 16, 2020 9:02 am
by Eugene Lutsenko
How to use bmp2bmp in Alaska-2.0?
http://bb.donnay-software.com/donnay/se ... d%5B0%5D=2

In Alaska -1.9, scaling worked fine, and after switching to 2.0, it began to give an error. what should i do?

Writes that the xbp object is not available (: presSpace)

Re: How to use bmp2bmp in Alaska-2.0?

Posted: Wed Dec 16, 2020 10:20 am
by rdonnay
Can you write a small sample program?

Re: How to use bmp2bmp in Alaska-2.0?

Posted: Wed Dec 16, 2020 10:31 am
by Eugene Lutsenko
I didn't write it. But this is a working example. I haven't tried it yet under Windows-10. I'll try it now. But in my system, this function does not work, it gives an error.

Re: How to use bmp2bmp in Alaska-2.0?

Posted: Wed Dec 16, 2020 10:38 am
by Eugene Lutsenko
Tried to compile under Alaska-2.0. Compiles, but does not work. And on 1.9 everything works well. although the quality of the compressed image is very poor

Re: How to use bmp2bmp in Alaska-2.0?

Posted: Thu Dec 17, 2020 6:43 am
by rdonnay

Code: Select all

Change this:
      oPS := XBPPRESSPACE() :new()
      
to this:
      oPS := XBPPRESSPACE():new():create()

Re: How to use bmp2bmp in Alaska-2.0?

Posted: Thu Dec 17, 2020 9:13 am
by Eugene Lutsenko
Thank you so much, Roger!