Hollywood 1.9, 8bit-screen and dithering

Discuss any general programming issues here
evil
Posts: 185
Joined: Mon Jun 14, 2010 1:38 pm

Hollywood 1.9, 8bit-screen and dithering

Post by evil »

Hello!
I am writing a small tool with hollywood 1.9 (for that it will run on classics without gfx-board).
Screenmode of WB is 640x256x8
The backdropimage of the hollywood program is 640x256x5
As there are 256 colors available (if i run on wb or on own screen), why does hollywood dither the picture so ugly?

Greets

George
tolkien
Posts: 195
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

Re: Hollywood 1.9, 8bit-screen and dithering

Post by tolkien »

Hollywood 1.9! You are a survivor!
evil
Posts: 185
Joined: Mon Jun 14, 2010 1:38 pm

Re: Hollywood 1.9, 8bit-screen and dithering

Post by evil »

Well, if I want to code a program for use without gfx-card, I have to use that version.

Any solutions for my problem out there??

Best regards

George
tolkien
Posts: 195
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

Re: Hollywood 1.9, 8bit-screen and dithering

Post by tolkien »

Perhaps WB have assigned its colors and are different to your picture cos the palettes are not equal. Can you open it in its own screen?
User avatar
airsoftsoftwair
Posts: 5887
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hollywood 1.9, 8bit-screen and dithering

Post by airsoftsoftwair »

If the picture gets dithered, then not enough colours are available on the screen. Do you have a fancy background picture on your Workbench that prevents Hollywood from getting more pens?
evil
Posts: 185
Joined: Mon Jun 14, 2010 1:38 pm

Re: Hollywood 1.9, 8bit-screen and dithering

Post by evil »

Hello
The backdrop picture in my app is the same, which is used as wb-backdrop. It has a depth of 5.
When I open the display on its own screen (256 colors) the picture gets dithered, too.

regards

George
User avatar
airsoftsoftwair
Posts: 5887
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hollywood 1.9, 8bit-screen and dithering

Post by airsoftsoftwair »

Hmm, can you post a screenshot of the original picture and how it looks in Hollywood 1.9?
evil
Posts: 185
Joined: Mon Jun 14, 2010 1:38 pm

Re: Hollywood 1.9, 8bit-screen and dithering

Post by evil »

Hello!

So Here is a snapshot of the program-screen. It is a 256-color-screen.
the Boxes at the bottom and the text inside was done after loading and displaying the backdroppicture.
http://www.image-load.net/show/img/pdBeZkE3Qf.gif
And here the original picture. It has 32 colors.
http://www.image-load.net/show/img/jBxQI6FwHt.gif

Regards

George
User avatar
airsoftsoftwair
Posts: 5887
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hollywood 1.9, 8bit-screen and dithering

Post by airsoftsoftwair »

Does your script load some other image files using @BRUSH, @ANIM, @BGPIC, etc.? They could block some pens. Or does it also occur with a minimal script like this:

Code: Select all

; Hollywood 1.0 syntax
%BGPIC(1) = "test.gif"
WaitLeftMouse
evil
Posts: 185
Joined: Mon Jun 14, 2010 1:38 pm

Re: Hollywood 1.9, 8bit-screen and dithering

Post by evil »

Hi!
When using the preloadcommand (%BGPic) it works correctly.
But I wanted to use LoadBGPic, to load the backdrops, because I need different bgpics at start (themes).
Any solution for this?

Regards

George
Post Reply