Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

XImage.bitmap_unit appears incoorect in Exceed

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> XImage.bitmap_unit appears incoorect in Exceed Page: [1]
Login
Message << Older Topic   Newer Topic >>
XImage.bitmap_unit appears incoorect in Exceed - Nov. 30, '05, 2:57:38 PM   
mccuskerowen

 

Posts: 9
Joined: Apr. 28, '05,
Status: offline
We have a utility program that captures screen images. It makes a call
to XGetImage which returns the XImage struct. We use certain attributes
of this structure to create a x window dump file (xwd). The system
is set up with 24-bit color, but the XImage struct being returned
from the XGetImage call returns a value of 8 for the bitmap_units on
a box configure to run as "True Color".

This occurs on all desktops running Interix 3.5, Exceed 10.0.0.1, 11.0.0.1,
XP SP2, and Windows 2000.

One of the system setup is:
OS: XP SP2
Adapter Card: ATI Radeon 9700 Modility, latest drivers
XServer: Hummingbird Exceed 10.0.0.1
SFU 3.5

The bitmap, represented by the XImage struct, is represented in scan line order,
with each scan line made up of multiples of the bitmap_unit which are then
padded with meaningless bits.

Using a True Color Display, this value should be 32, and is 32 on the Linux/SunOS/HP-UX
running the same utility.

We have a work around, in that we use the bits_per_pixel XImage attribute
for the Interix platform. This should work well enough for True Color, but
may become problematic for other types of configurations.

Owen
Post #: 1
RE: XImage.bitmap_unit appears incoorect in Exceed - Nov. 30, '05, 3:11:39 PM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
The problem is not Interix, but rather Exceed. It depends on how large the image is.
If the images is more than 512x512 bits then the capture can go "odd".
I'll look up the special registry override for this.

(in reply to mccuskerowen)
Post #: 2
RE: XImage.bitmap_unit appears incoorect in Exceed - Nov. 30, '05, 4:23:58 PM   
mccuskerowen

 

Posts: 9
Joined: Apr. 28, '05,
Status: offline
We have had no issues with Interix so far.

Over the past 7 months we took 2 million lines of code representing
libraries, daemon execs, GUI execs, and successfully ported them over
into the Interix subsystem. The only major gotcha's recorded are related
to instances when programmers took the "path less traveled by", for example
in their socket programming techniques.

Kudos to the Interix Team!

Our test team mostly digs X related issues up, which seem to go away with
every successive release of Exceed, or some minor workarounds.

I just want to supply the Exceed team with some info to tighten up a next release.
BTW Hummingbird Exceed I think is also an outstanding product.

Owen

(in reply to Rodney)
Post #: 3
RE: XImage.bitmap_unit appears incoorect in Exceed - Dec. 1, '05, 2:56:14 AM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
The registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Hummingbird\Connectivity\11.00\Exceed\Xserver
with key "PixmapLimit" set to a higher value than 262144 (512x512) such
as 1048576 (1024x1024) has fixed several different problems. See if this helps.
(Vary the "11.00" part based on the version of Exceed you actually have installed).

(in reply to mccuskerowen)
Post #: 4
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> XImage.bitmap_unit appears incoorect in Exceed Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031