Re: displaying Bitmaps correctly

2009-04-04 Thread Roger Stringer
At 03:15 AM 4/4/2009, you wrote: Subject: RE: displaying Bitmaps correctly From: luis maldonado luis.maldon...@hotmail.com Date: Fri, 3 Apr 2009 11:17:48 -0400 the change from BPP 8 to BPP 16 helped quite a bit, but the graphics are stil not as crips a regular PALM graphic and the colors

Re: displaying Bitmaps correctly

2009-04-04 Thread Doug Reeder
And, of course, if you don't already own Photoshop, Gimp can do most anything you need to do, though the learning curve is hard and the workflow isn't as efficient. On Apr 4, 2009, at 10:22 AM, Roger Stringer wrote: At 03:15 AM 4/4/2009, you wrote: Subject: RE: displaying Bitmaps

RE: displaying Bitmaps correctly

2009-04-03 Thread luis maldonado
of icons and over 200 64x64 gadget graphics for my application. Regards, Luis Date: Thu, 2 Apr 2009 06:55:55 +0200 From: michal.sel...@visicom.sk Subject: Re: displaying Bitmaps correctly To: palm-dev-forum@news.palmos.com luis maldonado wrote: Hello, BITMAP splashBM

displaying Bitmaps correctly

2009-04-01 Thread luis maldonado
Hello, I'm desperatly looking for code samples on how to display bitmaps on TX. I'm able to display a 24 color bitmap but the resolution is just bad. I have several bitmaps I got from the web also 24 color and they display fine, but the ones I create with photoshop do not display very good

Re: displaying Bitmaps correctly

2009-04-01 Thread Michal Seliga
luis maldonado wrote: Hello, BITMAP splashBM BEGIN BITMAP screen_saver.bmp BPP 8 DENSITY 2 COMPRESS TRANSPARENTINDEX 0 END use BPP 16, conversion from truecolor to palette almost always looks bad. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please

RE: Bitmaps distorted in PODS

2008-07-14 Thread Tam Hanna
the temprorary file created before and import the data. Voila - it works. The reason why I fucked up was that I used GIMP to directly edit the bitmaps as referenced by the resource HTML file. Once again - do NOT edit the bitmaps in the /rsc folders!! All the best Tam Hanna Subject: Re: Bitmaps distorted

RES: Bitmaps distorted in PODS

