[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
[nanogui] FLTK + NXLIB + NANO-X: image distorted
From: "MimJaws" ####@####.#### Date: 14 Dec 2007 11:29:02 +0000 Message-Id: <002701c83e44$7974dfe0$39adfe90@emea.cisco.com> 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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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: ####@####.#### ####@####.#### | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] FLTK + NXLIB + NANO-X: image distorted
From: "Greg Haerr" ####@####.#### Date: 14 Dec 2007 18:21:39 +0000 Message-Id: <00ef01c83e7e$26b66c30$0300a8c0@RDP> > 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. There was a reported bug that's fixed in NXLIB relating to an off-by-one for certain images. Make sure you're using the CVS version of NXLIB, this should fix the issue. Please let me know. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |