How to import bitmap in Godot 3.0?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mateusak
:warning: Old Version Published before Godot 3 was released.

I’m trying to setup a TextureButton’s click mask but Godot won’t accept the PBM I made using Photoshop, and I don’t see any buttons that allow me to convert a PNG to PBM within Godot, so I’m lost.

:bust_in_silhouette: Reply From: mateusak

I was able to solve it partially:

  1. Make a PNG with Photoshop where clickable is white and not clickable is transparent
  2. Go to Online Utility and convert PNG into PBM

The only problem with this is that Godot outputs errors because “it’s not a resource”. It does still work, though.