2008-07-11 Thread guimaraescruz
Hi, How can I unsubscribe this forum? Thanks, André -Mensagem original- De: Ryan Rix [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 10 de julho de 2008 22:28 Para: Palm Developer Forum Assunto: Re: Bitmaps distorted in PODS On Thursday 10 July 2008 06:19:06 pm Dmitry

Re: Bitmaps distorted in PODS

2008-07-11 Thread Christopher Stamper
, 10 de julho de 2008 22:28 Para: Palm Developer Forum Assunto: Re: Bitmaps distorted in PODS On Thursday 10 July 2008 06:19:06 pm Dmitry Grinberg wrote: 16-bit image? compiled in little-endian mode? pilrc bug Doesn't pilrc compiled from cvs source fix this? -- For information on using

Re: Bitmaps distorted in PODS

2008-07-11 Thread Tam Hanna
Hi Dmitry, I know that it is a 24bit bitmap - but can't find a way to transform it in GIMP. Cant you recommend something? All the best Tam Hanna Subject: Re: Bitmaps distorted in PODS From: Dmitry Grinberg [EMAIL PROTECTED] Date: Thu, 10 Jul 2008 18:19:06 -0700 X-Message-Number: 7 16-bit

Re: Bitmaps distorted in PODS

2008-07-11 Thread Michal Seliga
gimp saves good files, i am using it and i never had problem with bitmaps it creates. gimp 1.2 i mean, i didn't used gimp 2.x so far Tam Hanna wrote: Hi Dmitry, I know that it is a 24bit bitmap - but can't find a way to transform it in GIMP. Cant you recommend something? All the best Tam

Bitmaps distorted in PODS

2008-07-10 Thread Tam Hanna
Dear Colleagues, I have just made a not lovely discovery when trying to import existing xcf (GIMP) images into my PODS-based project. I created a structure of 16bit bitmaps in order to get the files saved into the hard drive. Then, I opened GIMP and copied the XCF pixel info into the BMP file

Re: Bitmaps distorted in PODS

2008-07-10 Thread Dmitry Grinberg
to import existing xcf (GIMP) images into my PODS-based project. I created a structure of 16bit bitmaps in order to get the files saved into the hard drive. Then, I opened GIMP and copied the XCF pixel info into the BMP file and saved it in bitmap format. So far so good - the program gets built

Re: Bitmaps distorted in PODS

2008-07-10 Thread Ryan Rix
On Thursday 10 July 2008 06:19:06 pm Dmitry Grinberg wrote: 16-bit image? compiled in little-endian mode? pilrc bug Doesn't pilrc compiled from cvs source fix this? -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see

Re: Constructor is corrupting my small BW bitmaps

2008-05-29 Thread Chris DiPierro
though and I suppose that's what matters in the end. But (for my own sanity) ... ATTENTION PALM SITE MAINTAINERS: Please update the Constructor version that's listed as an update in the Pavillion to match the ACTUAL latest version. Subject: RE: Constructor is corrupting my small BW bitmaps From

Re: Constructor is corrupting my small BW bitmaps

2008-05-29 Thread Chris DiPierro
Um, and where might I find this? In the Provider Pavillion, the latest listed is: http://www.palmos.com/dev/pavilion.cgi/devseed/sdk35.html Which says 1.5b5 (though it's really 1.5b6 ... I downloaded it yesterday!) Subject: Re: Constructor is corrupting my small BW bitmaps From: HowY [EMAIL

Re: Constructor is corrupting my small BW bitmaps

2008-05-29 Thread HowY
If I make a 4x7 BW bitmap in Constructor (the new new new updated version 1.5b6), it will create it corrupted. Instead of my drawing it turns it aHHH the new constructor is 1.5b7 @ 2,360kb -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see

Constructor is corrupting my small BW bitmaps

2008-05-29 Thread Chris DiPierro
If I make a 4x7 BW bitmap in Constructor (the new new new updated version 1.5b6), it will create it corrupted. Instead of my drawing it turns it into a random configuration of colored pixels. When CW tries to compile the resource, it gets the following error: Link Error: Unexpected Error #32:

Re: scrolling bitmaps?

2008-05-29 Thread Garth Watkins
A good way to work with bitmaps, is to store the images in an offscreen window. Also keep in mind, that offscreen window dimensions,(as well as others I suppose), can be larger than the physical dimensions of the screen. So create an offscreen window with dimensions to hold all your images

scrolling bitmaps?

2008-05-29 Thread Timothy Hilton
hi, I am new to palm development, so please excuse me if this question is naive. I would like to display several bitmaps on a form. Each bitmap alone will fit on the screen, but the total size of the bitmaps is larger than the 160 pixel screen height. I would like to be able to use a scroll

Newbie q: POSE under Linux, Bitmaps et c

2008-05-29 Thread Anders Holtsberg
, that took some time) 5) And while I have your attention: what is the correct way of drawing dynamically generated bitmaps? I can make a bitmap (using older technology that OS3.5 so that it works everywhere) by simply allocating memory (BitmapType + data in one chunk) then fill

New constructor: Bitmaps changing color?

2008-05-28 Thread Chris Wilper
Hi, Can anyone help with this? When I modify a bitmap, I choose about 4 different colors from the nifty little color chooser thingy on the bitmap editor. Then I re-open the bitmap for further editing and my colors change to shades of blue! (with black/white mixed in). I checked the Color

Color bitmaps?

