Skip to content

Instantly share code, notes, and snippets.

View DevFatani's full-sized avatar
🎯
Focusing

Muhammad Taning DevFatani

🎯
Focusing
View GitHub Profile
@DevFatani
DevFatani / RMagickHelper.rb
Created January 12, 2020 02:53
Ruby RMagick
require 'RMagick'
def export_gif()
newGif = Magick::ImageList.new("images/ass.png", "images/ss.png", "images/gr.jpg", "images/image512.png")
newGif.write("animated.gif")
end
def read_image_properties()
img = Magick::Image.read("images/ss.png").first
import android.app.Activity
import android.content.Context
import android.util.TypedValue
import android.view.ViewGroup
import android.widget.FrameLayout
import android.widget.LinearLayout
import android.widget.RelativeLayout
import android.util.DisplayMetrics
object Dimension {