nanogui: FLTK + NXLIB + NANO-X: image distorted


Previous by date: 14 Dec 2007 12:37:30 +0000 FLTK + NXLIB + NANO-X: image distorted, MimJaws
Next by date: 14 Dec 2007 12:37:30 +0000 error running, Demetris Zavorotnichenko
Previous in thread: 14 Dec 2007 12:37:30 +0000 FLTK + NXLIB + NANO-X: image distorted, MimJaws
Next in thread: 14 Dec 2007 12:37:30 +0000 Re: FLTK + NXLIB + NANO-X: image distorted, Greg Haerr

Subject: Re: [nanogui] FLTK + NXLIB + NANO-X: image distorted
From: "Darren Legge" ####@####.####
Date: 14 Dec 2007 12:37:30 +0000
Message-Id: <s76278da.004@mail.energytechnologycontrol.com>

I have this (or a similar) issue too on an ARM (xscale) based platform. I have found that for me the FLTK images display correctly if they are an even number of pixels wide. I have been lazy and just ensure that all images I use are like this.
Note that this applies to the actual number of pixels printed on the display, transparent pixels don't count. For example, if you have a gif that is 30 pixels wide, but the left hand row is transparent, that's only 29 pixels so it will distort.
The kind of distortion I get is that vertical lines get skewed to diagonal and colours sometimes turn to black. I have not looked into why this happens so far. Hope this helps,
Darren.

>>> "MimJaws" ####@####.#### 14/12/07 11:28 >>>
Hi all,
    I'm working on a project based on FLTK library to create an user 
interface using fluid. For development and test I'm running the application 
on linux with X library.

The target is based on AVR32, and I'm using nano-X+nxLib on FLTK.

The problem is that when the application is running on the target, all the 
image (jpg, gif, xpm) are distorted.
The only kind of image that work good are the ppm images that unfortunately 
don't support the trasparency layer.

did anyone have same experience? did you solve it? Any suggestions?

Thanks
J.


---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.#### 
For additional commands, e-mail: ####@####.####


-------------------------------------------------------------------------------------------


***** REDUCE WASTE! PLEASE DO NOT PRINT THIS EMAIL UNLESS ABSOLUTELY NECESSARY *****

This Email is intended only for the person(s) to whom it is addressed and may contain confidential information. If you have received this Email in error, please notify the sender and destroy any copies.

The content of this Email may not represent the views of Energy Technology and Control Ltd.

This Email has been scanned for viruses by Sophos Antivirus and is believed to be virus-free. 

Energy Technology and Control Ltd
25 North Street
Lewes
East Sussex
BN7 2PE
UK

Registered number: 02277937 England

Tel: +44 1273 480667
Fax: +44 1273 480652

Email: ####@####.####

####@####.####

Previous by date: 14 Dec 2007 12:37:30 +0000 FLTK + NXLIB + NANO-X: image distorted, MimJaws
Next by date: 14 Dec 2007 12:37:30 +0000 error running, Demetris Zavorotnichenko
Previous in thread: 14 Dec 2007 12:37:30 +0000 FLTK + NXLIB + NANO-X: image distorted, MimJaws
Next in thread: 14 Dec 2007 12:37:30 +0000 Re: FLTK + NXLIB + NANO-X: image distorted, Greg Haerr


Powered by ezmlm-browse 0.20.