Page 1 of 2

white box around imported image

Posted: Mon Mar 20, 2006 2:21 pm
by Avalanche941
When I import a PNG image in MOHO, there is a large rectangular white box around it! I have made the background transparent, and in "windows picture and fax viewer", the background is transparent! Yet when I import it into Moho, there is still a large white box!

Posted: Mon Mar 20, 2006 2:48 pm
by Víctor Paredes
first, never trust in windows.
second, try to give the transparency to the image with another software.*
or third, try to give the transparency again with the same software.




*recommended

Posted: Mon Mar 20, 2006 3:22 pm
by Avalanche941
What other software could I use? I used "Irfanview" to make it transparent. Thanks for the help!

Posted: Mon Mar 20, 2006 3:24 pm
by myles
Any chance you could upload a sample PNG somewhere that exhibits the problem?

Regards, Myles.

Posted: Mon Mar 20, 2006 3:42 pm
by Avalanche941

Posted: Mon Mar 20, 2006 3:42 pm
by Avalanche941
Im not sure how to upload a picture...

Posted: Mon Mar 20, 2006 4:01 pm
by myles
You'll need to upload it to a web site.

If you don't have your own site, you can use a free service such as http://imageshack.us/

Regards, Myles.

Posted: Mon Mar 20, 2006 4:20 pm
by Avalanche941
Image[/img]

Posted: Mon Mar 20, 2006 4:38 pm
by Rasheed
That image isn't transparent. Transparency wasn't even turned on in the PNG.

Here is your image with transparency:

Image

Posted: Mon Mar 20, 2006 4:48 pm
by Avalanche941
Thanks for all your help, but I have some questions.
1) How did you find if the image had transparacy turned on or off?
2) What program did you use to make transparacy?

Again, thanks for all the help.

Posted: Mon Mar 20, 2006 6:16 pm
by Víctor Paredes
i use corel photopaint 11. wich is very similar to photoshop and wich comes inside corel draw.

there you have two option of transparency: using a mask or selecting a color.

but must be freeware that make the same thing, i don't know wich, but you can ask in "other software" section.

Posted: Mon Mar 20, 2006 6:17 pm
by Víctor Paredes
selgin wrote:but you can ask in "other software" section.
or maybe rasheed could help you. he always does.

Posted: Tue Mar 21, 2006 1:52 am
by Rasheed
I use The Gimp, an open source program (and freeware) for Linux, Mac OS X and Windows. If you're looking for a Windows installer, see here.

In The Gimp, I used the Layer menu and saw that "Add Transparency" was not greyed out, which means the image didn't have an alpha channel. After I added transparency to the layer, I selected all white pixels ("select regions by color" tool) and cleared the selected region. And presto, a transparent background.

If you have Photoshop on your system, you can do the same in a somewhat different way (I guess, I don't have Photoshop on my system).

Posted: Tue Mar 21, 2006 3:57 am
by jahnocli
Photoshop export of PNG files with transparent effects is very easy. All you need to do is "export for web", and make sure that you have chosen 24bit PNG with transparency.

Posted: Tue Mar 21, 2006 3:04 pm
by Avalanche941
I tried installing Gimp, but it froze on the clock thing when it got to "fonts"....
Edit:it worked after a few tries! :D
Thanks everybody!