[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2520.0. "XPutPixel Problem" by USWRSL::YUEN_JO () Tue Mar 27 1990 14:41

    I have a customer who is trying to capture a color rasterfile, however,
    XPutPixel reports the following error:
    
    	Illegal unit size: 8 found in routine: _normalizeimagebits.
    
    He is using a DS3100 and UWS2.1 although we get the same error under
    UWS2.2. The "depth" and "bits_per_pixel" field fo the XImage structure
    passed to XPutPixel are both 8. I have at least verified it using
    the debugger.
    
    Anyone have any ideas on what might be causing this? This code runs
    ok on a SUN workstation using X11R3.
T.RTitleUserPersonal
Name
DateLines
2520.1fixed in future UWS releaseGILROY::kleeKen LeeTue Mar 27 1990 15:075
There was a bug in UWS Xlib that caused this.  It was fixed some time ago,
but apparently the fix didn't make it in to UWS2.2.  It should be in the
next UWS release.

Ken
2520.2Work around?USWRSL::YUEN_JOTue Mar 27 1990 17:231
    In the mean time what,if any, is the work around??
2520.3GILROY::kleeKen LeeTue Mar 27 1990 20:251
If you have source, delete line 194 (_XReportBadUnit ...) of file XImUtil.c.