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
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
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
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
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
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
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()
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),
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);
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
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
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
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
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
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/
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
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
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
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
, 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
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
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
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
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
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
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/
Stefan Stolz
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
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/
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
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
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
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/
[ 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
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
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
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/
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
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
38 matches
Mail list logo