How to use bmp2bmp in Alaska-2.0?

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

How to use bmp2bmp in Alaska-2.0?

#1 Post 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)

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: How to use bmp2bmp in Alaska-2.0?

#2 Post by rdonnay »

Can you write a small sample program?
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: How to use bmp2bmp in Alaska-2.0?

#3 Post 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.
Attachments
1.zip
(2.57 MiB) Downloaded 438 times

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: How to use bmp2bmp in Alaska-2.0?

#4 Post 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
Attachments
scaling images.zip
(1.15 MiB) Downloaded 422 times

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: How to use bmp2bmp in Alaska-2.0?

#5 Post by rdonnay »

Code: Select all

Change this:
      oPS := XBPPRESSPACE() :new()
      
to this:
      oPS := XBPPRESSPACE():new():create()
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: How to use bmp2bmp in Alaska-2.0?

#6 Post by Eugene Lutsenko »

Thank you so much, Roger!

Post Reply