Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with gray background in SmartForms

Former Member
0 Likes
6,454

Hi all

I have uploaded a logo via SE78. The logo have white background both in windows and in the print preview in SAP (SE78). When I insert the logo in my SmartForm the background gets gray, not white. I have tried just to upload a picture that is only white, but I get the same problem here. It is white in the print preview in SAP SE78, but in SmartForms it gets gray background. If I upload it as a black and white picture it gets white background, but I need it to be a colored logo.

Any one got input on this issue?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,778

Hii Johan ,

The problem is the sap conversion,

it converts every image imported into the system to

<b>256 colors</b>, converting white (RGB 255.255.255 to 252.240.240 )

so using <b>Microsoft Photo Editor</b>,

make the white font transparent and

then save it as bmp (discharging the transparent converts it to true white)

define the graphic in color or black/white. You could define also the dpi .

also check it by taking print in other printers ..it could as well be drivers problem .

Reward points if helpful

Revert back for more help

Regards

Naresh

7 REPLIES 7
Read only

Former Member
0 Likes
3,778

Hi Johan,

Try to take a printout of your smartform and check whether it is in white or gray.

Sometimes your screen shows gray, but in printout it will be fine.

Thanks,

Ramya

Read only

0 Likes
3,778

Hi Ramya,

Thank you for the reply but I've tried that. Is gray...

Read only

0 Likes
3,778

Hi Johan,

Could you check 'Shading' under 'Output options' for the your window and your picutre object in smartfroms.

It is 0%, then you will get same color as you have uploaded.

And also check, whether you have maintained the options 'colored grid screen(BCOL)' under 'General objects' of the picture object in smartfroms.

regards,

ram

Read only

0 Likes
3,778

Hi,

Thanks I've tried that but it doesnt help. Where do I find General objects? Do you mean general attributes?

BR Johan

Read only

0 Likes
3,778

it some times depends upon the printer drivers also

tried with the other hpcolor printer then u may be got the printout perfectly that means <b>sometimes the drivers of the printer will crash with the program</b>so its better u try this one in the another printer

if u have this problem futher let me know

Read only

Former Member
0 Likes
3,779

Hii Johan ,

The problem is the sap conversion,

it converts every image imported into the system to

<b>256 colors</b>, converting white (RGB 255.255.255 to 252.240.240 )

so using <b>Microsoft Photo Editor</b>,

make the white font transparent and

then save it as bmp (discharging the transparent converts it to true white)

define the graphic in color or black/white. You could define also the dpi .

also check it by taking print in other printers ..it could as well be drivers problem .

Reward points if helpful

Revert back for more help

Regards

Naresh

Read only

0 Likes
3,778

Hi!

Points rewarded. The picture was saved in 24bits bmp, and SAP can as far as I know only read 256 colors therefore the gray background.