Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Simple stupid alternative to mspaint written in C or C++?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
petan
n00b
n00b


Joined: 18 Jan 2016
Posts: 55

PostPosted: Wed Feb 15, 2017 1:24 pm    Post subject: Simple stupid alternative to mspaint written in C or C++? Reply with quote

Not gimp, not any C# or java based crap. Something that is extremely simple and trivial, open source, brilliant performance even on lame CPU (written in C or C++) that supports elementary imaging operations, especially simple cut and paste, resizing etc.

Right now I have to start mspaint in Virtual Box for simple cut and paste of image, which really sucks...
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Wed Feb 15, 2017 1:38 pm    Post subject: Re: Simple stupid alternative to mspaint written in C or C++ Reply with quote

petan wrote:
Not gimp, not any C# or java based crap. Something that is extremely simple and trivial, open source, brilliant performance even on lame CPU (written in C or C++) that supports elementary imaging operations, especially simple cut and paste, resizing etc.

petan ... media-gfx/xpaint is a simple image editor.

best ... khay
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30916
Location: here

PostPosted: Wed Feb 15, 2017 2:23 pm    Post subject: Reply with quote

If you have some kde component already installed exists kde-apps/kolourpaint
_________________
Questions are guaranteed in life; Answers aren't.


Last edited by fedeliallalinea on Wed Feb 15, 2017 2:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
cboldt
Veteran
Veteran


Joined: 24 Aug 2005
Posts: 1046

PostPosted: Wed Feb 15, 2017 2:42 pm    Post subject: Reply with quote

Not in the portage tree, but readily available, mtpaint is similar to (derived from, I think) xpaint.

xpaint is active. xpaint-2.10.1 was released in December 2016.

https://sourceforge.net/projects/sf-xpaint/files/sf-xpaint/
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Wed Feb 15, 2017 4:15 pm    Post subject: Re: Simple stupid alternative to mspaint written in C or C++ Reply with quote

khayyam wrote:
petan ... media-gfx/xpaint is a simple image editor.

I was interested too, but the upstream is not encouraging. There is no Gentoo dev, but that's no barrier. It looks like there is no upstream code and that IS a problem.
Upstream = http://sf-xpaint.sourceforge.net/


Last edited by Tony0945 on Wed Feb 15, 2017 5:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Wed Feb 15, 2017 5:07 pm    Post subject: Reply with quote

media-gfx/pinta?

Code:
$ eix media-gfx/pinta
* media-gfx/pinta
     Available versions:  1.6-r2 **9999
     Homepage:            http://pinta-project.com
     Description:         Simple Painting for Gtk


https://pinta-project.com/pintaproject/pinta/

Quote:
Pinta: Painting Made Simple

Pinta is a free, open source program for drawing and image editing.

Its goal is to provide users with a simple yet powerful way to draw and manipulate images on Linux, Mac, Windows, and *BSD.

_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
wpkzz
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2013
Posts: 80

PostPosted: Wed Feb 15, 2017 5:28 pm    Post subject: Reply with quote

If you perform
Code:
eix -S paint -c
you will see a couple of other suggestions, there is mypaint, for example, which looks a bit more heavy than what you are asking, and the others allready mentioned. I guess xpaint would be your solution.

Happy cropping!
Back to top
View user's profile Send private message
cboldt
Veteran
Veteran


Joined: 24 Aug 2005
Posts: 1046

PostPosted: Wed Feb 15, 2017 5:36 pm    Post subject: Reply with quote

pinta might be lightweight, but wow, check out what it draws in!

Code:
 # USE=minimal emerge -pv pinta

These are the packages that would be merged:

Calculating dependencies... done!
[ebuild  N     ] media-gfx/pinta-1.6-r2::gentoo  1,411 KiB
[ebuild  N     ]  dev-dotnet/mono-addins-1.0-r1::gentoo  USE="gtk" 537 KiB
[ebuild  N     ]   dev-dotnet/gtk-sharp-2.12.21:2::gentoo  USE="-debug" 2,440 KiB
[ebuild  N     ]    dev-lang/mono-4.4.1.0::gentoo  USE="(-doc) minimal nls -pax_kernel -xen" 83,885 KiB
Back to top
View user's profile Send private message
cboldt
Veteran
Veteran


Joined: 24 Aug 2005
Posts: 1046

PostPosted: Wed Feb 15, 2017 5:39 pm    Post subject: Reply with quote

I use `display`, part of ImageMagick, for resize, rotate, crop and cut, etc. It has plenty of image manipulation tools. Also good for conversion from one image type to another.

Not sure that it qualifies as being C or C++, etc., and it isn't as lightweight as xpaint.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Feb 15, 2017 6:35 pm    Post subject: Reply with quote

If you've already got qt4 installed for other reasons, I think there's a mspaint clone in dev-qt/qtdemo.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Wed Feb 15, 2017 8:18 pm    Post subject: Re: Simple stupid alternative to mspaint written in C or C++ Reply with quote

Tony0945 wrote:
khayyam wrote:
petan ... media-gfx/xpaint is a simple image editor.

It looks like there is no upstream code and that IS a problem. Upstream = http://sf-xpaint.sourceforge.net/

Tony0945 ... see here ... but the ebuild should grab that for you. That said, the ebuild could do with a bump (the most recent package is 2.9.10.3 but there is a 2.10.1 from december 2016).

BTW, like cboldt I use 'convert' from media-gfx/graphicsmagick (or, media-gfx/imagemagick) for resizing, croping, etc, it's pretty simple (and scriptable ... if you need to manipulate multiple images).

Code:
% convert -size 80x80 foo.jpg -resize 80x80 foo-80x80.jpg
% convert -scale 80% foo.jpg foo-80per.jpg
% convert -crop 853x368+0+56 foo.jpg foo-crop.jpg

best ... khay
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Wed Feb 15, 2017 11:14 pm    Post subject: Re: Simple stupid alternative to mspaint written in C or C++ Reply with quote

khayyam wrote:
Tony0945 ... see here ... but the ebuild should grab that for you. That said, the ebuild could do with a bump (the most recent package is 2.9.10.3 but there is a 2.10.1 from december 2016).


Thanks, Khay. Another package without a amaintainer. Pretty soon, I'll have more stuff in my /usr/local/portage than I have official ebuilds installed!

Ok, it's an exaggeration. I just finished an ebuild for the 2014 linuxtv-dvb-apps. The latest in portage is 2010. No maintainer, although it seems all of linuxtv is dead or dying upstream. I'll have to download everything I might use just in case.
Back to top
View user's profile Send private message
cboldt
Veteran
Veteran


Joined: 24 Aug 2005
Posts: 1046

PostPosted: Wed Feb 15, 2017 11:22 pm    Post subject: Re: Simple stupid alternative to mspaint written in C or C++ Reply with quote

Tony0945 wrote:
Pretty soon, I'll have more stuff in my /usr/local/portage than I have official ebuilds installed!

Ok, it's an exaggeration. I just finished an ebuild for the 2014 linuxtv-dvb-apps. The latest in portage is 2010. No maintainer, although it seems all of linuxtv is dead or dying upstream. I'll have to download everything I might use just in case.


Heh. I have a handful in /usr/local/portage. You comment made me LOL.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum