
require "mini_magick"

input_path = Rails.root.join("app/assets/images/header-logo-original.png")
output_path = Rails.root.join("app/assets/images/header-logo.png")

image = MiniMagick::Image.open(input_path)
image.format "png"
image.transparent "white"
image.write output_path

puts "Created transparent logo at #{output_path}"