2008-05-28 Thread Ben Gottlieb
Okay, more color questions: is it possible to just splash an 8-bit bitmap to the screen, without having to do it color by color (ie, with gray scale, I can preface a bitmap name with /-2/ to tell Constructor to handle it as a 2-bit bitmap, but the same trick doesn't work with /-8/.) Any

Re: /-c/ Compression of bitmaps

2008-05-28 Thread Steve Achelis
this single image in a family (putting it in a family cost 3k in prc file size). Steve Achelis (talking to himself, and in third-person no less) Steve Achelis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm using Constructor 1.5b7. I see the docs say I should name my bitmaps special

/-c/ Compression of bitmaps

2008-05-28 Thread Steve Achelis
I'm using Constructor 1.5b7. I see the docs say I should name my bitmaps special if they are multi-bit. E.g., begin the resource name with /-c/ for compression. However, I've tried with and without the /-c/ and the file size is identical. If I set the compression to Run Length Encoding

Re: How to convert a 8-bits bitmaps to 4-bits Grayscale bitmaps

2008-05-28 Thread Alex Pakhotin
. But it's not difficult. - Original Message - From: Hans Han Sent: Monday, November 13, 2000 12:38 PM Subject: Re: How to convert a 8-bits bitmaps to 4-bits Grayscale bitmaps Hi, For preformance reason, I want write on the Bitmap data area of an offscreen window directly while I receive

Re: Displaying selfmade bitmaps on PalmOS 3.5

2008-05-28 Thread chanc
Hi Thomas Thanks for your help. I'm looking at creating bitmaps at runtime though based on the results computed in the program (i.e., dynamic, nonstatic bitmaps) thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I'm using code warrior. The first step is to draw bitmap

Re: Displaying selfmade bitmaps on PalmOS 3.5

2008-05-28 Thread thomas
selfmade bitmaps to the emulator. I've looked through the archives and tried the examples, but the image is still not appearing. The display stays white in the emulator. What's odd is that when I get to the memset below, I start to overwrite memory. Doesn't BmpGetBits give me a pointer

Re: How to convert a 8-bits bitmaps to 4-bits Grayscale bitmaps

2008-05-28 Thread Richard M. Hartman
Darn, gamma was where I was going next g Actually, that might explain why somebody else had different constants. Default gamma is different on Macs and PCs. Images made on one system would probably need different constants from images made on the other system. -- -Richard M. Hartman [EMAIL

Displaying selfmade bitmaps on PalmOS 3.5

2008-05-28 Thread chanc
Hi I still can't seem to render selfmade bitmaps to the emulator. I've looked through the archives and tried the examples, but the image is still not appearing. The display stays white in the emulator. What's odd is that when I get to the memset below, I start to overwrite memory. Doesn't

Re: How to convert a 8-bits bitmaps to 4-bits Grayscale bitmaps

2008-05-28 Thread Richard M. Hartman
It would help if we knew what the constants represented ... -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! Tom Zerucha wrote in message [EMAIL PROTECTED]... On Fri, Nov 10, 2000 at 04:53:17PM -0800, Alex Pakhotin wrote: Hi Hans, gray = 0.299*r

Re: How to convert a 8-bits bitmaps to 4-bits Grayscale bitmaps

2008-05-28 Thread Alex Pakhotin
Hi Hans, gray = 0.299*r + 0.587*g + 0.114*b Create your own grayscale bitmap and use this formula for every pixel of the original bitmap. Alex. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: Color Bitmaps

2008-05-28 Thread Jamie Macleod
You can do it in the constructor. Go to Palm.com and look in the knowledge base. They have a good article on how to do it. Jamie mikel anderson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Re:color Bitmaps I am new to Palm Programming, programming in total actually, and I can't

Re: Bitmaps

2008-05-28 Thread Luca
to have a variable number of 32x32 pixel bitmaps. I can't limit my user base to those with =3.5, but there is no bitmap API for below there. Any suggestions? What do you mean? Bitmaps are a recognized datatype back to PalmOS 1.0 AFAIK. Sorry I wasn't precise enough...they need

RE: displaying singular bitmaps in several locations HELP!

2008-05-28 Thread Rick Gadbois
all set thank you! -Original Message- From: Kelly J Perkins [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2000 3:18 PM To: Palm Developer Forum Subject: Re: displaying singular bitmaps in several locations HELP! This is what I use for drawing bitmaps and it works. Handle

Re: displaying singular bitmaps in several locations HELP!

2008-05-28 Thread Kelly J Perkins
This is what I use for drawing bitmaps and it works. Handle resH; BitmapPtr resP; FormPtr frm; int x; int y; frm = FrmGetActiveForm(); // get a handle to the resource resH = DmGetResource( bitmapRsc, FrontBodyBitmap

Re: Problem greyscale bitmaps in Constructor 1.5

2008-05-28 Thread Kelly J Perkins
Did you set the screen depth in your app as well? If not, try this for Palm OS 3.5 code: This is in my AppStart code: UInt32 newDepth = 2; // = 1, 2, 4, 8 - 2 is for 4 color, 4 is for 16 grays error = WinScreenMode(winScreenModeSet, NULL, NULL,newDepth, NULL); It is a different call for

RE: displaying singular bitmaps in several locations HELP!

2008-05-28 Thread Rick Gadbois
setup I am missing? or something else I might be doing wrong? -Original Message- From: Ben Combee [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2000 11:37 AM To: Palm Developer Forum Subject: Re: displaying singular bitmaps in several locations HELP! Rick Gadbois [EMAIL

displaying singular bitmaps in several locations HELP!

2008-05-28 Thread Rick Gadbois
I have a need to display an ever changing variation of 6 simple bitmaps in 36 locations dynamically. I would like to do this with 6 bitmaps, displaying for example, bitmap1 in 3 locations, bitmap 2 in 5 locations, bitmap3 in 0 locations etc...all at once. In the past for single bitmaps, I have

Re: transferring and displaying bitmaps images

2008-05-28 Thread Heather Gazdik
to upload bitmaps, via a .pdb file, display the bitmaps. I know how to get the data to the the device, but I'm a little confused about how to get a BitmapPtr to it. Should I include all the BitmapType header information in the .pdb file? Should I create another DB file on the device

Re: displaying bitmaps

2008-05-28 Thread UCS308
://www.egroups.com/group/palm-dev-forum /Bulent Jeff Davey [EMAIL PROTECTED] skrev i diskussionsgruppsmeddelandet:[EMAIL PROTECTED] Hello all, I'm looking into displaying bitmaps on the Palm? Does anyone know of a good reference to get started on this, or a tutorial? Any suggestions

SV: displaying bitmaps

2008-05-28 Thread Bulent Gecer
Have you searched the archive? This question has been asked lots of times... Check out http://www.egroups.com/group/palm-dev-forum /Bulent Jeff Davey [EMAIL PROTECTED] skrev i diskussionsgruppsmeddelandet:[EMAIL PROTECTED] Hello all, I'm looking into displaying bitmaps on the Palm? Does

Re: Unexpected Error #32 - color bitmaps

2008-05-28 Thread Ole
One alternative is www.vfdide.com HTH Ole Richard Hartman [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is there a GUI form-builder that saves as PilRC code? -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see

Re: Unexpected Error #32 - color bitmaps

2008-05-28 Thread Richard Hartman
Is there a GUI form-builder that saves as PilRC code? -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! Tilo Christ wrote in message [EMAIL PROTECTED]... Hi! You can save yourself a lot of pain if you are using the PILRC-plugin and PILRC instead of

Re: Disappering bitmaps-not in form

2008-05-28 Thread Pilot Pogrammer
I'm using the bitmaps in the same form... Richard Anderson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ensure you are not trying to use the FormPtr/ID for one form on another. ie if you try and FrmShow on two different forms with the same pointer you get this error. You can

Disappering bitmaps-not in form

2008-05-28 Thread Pilot Pogrammer
I have a form with multiple bitmaps. When starting the app I show some bitmaps, but under runtime I want to switch to another(they are at the same position). When I switch back to the first one I get a message objet not in form. I use the API FrmShow/HideObject() with the bitmap resource ID... I

Re: Unexpected Error #32 - color bitmaps

2008-05-28 Thread chongwm
Would this be the same PilRC as the one that's available on Neil Rhodes' website (http://www.calliopeinc.com/devcorner.htm) -- PilRC CodeWarrior plugin? Tilo Christ wrote: You can save yourself a lot of pain if you are using the PILRC-plugin and PILRC instead of Constructor. -- For

Unexpected Error #32 - color bitmaps

2008-05-28 Thread chongwm
I've looked through the archives at escribe, and this Error #32 thing has been discussed in April, however mine is of a different circumstance. The codewarrior R6 linker gives me the following: Link Error : Unexpected Error #32. Name options syntax error in resource: PICT #2320 Unexpected

Help! Calling app bitmaps replaced by Palm FileBrowser's

2008-03-04 Thread Luc Le Blanc
I tried using the FileBrowser API (when available) to open a file on the SD card. But upon returning from the FileBrowserLibShowOpenDialog call, my bitmaps 2000 and 2100 get replaced by icons that just appeared in the FileBrowser form. Is there any cleanup I must do? I tried opening/closing

Re: Icons and Bitmaps

2007-10-12 Thread Ben Combee
On 10/11/07, JSeb [EMAIL PROTECTED] wrote: Maybe I'm missing something, but it seems CtlSetGraphics accepts only Tbmp resources. I cannot put an icon (tAIB) resource in there... Icon and bitmap resources are the same thing in Palm OS, they just have different resource types. -- For

Re: Icons and Bitmaps

2007-10-12 Thread Lionscribe
JSeb wrote: I felt it would be more elegant to be at least able to specify its position in the resource file Well, you can put a gadget in the resource, and then draw the icon it the gadget's bounds. If you wnt more fun, make it an extended gadget. Lionscribe -- For information on using the

Re: Icons and Bitmaps

2007-10-12 Thread JSeb
I agree with Phreak: as I wrote in the original post, there is no way I will including TWICE the same .BMP in my resources (maybe I'm not so radical anymore). I now expect that the only remaining solution is to do the conversion from icon to bitmap programmatically. That I was able to do (find

Re: Icons and Bitmaps

2007-10-12 Thread Ben Combee
Yes, but just duplicate the bitmap if it's not too large, including it twice in your file. On 10/12/07, JSeb [EMAIL PROTECTED] wrote: Okay, but when I use CtlSetGraphics(pMyGraphicButton, kMY_BMP, NULL); it works fine (kMY_BMP is the resource ID of some bitmap). But if I use instead

Re: Icons and Bitmaps

2007-10-12 Thread JSeb
Okay, but when I use CtlSetGraphics(pMyGraphicButton, kMY_BMP, NULL); it works fine (kMY_BMP is the resource ID of some bitmap). But if I use instead kMY_ICON, the resource ID for my application icon (1000), it doesn't work --- nor did I expect it to. I don't get my icon in the graphical

Re: Icons and Bitmaps

2007-10-12 Thread Phreak OnALeash
Hi, Personally, including a file twice in a resource is less elegant than doing it programatically... At least it takes less memory that way :-) It also leads to better looking resource files. ~Ryan On 10/12/07, Ben Combee [EMAIL PROTECTED] wrote: Yes, but just duplicate the bitmap if it's

Re: Icons and Bitmaps

2007-10-11 Thread Miro Pomsar
that in a more elegant way. By that I mean: directly in the resource file. If I want to include a bitmap on a form, it seems the only way is through FORMBITMAP. This means I can use the bitmaps I define in the resource file, but not the icons, right? So if I want to display the application icon on a form

Re: Icons and Bitmaps

2007-10-11 Thread JSeb
Thanks for the help. I like the idea. Maybe I'm missing something, but it seems CtlSetGraphics accepts only Tbmp resources. I cannot put an icon (tAIB) resource in there... Thanks! -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see

Icons and Bitmaps

2007-10-10 Thread JSeb
you'll have to forgive my lack of details). So everything works fine. Except I've been looking to do that in a more elegant way. By that I mean: directly in the resource file. If I want to include a bitmap on a form, it seems the only way is through FORMBITMAP. This means I can use the bitmaps I

Re: Creating thumbnails of full screen size bitmaps

2007-04-18 Thread parimala
PnoJpegLib functions (PnoJpeg2Resize and PnoJpeg2Resample) didn't give the expected scaled down version of the image I passed to them, instead they returned the image pointer that was input. Image Library does look complicated. I'm checking it out. Thanks! pnojpeglib can resize image both

Re: Creating thumbnails of full screen size bitmaps

2007-04-18 Thread parimala
Thanks for your reply! I was in search of some functions in some built-in library that does this job fairly well. If all else fails, this will come handy! scaling from 320x320 to 80x80 is just 4-1 scaling. it is not hard to implement. for(row){ for(col){ read(16 pixels from src image

Re: Creating thumbnails of full screen size bitmaps

2007-04-17 Thread parimala
Thanks for your reply. Pnojpeglib contains functions for scaling 'up' an image. I couldn't find any for scaling it down. I found one or two scalers for Palm that did promise scaling down a bmp. But they were either outdated or shareware! Are there freewares that work for Palm OS 5? i

Re: Creating thumbnails of full screen size bitmaps

2007-04-17 Thread parimala
Thanks for your reply. I'll give either of these a go! If you want to do it fast, use the nearest neighbor algorithm. If you want to do it well, use the bilinear algorithm. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see

Re: Creating thumbnails of full screen size bitmaps

2007-04-17 Thread Michal Seliga
pnojpeglib can resize image both to smaller and to bigger, i am sure about it because i used it. try pnoJpeg2Reszie and pnoJpeg2Resample functions. on newer devices you can use builtin image library to scale images too, but it can scale images only from bigger to smaller and its not as good (it

Creating thumbnails of full screen size bitmaps

2007-04-16 Thread parimala
The application I'm developing requires that a full screen size bitmap be reduced to a thumbnail, that is, from 320 x 320 to 80 x 80 (double density). I've tried creating an offscreen window and drawing the bitmap on it and then copying the offscreen window contents to the double density

Re: Creating thumbnails of full screen size bitmaps

2007-04-16 Thread Michal Seliga
i guess the fastest way would be to implement some scaler (there is lot of sources for them on internet, just search), or use resize functions from pnojpeglib [EMAIL PROTECTED] wrote: The application I'm developing requires that a full screen size bitmap be reduced to a thumbnail, that is,

Re: Creating thumbnails of full screen size bitmaps

2007-04-16 Thread P. Douglas Reeder
If you want to do it fast, use the nearest neighbor algorithm. If you want to do it well, use the bilinear algorithm. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Changing bitmaps on selection/deselection

2007-03-29 Thread kaushik15
Hi, I have some graphic push button in Form.Now what i want when the focus is on some push button , it should be changed to other image.For this i have created two push button but i am not able to roll them on selection and deselection.I am using CtlSetGraphics function.Please help.I will

re: Changing bitmaps on selection/deselection

2007-03-29 Thread Durgesh Trivedi
Just put them 1 over the other and hide on the click to each other .i think its th best way to do that -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

re: Changing bitmaps on selection/deselection

2007-03-29 Thread Bismi
If instead of push button you can put graphic button then you can make direct settings in your resource file as per your requirements. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

re: FTP of bitmaps

2007-01-30 Thread Alexander R. Pruss
Look at NVBackup source code, specifically ftp.c. www.sf.net/projects/handypalmstuff You can use all the code from there you want as it's under a BSD license. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

FTP of bitmaps

2007-01-23 Thread Darin Horton
I have downloaded the signature++ sample program that I found on the palm site. We have an existing application written that downloads text information from the palm to a windows server via FTP (this FTP program was also downloaded from a sample found on the palm site). We need to use FTP because

Re: High res Bitmaps

2006-10-03 Thread Roger Stringer
IMHO - Use Constructor. While the Codewarrior default is pilRC, it fully supports Constructor, and that has a better GUI Roger (sorry Aaron!) At 04:15 AM 10/3/2006, you wrote: Subject: Re: High res Bitmaps From: Aaron Ardiri [EMAIL PROTECTED] Date: Mon, 2 Oct 2006 13:38:25 +0200 X-Message

Re: High res Bitmaps

2006-10-02 Thread Aaron Ardiri
On 10/1/06, Flavio Renga [EMAIL PROTECTED] wrote: Does anyone know how to insert high res (deep color) bitmaps in an application? I'm using Falch.net Developer Studio, but only BITMAPCOLOR seems to work: BITMAPCOLOR16K, BITMAPCOLOR24K and BITMAPCOLOR32K doesn't display anything on Falch.net

Re: High res Bitmaps

2006-10-02 Thread Flavio Renga
Thanks! So you suggest me to use PilRC? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: High res Bitmaps

2006-10-02 Thread Flavio Renga
Or is better to use Constructor for Palm OS? Have I to modify the system DEPTH, or only the bitmap DEPTH? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: High res Bitmaps

2006-10-02 Thread Aaron Ardiri
On 10/2/06, Flavio Renga [EMAIL PROTECTED] wrote: Or is better to use Constructor for Palm OS? Have I to modify the system DEPTH, or only the bitmap DEPTH? use PilRC codewarrior R9 does not use constructor anymore; it actually used PilRC to generate the resources. you can edit .rcp files

High res Bitmaps

2006-10-01 Thread Flavio Renga
Does anyone know how to insert high res (deep color) bitmaps in an application? I'm using Falch.net Developer Studio, but only BITMAPCOLOR seems to work: BITMAPCOLOR16K, BITMAPCOLOR24K and BITMAPCOLOR32K doesn't display anything on Falch.net virtual device. Thanks all! Flavio

Re: Bitmaps in Resuorce???

2006-07-23 Thread kaineu
thanks for the help. it worked. I tried using WinCreateBitmapWindow instead of WinCreateOffscreenWindow and it worked. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Bitmaps in Resuorce???

2006-07-20 Thread kaineu
I'm trying to retrieve the data of Bitmap files in the Resource. how do I do that?? I'm not sure what to use. I was able to get the pointer to the BitmapType using DmGetResource, but after that I don't know how to access the bytes of the image. What do I need to do? I need the data of the

Re: Bitmaps in Resuorce???

2006-07-20 Thread Neil Whitworth
[EMAIL PROTECTED] wrote: I'm trying to retrieve the data of Bitmap files in the Resource. how do I do that?? I'm not sure what to use. I was able to get the pointer to the BitmapType using DmGetResource, but after that I don't know how to access the bytes of the image. What do I need to do? I

Storing bitmaps for game background efficiently

2006-06-21 Thread Tam Hanna
think that that is too big? Is there any way to save space efficiently? Does PODS compress the bitmaps well, or can the Palm OS 5 do better? I already thought of a few methods, but each of those would be extremely heavy(like zipping up the little blocks with Zlib) Best regards and thanks

Re: Storing bitmaps for game background efficiently

2006-06-21 Thread Aaron Ardiri
think that a 2 MB game is still ok, or do you think that that is too big? yes. it is way too big - unless the game itself is also big. artwork can be easily reduced in size. the code is the only true thing that can be problem some to compress. for bitmaps - you can try using a palette based format

Using Form Bitmaps

2006-05-09 Thread Jay Ts
I have a form to which I've tried to add a form bitmap, with the intent that it is supposed to appear as a background, with other things, including labels, fields, and buttons (with bitmaps) appearing in front of it. But what happens is that all of those end up hidden, with the form bitmap

Re: Using Form Bitmaps

2006-05-09 Thread Douglas Handy
Jay Ts, I am using the PODS Resource Editor, and there doesn't seem to be any way using it to specify layering of the visual appearance (order of drawing) of things in the form when it first appears (as a result of a FrmDrawForm() call). And I could find nothing having to do with that in the

Re: Using Form Bitmaps

2006-05-09 Thread Michal Seliga
AFAIK all versions draw in same order - and its order in which controls are stored in form structure. soif you have 2 controls on same place later definition will be drawn later so it will overlap previous one but its not enough. i played with it some time ago and i had problems with fields, they

Re: Using Form Bitmaps

2006-05-09 Thread Jay Ts
Michal Seliga wrote: AFAIK all versions draw in same order - and its order in which controls are stored in form structure. soif you have 2 controls on same place later definition will be drawn later so it will overlap previous one OK, maybe if I rearrange the order of the definitions in the

Re: Using Form Bitmaps

2006-05-09 Thread Regis St-Gelais
Michal Seliga [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] AFAIK all versions draw in same order - and its order in which controls are stored in form structure. soif you have 2 controls on same place later definition will be drawn later so it will overlap previous one

Re: Using Form Bitmaps

2006-05-09 Thread Jay Ts
Regis St-Gelais wrote: Michal Seliga a ?crit dans le message de news: AFAIK all versions draw in same order - and its order in which controls are stored in form structure. soif you have 2 controls on same place later definition will be drawn later so it will overlap previous one Not

Re: Using Form Bitmaps

2006-05-09 Thread Douglas Handy
Jay Ts, Hopefully, the backwards-drawing versions will all be prior to Palm OS 4, because there are no devices from that historical time period I feel I need to support. My recollection was that it was OS5 when it switched, not OS4. And that originally the objects drew in object index order

bitmaps supporting 160x160 and 320x320 displays

2006-03-24 Thread L
I imported a bitmap of 320x320 that had 24-bit colors, to an 16-bit RGB 1X 160x160, is there a way not to lose so much resolution when scaling the bitmap downto 160x160 1X? What is the best ways to achieve high resolution and similar colors? Are all 16-bit RGB files supported by any 160x160

Re: bitmaps supporting 160x160 and 320x320 displays

2006-03-24 Thread Ben Combee
Look at bitmap families -- this is a way to have multiple resolution vesions of a bitmap within a single resource. They're supported by the RSRC, RCP, and XRD formats. On 3/24/06, L [EMAIL PROTECTED] wrote: I imported a bitmap of 320x320 that had 24-bit colors, to an 16-bit RGB 1X 160x160, is

re: 1-bit bitmaps and backgrounds

2006-02-27 Thread Thomas Okken
This is documented behavior; read the entries on WinDrawBitmap() and WinDrawOperation in the PalmOS Programmer's API reference. The easiest solution is to write a little convenience function, like this -- void DrawMonoBitmap(BitmapType *bm, Coord x, Coord y) { RGBColorType savedBG, savedFG);

Re: 1-bit bitmaps and backgrounds

2006-02-27 Thread Thomas L . Christensen
On Mon, 27 Feb 2006 11:10:22 -, Thomas Okken [EMAIL PROTECTED] wrote: This is documented behavior; read the entries on WinDrawBitmap() and WinDrawOperation in the PalmOS Programmer's API reference. Thanks for the hint. I must say I don't understand the point in doing so. Well, there are so

Re: 1-bit bitmaps and backgrounds

2006-02-27 Thread Jerome Chapdelaine
Hi! 1-bit bitmaps are not black and white... they are foreground and background colors. Here's a quote from the WinSetDrawMode() / WinDrawModes enumeration taken from PalmOS Reference: -- 1-bit sources (bitmap, text, and patterns) that don’t have a color table are given a color table where

1-bit bitmaps and backgrounds

2006-02-26 Thread Thomas L . Christensen
as background in the 1-bit bitmap! Setting or removing transparency in the 1-bit bitmap (using RsrcEdit or PRCEdit) doesn't change anything. http:/hjem.get2net.dk/lindblad/temp/test.gif Is this documented behavior? Should 1-bit bitmaps inherit the background color set by WinSetBackColor? I have fixed

Re: Drawing bitmaps with DIA

2006-01-12 Thread Aaron Ardiri
[cross posted] on PEF, better to have answer here: On 1/12/06, Shimon Shnitzer [EMAIL PROTECTED] wrote: I have a bitmap (160x160) I use as a background for my app. Now with DIA my screen opens to 160x240 or 240x160, and I need to to fill the screen with a bitmap. I found if I use a 240x240

Re: Bitmaps and painting

2005-12-29 Thread krzysztof . malinski
Hi! I just need to paint something from a table to a screen and i think that a bitmap is the best way. What do you think about it ? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Re: Bitmaps and painting

2005-12-29 Thread
Hola, gracias por escribirme, te contestaré a la mayor brevedad !!! Jose -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Bitmaps and painting

2005-12-28 Thread krzysztof . malinski
Hi All! I have created some bitmaps and i don't know how can i paint into it. I want to create some animation based on generated bitmaps. Can any one help me with this? /Kind regards -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http

Re: Bitmaps and painting

2005-12-28 Thread Logan Shaw
[EMAIL PROTECTED] wrote: I have created some bitmaps and i don't know how can i paint into it. I want to create some animation based on generated bitmaps. Can any one help me with this? The easiest way to draw into a bitmap is to call WinCreateBitmapWindow(). That will give you a WinHandle

Stretch / squeeze bitmaps?

2005-09-13 Thread Paul Reger
Hi, Is there a way to stretch or squeeze a bitmap with 'good' quality results? On Microsoft, there is something called StretchBLT() that I believe supports this. I believe I need a 3,5,7 Tap Filter. Does anyone know where I can get one of these? THanks,

  1   2   3   4   5   6   7   >