Picture

  • Thread starter Thread starter Bernadette Belletti
  • Start date Start date
B

Bernadette Belletti

I have scanned a picture in photo shop and removed the
background so just the image shows. This is fine but
when I bring the image into a report design, the
background reappears, as a white colour. Is there any
way to prevent this?

Thanks in advance
 
I have scanned a picture in photo shop and removed the
background so just the image shows. This is fine but
when I bring the image into a report design, the
background reappears, as a white colour. Is there any
way to prevent this?

Thanks in advance

Eh?

The background of an Access report (with or without pictures) IS
white.

What do you want in the background? Some other color? That's a
background!

John W. Vinson[MVP]
 
Bernadette said:
I have scanned a picture in photo shop and removed the
background so just the image shows. This is fine but
when I bring the image into a report design, the
background reappears, as a white colour. Is there any
way to prevent this?

Thanks in advance

You need to make that background in every layer in use "transparent"

Sorry. This is a newsgroup dedicated to questions about Access, the
database program in Office Professional. It appears your question may not
be related to these subjects. The Microsoft help system is not all that
clear and may have misdirected you here.

It is best to ask your questions in a newsgroup dedicated to the
subject of your question. You should find people better able to address
your problem there.

Note: It is always best to indicate the name and version of any
program(s) you may be using when asking a question and also indicate the
operating system (like Windows XP or 98) when you ask a question.
 
Hi Bernadette,

Great question. If I understand the question correctly, this is indeed the
correct place to look for answers. (I'm not sure others understood the
question.)

There is no straight forward way to get an image with a transparent
background onto an an Access report or form. But I did find a solution on
the "Utter Access" Website. It may be what you're looking for as well. Here
is the link...

http://www.utteraccess.com/forums/s...e=m&olderval=&oldertype=#Post274196&bodyprev=
 
See:
http://www.lebans.com/transparent.htm
Transparent.zip is a database containing functions to allow for the
conversion of Bitmap, Gif, Jpeg, Enhanced Metafile and Metafile to an
Enhanced Metafile format supporting Transparent backgrounds.
Bug in A2K under Win98 or NT.

The issue is with Access and how it it is rendering the metafile. As
someone mentioned you can load the converted files that do not display
properly in Access, into other Office apps where they display fine.

If you look closely you will see that Access is grabbing the current
display memory as background for the Image control before it paints the
metafile. That's what you are seeing as background noise in the
converted Transparent images.
In the versions of Access and Win OS's where the Images display
normally, the current display memory of the Form is masked out as the
Metafile is rendered. This is how I am able to achieve transparency with
Access.
For some internal Access issue, A2K is not masking the background
properly on Win98 and NT. It works fine on Win2K.

Preliminary experimentation shows that a plain old Metafile, not the
Enhanced Metafiles I am using now, seems to work on all versions of
Windows with all version of Access. I will test further and release a
new version.
In the meantime here is a quick fix.

1) Load and convert the desired Image using my Transparent functions.
Save the converted Image to disk as you would normally. DO not worry
that the background contains "garbage".
2) Open Microsoft WOrd. Menu-_Insert->Picture->From File
Browse to your converted Image you previously saved and select it.
3) After the Image appears on the page Click once on the Image to select
it.
4) Right click and select Copy from the Popup menu or click on the
ToolBar to select COPY
5) Open an Access Form and Select Paste from the Menu or ToolBar. The
Image is pasted as an unbound OLE frame.
6) On the Access Form-Format menu select Change To->Image control.
7) Change the new converted Image control's Back Style Prop to
Transparent.

You're done!
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top