Search found 10 matches

by MeMyselfAndI
Sun May 18, 2003 6:30 pm
Forum: Feature Requests and Wishlists
Topic: TreeGadget Flags
Replies: 10
Views: 3447

Hmm, TreeGadget is a "Windows only" Gadget. It's not supported on any other Platform at all.
...

Timo

But this is a PureBasic related shortcoming not OS related.
On my LINUX box I can have Treeviews all over the place 8O

QUESTION:
Is PureBasic moving from a all purpose language to a Gamer ...
by MeMyselfAndI
Sat May 03, 2003 5:48 pm
Forum: Coding Questions
Topic: [img]Converting JPG to BMP fails with some JPG.[/img]
Replies: 8
Views: 5937

Fred wrote:I will take look on the JPEG decoder options..
Sounds good enough :wink:

Would be great if the user could change the output quality.
by MeMyselfAndI
Wed Apr 30, 2003 3:06 am
Forum: Coding Questions
Topic: How to change the jpeg compression quality :?:
Replies: 3
Views: 1718

Thanks to both of you.
Is there anywhere a ready to go header file for PureBasic and the INTEL JPG LIBRARY :?:
But maybe I can't load/save the Image with this library and use PureBasic commands to manipulate the Image before saving... :?
by MeMyselfAndI
Tue Apr 29, 2003 8:37 pm
Forum: Game Programming
Topic: Check Point Racing 3D game
Replies: 5
Views: 3872

Works perfectly here ! Amazing how your engine is growing well...

@Fred, maybe Pedro should join the 'PureBasicTeam::Code', this way PureBasic could have a nice and small 3D-Engine 8)

@Pedro, have you planned to add some commands like 3D-Lines, 3D-SpLines, 3D-Circles etc?
This way your neat 3D ...
by MeMyselfAndI
Tue Apr 29, 2003 8:26 pm
Forum: Coding Questions
Topic: How to change the jpeg compression quality :?:
Replies: 3
Views: 1718

How to change the jpeg compression quality :?:

I'm using the JPEG plugin stuff of purebasic but it seems that the quality of displayed and saved JPEG images is not as good as Irfanview or when I'm using the INTEL JPEG LIBRARY with another programming language.

Is there a way to increase the jpeg compression quality :?:

If not, PureBasic is ...
by MeMyselfAndI
Tue Apr 29, 2003 4:09 pm
Forum: Coding Questions
Topic: SaveSprite(#Sprite, Filename$ , #PB_ImagePlugin_JPEG)
Replies: 3
Views: 1641

Fred wrote:Where is the UseJPEGImageEncoder() ? :)
Ups, my fault. Sorry Fred. :oops:
Found the UseJPEGImageDecoder() but not the UseJPEGImageEncoder().

Now it works fine, thanks.
Feel free to move this topic to the "Dumb User Code" Section. :wink:
by MeMyselfAndI
Tue Apr 29, 2003 3:59 pm
Forum: Tricks 'n' Tips
Topic: Display JPG Picture
Replies: 7
Views: 4820

Thanks Fred this works fine:


InitSprite()
UseJPEGImageDecoder()

OpenWindow(1,0,0,0,0,#PB_Window_SystemMenu,"Display JPEG Image")

LoadImage(1,"adams600.jpg")

ResizeWindow(ImageWidth(), ImageHeight())

OpenWindowedScreen( WindowID(),0,0,ImageWidth() ,ImageHeight() ,1,0,0)

FreeImage(1 ...
by MeMyselfAndI
Tue Apr 29, 2003 5:53 am
Forum: Coding Questions
Topic: SaveSprite(#Sprite, Filename$ , #PB_ImagePlugin_JPEG)
Replies: 3
Views: 1641

Maybe its a good idea to post some test code...

#OrgSprite = 1
#IntermediateSprite = 2
#NewSprite = 3

InitSprite()
UseJPEGImageDecoder()
OpenWindow(1,0,0,640,480,#PB_Window_SystemMenu,"ImageConverter")
OpenWindowedScreen( WindowID(),0,0,2726,2282,1,0,0)

; size of Hpim0212.jpg = 2272x1712 ...
by MeMyselfAndI
Tue Apr 29, 2003 5:43 am
Forum: Coding Questions
Topic: SaveSprite(#Sprite, Filename$ , #PB_ImagePlugin_JPEG)
Replies: 3
Views: 1641

SaveSprite(#Sprite, Filename$ , #PB_ImagePlugin_JPEG)

I have a jpeg file from a digital camera and 24bpp.
After loading and manipulating it , it should be saved as file.
SaveSprite as BMP with #PB_ImagePlugin_BMP works fine, but as JPEG fails...

But 18MB instead of 2MB is way too big!
by MeMyselfAndI
Tue Apr 29, 2003 5:18 am
Forum: Tricks 'n' Tips
Topic: Display JPG Picture
Replies: 7
Views: 4820

you could use this code too:

InitSprite()
UseJPEGImageDecoder()
OpenWindow(1,0,0,640,480,#PB_Window_SystemMenu,"Display JPEG Image")
OpenWindowedScreen( WindowID(),0,0,2272,1712,1,0,0)

ResultLoadSprite = LoadSprite(1, "Hpim0212.jpg" , #PB_Sprite_Memory)

DisplaySprite(1, 0, 0)

Repeat
Event ...