DCL "slide_image" restricted to 256 colors

DCL "slide_image" restricted to 256 colors

Anonymous
Not applicable
419 Views
2 Replies
Message 1 of 3

DCL "slide_image" restricted to 256 colors

Anonymous
Not applicable

Hello all.

 

I am creating a simple program/dialog box that contains our company's corporate colors.  When coloring a drawing, it will allow the user to select a certain dicipline and it will alter the entity color as per company protocol. Corporate colors are RGB and used throughout various different software such as Indesign, Photoshop etc.

 

The problem is that DCL seems to only allow index color to be shown. Certainly that's the case with "fill_image". No worries I thought to myself, I'll just create slide images of the RGB colors and use them instead. Imagine my disapointment when I loaded a slide image of an RGB color only to find that it too is displayed as an index color.

 

Is there any way to display RGB colors in DCL?

 

Thanks,

 

 

Dave.

 

0 Likes
420 Views
2 Replies
Replies (2)
Message 2 of 3

scot-65
Advisor
Advisor
Because of the age of the DCL language, and that it did not get updated like the LSP language (VL-*), I do not think it is possible. What I would suggest is to approximate the color and provide text next to or below the tile.
Possibly look into "Open DCL". I am not an advocate of this third-party software because a module will have to be installed on every workstation in order to view; where installation might be against corporate/company policy.

???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes
Message 3 of 3

Anonymous
Not applicable

Thanks Scot.

 

I'm creating a palette instead. They accept RGB colors. But yeah, DCL hasn't been updated for aeons.

0 Likes