All Projects → zixiCat → mini-ps

zixiCat / mini-ps

Licence: other
It's a small and lightweight program based on uni-app framework, it can edit and generate posters in multiple aspect.

Programming Languages

Vue
7211 projects
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to mini-ps

book-mdpc
Il cinema tra le righe... di codice!
Stars: ✭ 59 (+103.45%)
Mutual labels:  poster
TeXTemplates
LaTeX/XeLaTeX templates for academic publications: articles, dissertations, posters, and bachelor’s/master’s theses
Stars: ✭ 94 (+224.14%)
Mutual labels:  poster
node-poppler
Asynchronous node.js wrapper for the Poppler PDF rendering library
Stars: ✭ 97 (+234.48%)
Mutual labels:  ps
ImageOnMap
Repo for ImageOnMap, a bukkit plugin created to display any image using a map
Stars: ✭ 162 (+458.62%)
Mutual labels:  poster
tmdb-api
This Kotlin Multiplatform library is for accessing the TMDB API to get movie and TV show content. Using for Android, iOS, and JS projects.
Stars: ✭ 31 (+6.9%)
Mutual labels:  poster
Pics
Posters, drawings...
Stars: ✭ 5,508 (+18893.1%)
Mutual labels:  poster
percona-qa
Percona QA is a suite of scripts and utilities that assists in building, continuous integration, automated testing & bug reporting for Percona Server, Percona XtraDB Cluster, Percona XtraBackup, Percona Server for MongoDB, as well as other flavors of MySQL (Oracle, Facebook MyQSL, WebScaleSQL, MariaDB) etc.
Stars: ✭ 55 (+89.66%)
Mutual labels:  ps
postr
Prepare reproducible R Markdown posters
Stars: ✭ 68 (+134.48%)
Mutual labels:  poster
DroidShows
A Reboot of DroidSeries Offline TV Shows Tracker
Stars: ✭ 69 (+137.93%)
Mutual labels:  poster
uni-pushy-server
upushy 热更新后端。https://upushy.yoouu.cn/
Stars: ✭ 30 (+3.45%)
Mutual labels:  uni-app
fast-poster
🔥🔥🔥 fastposter海报生成器,电商海报编辑器,电商海报设计器,fast快速生成海报 自定义海报制作 海报开发。二维码海报,图片海报,分享海报,二维码推广海报,支持Java Python PHP Go JS 小程序。基于Vue 和Pillow 演示地址:https://poster.prodapi.cn/
Stars: ✭ 329 (+1034.48%)
Mutual labels:  poster
PS-FCN Poster LaTex
LaTex Poster for PS-FCN (ECCV 2018)
Stars: ✭ 41 (+41.38%)
Mutual labels:  poster
uniapp-huanxin-kefu
uni-app接入android原生环信客服
Stars: ✭ 36 (+24.14%)
Mutual labels:  uni-app
RepSeP
Reproducible Self-Publishing - Demo Publications in the Most Common Formats
Stars: ✭ 14 (-51.72%)
Mutual labels:  poster
Plex-Movie-Poster-Display
Scraps the Plex sessions page to display the current playing movie or TV show poster on a screen.
Stars: ✭ 113 (+289.66%)
Mutual labels:  poster
clappr-plugins
Main plugins for the Clappr project
Stars: ✭ 22 (-24.14%)
Mutual labels:  poster
NightSky
A way to avoid paying 50 bucks by using some js to generate an image of the night sky at specific time and location. 🌑
Stars: ✭ 49 (+68.97%)
Mutual labels:  poster
cpu monitor
ROS node that publishes all nodes' CPU and memory usage
Stars: ✭ 52 (+79.31%)
Mutual labels:  ps
uni-lb-picker
uni-app picker选择器,可自定义,扩展性高,支持单选及理论任意级数多级联动选择。
Stars: ✭ 42 (+44.83%)
Mutual labels:  uni-app
showModal
适用于uni-app 的跨端显示弹层,使用接口参数与uni-app 中的showModal参数一致
Stars: ✭ 67 (+131.03%)
Mutual labels:  uni-app

迷你PS小程序

作者:zixiCat 小号:TensionMax(该仓库已转移至zixiCat)

个人制作,基于uni-app框架搭建的可实现图文多方位编辑并生成海报的一款轻巧小程序。集成的开放式海报,油墨电子签名,图片拖拽模块可单独食用


rgRtWq.jpg

思路讲解/效果展示

https://segmentfault.com/a/1190000021554981
https://www.cnblogs.com/TensionMax/p/12179726.html

开放式海报

属性 类型 默认 说明
canvasW Number 720 海报宽度,单位rpx
canvasH Number 1000 海报高度,单位rpx
img Array 需生成的图片数组
text Array 需生成的文字数组
x Number img/text-距绘制原点的水平距离,单位rpx
y Number img/text-距绘制原点的垂直距离,单位rpx
w Number img/text-宽度,单位rpx
h Number img-高度,单位rpx
r Number img-圆角度数,单位deg
src String img-图片来源
degress Number img-旋转角度,单位deg
mirror Boolean img-是否镜像
content String text-绘制的文本
lineHeight Number text-行间距,单位rpx
color String text-颜色
size Number text-大小,单位rpx
weight String text-是否加粗,允许值normal、bold等
lineThrough Boolean text-是否有贯穿线
maxLineNum Number text-最大行数,超过行数的文字以“ ... ”表示,0为不限制
<template>
<zx-poster ref="poster" :img="imageList" :text="textList" :canvasW="750" :canvasH="1000"></zx-poster>
</template>

<script>
import zxPoster from '@/components/zx-poster.vue'
export default {
components: {
    zxPoster
},
data() {
    return {
        imageList: [{
		//注意不校验合法域名
                src: 'https://s2.ax1x.com/2020/01/11/l4TadS.png',
                x: 200,
                y: 300,
                w: 300,
                h: 300,
                r: 30,
                degrees: 45,
                mirror: false
            }
        ],
        textList: [
            {
                content: 'TensionMaxTensionMaxTensionMaxTensionMaxTensionMaxTensionMaxTensionMax',
                x: 200,
                y: 100,
                w: 300,
                lineHeight: 35,
                color: '#000000',
                size: 30,
                weight: 'normal',
                lineThrough: true,
                maxLineNum: 3
            }
        ]
    }
},
onReady() {
	this.$refs.poster.generate()
}
}
</script>

油墨电子签名

属性 类型 默认 说明
initialLineWidth Number 5 初始线宽 建议1~5
keenness Number 5 油墨程度 建议0~5
<template>
	<zx-sign :initialLineWidth="2" :keenness="5"></zx-sign>
</template>

<script>
	import zxSign from '@/components/zx-sign.vue'
	export default {
		components: {
			zxSign
		}
	}
</script>

图片拖拽

属性 类型 默认 说明
v-model Array 绑定值 图片数组,需进行响应式处理
x Number 绝对定位的left值,单位px
y Number 绝对定位的top值,单位px
w Number 对应元素的宽,单位px
h Number 对应元素的高,单位px
isMove Boolean false 辅助作用
<template>
	<zx-image v-model="imgList"></zx-image>
</template>

<script>
	import zxImage from '@/components/zx-image.vue'
	export default {
		components: {
			zxImage
		},
		data() {
			return {
				imgList: []
			}
		},
		onLoad() {
			this.imgList.push({
				src: 'https://s2.ax1x.com/2020/01/05/lrCDx0.jpg',
				x: 150,
				y: 150,
				w: 200,
				h: 200,
				isMove: false
			})
		}
	}
</script>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].