It is currently Wed Jul 24, 2024 2:18 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Enlarge photos?
PostPosted: Mon Mar 26, 2018 9:56 pm  (#1) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7760
Location: On the other side of this screen
I know there is a resize function in gimp. In GMIC there are a couple I think. but are any of them really intended to make smaller photos larger and still be sharp?

Looking on the net I have found smilla enlarger may do this. Has any one here tried it and can you give a review please? Or have you you any other suggestions.

_________________


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Enlarge photos?
PostPosted: Mon Mar 26, 2018 10:35 pm  (#2) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13080
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
sallyanne wrote:
I know there is a resize function in gimp. In GMIC there are a couple I think. but are any of them really intended to make smaller photos larger and still be sharp?

Looking on the net I have found smilla enlarger may do this. Has any one here tried it and can you give a review please? Or have you you any other suggestions.

Never heard of smilla enlarger.
Raster images just don't scale well,
when scaling them much larger or smaller then what they were originally.
There's something called step-scaling,
but I haven't used it and I'm not sure if it's a script or something offered by G'Mic.




Edit: I found this at the plugin registry... http://registry.gimp.org/node/26196

Here's a screenshot of the page.
Image
I'm not sure how well this work,
so your on your own.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Enlarge photos?
PostPosted: Mon Mar 26, 2018 10:56 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7760
Location: On the other side of this screen
Thanks for replying Wallace, I hadn't heard of it before. I thought maybe someone here had since it is open source from source forge and runs using qt.
PUBLISHER'S DESCRIPTION
From Mischa Lusteck: SmillaEnlarger is a small graphical tool ( based on Qt ) to resize, especially magnify bitmaps in high quality. ( The used algorithm is an invention of my own )


But there hasn't been any reviews since 2016 and I think it was a beta version then - page has this years date on it.
Found an updated version on CNET 2017

_________________


Top
 Post subject: Re: Enlarge photos?
PostPosted: Mon Mar 26, 2018 11:06 pm  (#4) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13080
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
sallyanne wrote:
Thanks for replying Wallace, I hadn't heard of it before. I thought maybe someone here had since it is open source from source forge and runs using qt.
PUBLISHER'S DESCRIPTION
From Mischa Lusteck: SmillaEnlarger is a small graphical tool ( based on Qt ) to resize, especially magnify bitmaps in high quality. ( The used algorithm is an invention of my own )


But there hasn't been any reviews since 2016 and I think it was a beta version then - page has this years date on it.


I'm not sure about this application.

I did try out the Step Scaling plugin and was surprise that it seems to work pretty well.

I used 5 steps to scale my avatar.

Image

Here's a before and after.

Image

I also put the plugin together in a .py file,
because it was only available as text.


Attachment:
Step_Scaling.zip [1.35 KiB]
Downloaded 180 times

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Enlarge photos?
PostPosted: Tue Mar 27, 2018 12:00 am  (#5) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7760
Location: On the other side of this screen
Thank you Wallace. It may come in handy

_________________


Top
 Post subject: Re: Enlarge photos?
PostPosted: Tue Mar 27, 2018 12:02 am  (#6) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13080
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
sallyanne wrote:
Thank you Wallace. It may come in handy

Sure thing Sallyanne.
:bigthup

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Enlarge photos?
PostPosted: Tue Mar 27, 2018 1:50 am  (#7) 
Offline
GimpChat Member

Joined: Mar 06, 2015
Posts: 295
Hi

I use the next G'mic Filter Xbr2X .
I Like it - it is a good effect.

Doron


Attachments:
Enlarge.jpg
Enlarge.jpg [ 195.32 KiB | Viewed 4397 times ]
Top
 Post subject: Re: Enlarge photos?
PostPosted: Tue Mar 27, 2018 2:02 am  (#8) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13080
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
doronf2 wrote:
Hi

I use the next G'mic Filter Xbr2X .
I Like it - it is a good effect.

Doron

This does scale nicely,
but from what I can tell.
It doesn't seem to preserve transparency.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Enlarge photos?
PostPosted: Tue Mar 27, 2018 3:34 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 2085
Location: East Midlands of England
For Windows users there is a free version of Reshade that can rescale images. MareroQ even wrote a plugin to make it easy to use from within gimp.

View it here:

viewtopic.php?f=9&t=14308&p=196572&hilit=reshade#p196572

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Selection Highlights v.0.1
Custom Font Links
Tools
Character Paths
White Bases


Top
 Post subject: Re: Enlarge photos?
PostPosted: Tue Mar 27, 2018 4:11 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
It's very rare that I need to upscale an image, but when I do, I use the nnedi3 upscaler. It's the best I've seen yet, but you'll need to learn Avisynth to use it.

Here's a 4x upscale example. Unfortunately it's flattened also, but you can remove the black easy enough..

Attachment:
2101_Wallace_and_Ragu_before000000.jpg
2101_Wallace_and_Ragu_before000000.jpg [ 316.59 KiB | Viewed 4336 times ]


Top
 Post subject: Re: Enlarge photos?
PostPosted: Tue Mar 27, 2018 4:40 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Mar 28, 2016
Posts: 312
Location: Netherlands
For windows I can recommend:

Waifu2x-caffe:
https://github.com/lltcggie/waifu2x-caffe/releases

It works very good with images like Wallaces avatar.

And Fitswork:
https://www.fitswork.de/software/softw_en.php
tutorial:
http://www.astrofriend.eu/astronomy/tut ... swork.html

try: Fitswork>Processing>Image Geometry>.........x2 hi-f sinc
Fitswork>Bearbeiten>Bildgeometrie>Bildgröße x2 hi-f sinc (german)

But you can try the other alternatives in that menu. (also with little neural networks).

@racer-x,

Your sugestion also works with a neural network solution I think?
Do you have a nice link to good tutorials for Avisynth?


Top
 Post subject: Re: Enlarge photos?
PostPosted: Wed Mar 28, 2018 3:56 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
Avisynth is a script based video editor. It's commandline. It's a Windows program, but it works under Wine too. I rarely use it anymore, so can't help with tutorials. I'm sure you can find some out there.

You'll need the nnedi3 filter. It can only upscale in multiples of 2. Example: 2x, 4x, 8x, 16x. Here is the command I used for 4x upscale:

ImageSource("D:\path\to\image.png")
nnedi3_rpow2(4)


Top
 Post subject: Re: Enlarge photos?
PostPosted: Wed Mar 28, 2018 5:27 am  (#13) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2446
sallyanne wrote:
I know there is a resize function in gimp. In GMIC there are a couple I think. but are any of them really intended to make smaller photos larger and still be sharp?

Looking on the net I have found smilla enlarger may do this. Has any one here tried it and can you give a review please? Or have you you any other suggestions.


SmillaEnlarger, a bit of a monster in Windows but a small download in linux ;) . Looks like this:

Image

I tried Smilla years ago and not all that impressed. Seems to generate artefacts and makes big file sizes.

A recommendation - ImageMagick

A long discussion and various algorithms here: https://www.imagemagick.org/Usage/filte ... upsampling

IMHO this one is as good as anything for enlarging and a little sharper.

magick small.png -colorspace RGB +sigmoidal-contrast 7.5 -define filter:window=Jinc -define filter:lobes=3 -resize 400% -sigmoidal-contrast 7.5 -colorspace sRGB bigger.png


but..whatever method used is still just guessing which pixels to add.

_________________
Image


Top
 Post subject: Re: Enlarge photos?
PostPosted: Wed Mar 28, 2018 7:48 am  (#14) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7760
Location: On the other side of this screen
Thank you all.
I really wanted to find out if it could be done with photos. As far as I was aware - once a photo is shrunk you cannot enlarge it again. Tried one of them on a photo today and looks to me like if the information isn't there, enlarging doesn't make any difference.

_________________


Top
 Post subject: Re: Enlarge photos?
PostPosted: Wed Mar 28, 2018 9:27 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Mar 28, 2016
Posts: 312
Location: Netherlands
@racer-x,

Thank you for information.

@sallyanne,
Quote:
As far as I was aware - once a photo is shrunk you cannot enlarge it again. Tried one of them on a photo today and looks to me like if the information isn't there

That is true. If an image is scaled-down, then the image lost pixels, therefore the image lost information.

Some neural network systems, like waifu2x, have good results, because the neural networks are trained on thousands of image pairs ( down-scaled and originals), so the neural network system based image scalers can better "guess" the information that is lost. But it isn't magic, the neural networks never recover the original information that is lost.


Top
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts BRUSH SIZE REDUCE AND ENLARGE (Solved)

7

No new posts How to enlarge the "Preview" window of the Map Object filter?

3

No new posts Attachment(s) Playing with my photos

809

No new posts Attachment(s) two gradients two photos

7

No new posts Attachment(s) turn photos into sketches

14



* Login  



Powered by phpBB3 © phpBB Group