Re: pnoJpegLib Encoding Problem

2006-03-02 Thread Stefan Stolz
Hi Mike, which Version of the Lib are you using? How much Dynamic Heap do you have? A gray part in an image is often caused by low memory. Stefan mike wrote: i'm encoding a 1024x768 bmp to a jpeg using pnojpeglib. i'm encoding it in a memhandle then writing it in a vfs (as suggested by one

Re: Is pnoJpegLib only for ARM?

2005-11-27 Thread Stefan Stolz
the old jpegLib. In my App i'll check if it is a PalmOS 5 Device and look for the pnoJpegLib. If it is there i'll use it. If not i fall back to the jpegLib. So the Programm can still work even if the pnoJpegLib will be deleted by the user. Best regards Stefan Stolz -- For information on using

Re: pnoJpegLib conversion: 16bpp or grayscale only??

2005-11-21 Thread Stefan Stolz
Hi Erico, currently the pnoJpegLib doesn't offer this. Grayscale-Jpegs are returnd with a depth of 4bit and color with 16bit. Modifying the lib isn't a good Idea because your app loose the compartibilty with the official one. (Of course you can create your own version based on the

Re: Drawing BitMap from Jpeg

2005-11-08 Thread Stefan Stolz
Doug Gordon wrote: I have not done much direct work with bitmaps and drawing in general, so pardon me if this is a basic question. I will be using pnoJpegLib to extract some JPEGs that were compressed on the PC and synced within a database. I have figured this out as far as extracting them out

ANN: pnoJpegLib - new version

2005-11-02 Thread Stefan Stolz
Hi, i've released an new version of the pnoJpegLib. The Problems with pnoJpeg2GetInfo are fixed now. Also, some Memory-Leaks which could happen if decoding fails are fixed. http://www.bin-people.de/pnoJpegLib/ Bye Stefan -- For information on using the PalmSource Developer Forums, or to

Re: pnoJpeg2GetInfo fatal alert

2005-10-19 Thread Stefan Stolz
hi! I think/hope i've found the error. The prc-File which was in the zip-file was corrupt. I've uploaded a 2.11-zip-file with a new prc-file. Maybe this works. Stefan Anning Chen wrote: I'm also getting an error where if I call the pnoJpeg2GetInfo function the simulator just crashes

Re: Stretch / squeeze bitmaps?

2005-09-13 Thread Stefan Stolz
The pnoJpegLib contains two functions that can do this. A Resize-Function which is fast and a Resample-Function which has a better quality Paul Reger wrote: Hi, Is there a way to stretch or squeeze a bitmap with 'good' quality results? On Microsoft, there is something called StretchBLT()

Re: pnoJpegLib on Sony Clie

2005-09-08 Thread Stefan Stolz
It create's a BitmapTypeV3 Bitmap and set's the double-Density-Flag in it. That's the Code: Err pnoJpeg2Bmp2DoubleDensity(UInt16 refNum, BitmapPtr inBmp, BitmapPtrV3 *outBmp) { #pragma unused(refNum) BitmapPtrV3 bmp3; bmp3 = BmpCreateBitmapV3(inBmp, kDensityDouble, BmpGetBits(inBmp),

Re: pnoJpegLib on Sony Clie

2005-09-08 Thread Stefan Stolz
It create's a BitmapTypeV3 Bitmap and set's the double-Density-Flag in it. That's the Code: Err pnoJpeg2Bmp2DoubleDensity(UInt16 refNum, BitmapPtr inBmp, BitmapPtrV3 *outBmp) { #pragma unused(refNum) BitmapPtrV3 bmp3; bmp3 = BmpCreateBitmapV3(inBmp, kDensityDouble, BmpGetBits(inBmp), NULL);

Re: pnoJpegLib on Sony Clie

2005-09-06 Thread Stefan Stolz
Hi John, the lib should work on the Clie Devices (i use it myself on a UX50 and a TG50). When do you change the color depth. When you start the Application or when it runs? Maybe you only have to repaint the Image? Stefan John Voltz wrote: Has anyone used the pnoJpegLib on a Sony Clie? I

Re: Render jpegs in native coords

2005-07-16 Thread Stefan Stolz
you have to convert the bitmap that you get from the jpegLib to a BitmapV3 Bitmap and set the density to the density of your screen. The pnoJpegLib contains a function that do this for you. Stefan Jonathan King wrote: Is there a way to make the pnoJpegLib and jpegLibPalm render bitmaps in a

Re: Squeeze performance out of IJG Jpeg Library.

2005-06-15 Thread Stefan Stolz
Hi Paul, Images with this size should be no Problem with a PalmOS-Device with PalmOS 5.x. The only limiting-factor is the size of the dynamic Heap of the device. The Current Version (2.11) doesn't have the ability to load from a callback-Function, but im implementing it in the next weeks. If you

Re: Squeeze performance out of IJG Jpeg Library.

2005-06-14 Thread Stefan Stolz
Have a look at http://www.bin-people.de/pnoJpegLib/ It's a port of the IJG-Jpeg-Lib and it's able to load jpegs's very fast. What do you mean with large? (Dimensions?) Stefan Paul Reger wrote: Has anyone tried porting the Independent JPEG Group's library to palm? If so, how to get the

Re: jpeg library

2005-05-10 Thread Stefan Stolz
As Andy says, for runnig programms using the pnoJpegLib in the simulator you have to put _both_ dlls into the Simulator-Directory and install the prc. If you want to automaticly load the prc-file you have to create a folder called Autoload in the simulator folder and copy the prc into it. All

palmresize and FrmDoDialig

2005-05-10 Thread Stefan Stolz
problem if i call it with FrmGotoForm or FrmPopupForm. Does anyone know this Problem and have a solution? Best Regards Stefan Stolz -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: palmresize and FrmDoDialig

2005-05-10 Thread Stefan Stolz
Ups, i forgot to attach the code how i call the whole thing: form = FrmInitForm(NotizForm); SetResizePolicy( NotizForm ); FrmSetEventHandler(form, NotizFormHandleEvent); NotizFormInit(form); FrmDrawForm(form); FrmDoDialog(form); FrmDeleteForm(form); Stefan Stefan Stolz wrote: Hi! I'm

Re: Newbie: pnoJpegLib

2005-05-08 Thread Stefan Stolz
Could you please send me the part of your code where you want to load the image? If it is possible it would be helpfull to have the jpeg file. There are some kind of images which causes an internal error in the jpeg-lib. Stefan Andy Bell wrote: Hi All, I am trying to use the pnoJpegLib to

Re: default application database

2005-05-06 Thread Stefan Stolz
Vincent Uy wrote: Hello, Is it possible to create an application (PRC) that contains a default database file (PDB) so that the application need not create the database at runtime? Thanks! - vincent I add the default-Database as Resource to my prc-File and write it with DmCreateDatabaseFromImage

Re: pnoJpegLib: 0-bytes length VFS-file

2005-05-03 Thread Stefan Stolz
Thank you very much for this Info; so i search for the error in the part where i write the data to the vfs-file. Bye and good luck with your Project Stefan Miguel Angel Sotomayor Hernandez wrote: Stefan, I'm encoding the bitmap to a MemHandle and saving it to a VFS File by myself and it's

Re: pnoJpegLib: 0-bytes length VFS-file

2005-05-02 Thread Stefan Stolz
, previewHeight); And the api reference doesn't say it returns a compressed bitmap. What it says is that it returns the image in big-endian format and the image can be returned in little-endian format. But I guess it has nothing to do, does it? Any ideas? Thanks Miguel Stefan Stolz wrote: Ok

Re: pnoJpegLib: 0-bytes length VFS-file

2005-05-01 Thread Stefan Stolz
Hi! Your Code-Part looks ok. Where have you run your Programm? On a real Treo or in the simulator? What are the Dimensions of the Image? How many kB are Free on the Dynamic Heap? This is currently a problem of the Lib. It needs a lot of ram. I'm working on this. Stefan Miguel Angel Sotomayor

Re: pnoJpegLib: 0-bytes length VFS-file

2005-05-01 Thread Stefan Stolz
Ok, a 160x120 should be small enough. Is the bitmap compressed? Unfortunatly i've never though about this, so this could be the failure. stefan Miguel Angel Sotomayor Hernandez wrote: Thanks for your reply! Stefan Stolz wrote: Hi! Your Code-Part looks ok. Where have you run your

pnoJpegLib - Now with encoding

2005-04-27 Thread Stefan Stolz
Hi together, finally i've got the time to complete the pnoJpegLib. Now it's possible to encode 16-Bit Bitmaps into Jpeg-Files. Also, a bug which caused a crash when loading progressive JPEGs is fixed. Best regards Stefan Stolz --- pnoJpegLib: http://www.bin-people.de/pnoJpegLib

Re: Where does the Garnet simulator keep its memory card?

2005-04-25 Thread Stefan Stolz
Dr. Vesselin Bontchev wrote: Hello folks, The Tungsten E simulator from PalmOne uses a subdirectory named Card1 in the directory where it is installed to mirror the contents of its memory card. That is, as soon as you copy something to a directory on the memory card of the simulator, the

Re: Where does the Garnet simulator keep its memory card?

2005-04-25 Thread Stefan Stolz
Ben Combee wrote: It's probably better to put the HostFS.prc in an AutoLoad folder -- that folder contains PRC and PDB files that the sim will automatically load into memory when it starts. This folder, if is doesn't already exist, is created in the Simulator's folder. I have the HostFS.prc

pnoJpegLib - New Release

2005-04-16 Thread Stefan Stolz
with it, to let me know it. Best regards Stefan Stolz -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Time measuring

2005-03-13 Thread Stefan Stolz
Stefan Stolz -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Resizing Tables

2005-02-17 Thread Stefan Stolz
work correctly if i assing a new Height with TblSetBounds. It still draws the old amount of Rows. How do I say that it should draw more Rows? Best regards Stefan Stolz -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Display pics on Palm OS

2005-02-16 Thread Stefan Stolz
For Jpeg have a look at http://www.bin-people.de/pnoJpegLib/ Stefan Fernando Israel wrote: Hi there, I understand that the Palm OS uses it's own bitmap format. Is there any library support to decode standard formats such as jpg, gif, etc. into the Palm OS format so they can be displayed on a

Re: JPGs

2004-12-27 Thread Stefan Stolz
http://www.bin-people.de/pnoJpegLib/ a Lib which uses the power of the ARM-Processor. Palm wrote: Hi everybody, How can I display JPGs in a program? Are there any free decoders out there? Ones hopefully will be understood by a beginner Palm OS programmer such as myself? Thank you all. -- For

Re: Creating Debug version using CodeWarrior

2004-11-10 Thread Stefan Stolz
Hi, I use this in one header-File: #if __ide_target(Debug) #define DEBUG #endif Stefan Peter Easton wrote: Hi, Creating a new CW project creates 2 targets: Debug and Release. How do I add debugging code to the Debug target? Is there a symbol defined (DEBUG?) that I use, or is it a

Re: including a database in the application

2004-10-08 Thread Stefan Stolz
the pdb file? Similarly can you do that with library files also? Roel -- Stefan Stolz AWIN-Software eMail: [EMAIL PROTECTED] WWW: http://www.awin-software.de -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Proper API to change text of a label

2004-07-27 Thread Stefan Stolz
[ 32 ]; ... CtlSetLabel( ( ControlPtr ) FrmGetObjectPtrFromID( form, SessionNumShotsLabel ), string ); -- Luc Le Blanc -- Stefan Stolz AWIN-Software eMail: [EMAIL PROTECTED] WWW: http://www.awin-software.de -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

Re: Displaying JPGs

2004-07-15 Thread Stefan Stolz
http://flippinbits.com/twiki/bin/view/Main/DevelopmentToolsList Have a look at the Libraries-Section Palm wrote: Hi everybody, How would I be able to display JPGs or GIFs within Palm? I'm using CodeWarrior for Palm v8. Thanks. -- Stefan Stolz AWIN-Software eMail: [EMAIL PROTECTED] WWW: http

Re: Starting Simulator without setup screens

2004-06-30 Thread Stefan Stolz
Ben Combee wrote: One you've started the Treo 600 simulator and gotten to the launcher, right click on it and choose Storage/Save... and save a SSF file back out to your current folder. Then quit PalmSim, edit the PalmSim.ini file in a text editor, look for the line that reads

Re: a handle for the active application

2004-06-01 Thread Stefan Stolz
of handle...Could anyone help me? thank you Ricardo -- Stefan Stolz AWIN-Software eMail: [EMAIL PROTECTED] Phone: +49 8333 923502 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Debug a USB Device under Windows XP

2004-05-25 Thread Stefan Stolz
Hello together, I have the problem that I can't debug on a real USB-Device (Tungsten T / Sony UX50) with Codewarrior 9 under Windows XP. I have already copied the Driver into the bin-Dir from CW, but the problem is still there. best regards Stefan Stolz P.S. The Problem only appears under WinXP

Start Application after installation

2004-04-22 Thread Stefan Stolz
Hi, I'm looking for a way to start my Application after the installation without intervention of the user. Is there an Notification, a Launchcode or someting like this? I have looked in the PalmOS Reference but haven't found anything. Best regards Stefan Stolz --- mailto:[EMAIL PROTECTED