grokimage_org 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +4 -0
- data/lib/grokimage_org.rb +8 -0
- metadata +51 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 4d20ce19683787c46df6b9680101626ed7391ab3ae87a93baa65086baf0d3c68
|
|
4
|
+
data.tar.gz: a82b474004e431da1f90f5beba5e9f37664bd2d078d058609c7af89fd952a8f4
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 50ebcc4930cf7ede92d9a47c87f94bb9aa3ca1616382f25e003f2c3ca41f4afdf2f023f91f3f7238ad50406500ebdd07e24f09566fd5a758d9a938c444d040be
|
|
7
|
+
data.tar.gz: a4fe1c3279c86da50f52bb8b890d316d52da656a6975a0c31dad2c998e7cfa53d3c6550e6edd95cadebd24d789b7c392e84e04f9224c6abab42f69beec96ed47
|
data/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
module GrokimageOrg
|
|
3
|
+
URL = "https://grokimage.org/"
|
|
4
|
+
UPSCALER_URL = "https://grokimage.org/ai-upscaler-for-print"
|
|
5
|
+
def self.pixels_for_print(inches_w, inches_h, dpi = 300)
|
|
6
|
+
[(inches_w * dpi).ceil, (inches_h * dpi).ceil]
|
|
7
|
+
end
|
|
8
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: grokimage_org
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Tengda Studio
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-12-06 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: Lightweight Ruby 300 DPI print-size pixel calculator for GrokImage (https://grokimage.org/)
|
|
14
|
+
and AI Upscaler for Print (https://grokimage.org/ai-upscaler-for-print). Pay-as-you-go
|
|
15
|
+
never-expiring credit packs, no forced subscription, auto-refund on failed jobs,
|
|
16
|
+
SFW compliant.
|
|
17
|
+
email:
|
|
18
|
+
- submit@nene.video
|
|
19
|
+
executables: []
|
|
20
|
+
extensions: []
|
|
21
|
+
extra_rdoc_files: []
|
|
22
|
+
files:
|
|
23
|
+
- README.md
|
|
24
|
+
- lib/grokimage_org.rb
|
|
25
|
+
homepage: https://grokimage.org/
|
|
26
|
+
licenses:
|
|
27
|
+
- MIT
|
|
28
|
+
metadata:
|
|
29
|
+
homepage_uri: https://grokimage.org/
|
|
30
|
+
documentation_uri: https://grokimage.org/ai-upscaler-for-print
|
|
31
|
+
source_code_uri: https://grokimage.org/
|
|
32
|
+
post_install_message:
|
|
33
|
+
rdoc_options: []
|
|
34
|
+
require_paths:
|
|
35
|
+
- lib
|
|
36
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: 2.6.0
|
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
42
|
+
requirements:
|
|
43
|
+
- - ">="
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '0'
|
|
46
|
+
requirements: []
|
|
47
|
+
rubygems_version: 3.0.3.1
|
|
48
|
+
signing_key:
|
|
49
|
+
specification_version: 4
|
|
50
|
+
summary: 300 DPI print dimension and upscale calculator for GrokImage (grokimage.org)
|
|
51
|
+
test_files: []
|