It is currently Mon Jul 22, 2024 2:20 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: removing jagged lines on upsize
PostPosted: Thu Jan 24, 2013 8:57 am  (#1) 
Offline
GimpChat Member

Joined: Jan 24, 2013
Posts: 7
GIMP Version: 2.6.11
Operating System: Windows
OS Version: Windows 7
GIMP Experience: Basic Level

List any relevant plug-ins or scripts:
upsize



Hi all,

As you can see I'm new to the forum, but I've been using GIMP for a few years (at beginner skill level).
Ok, so I want to take this image (1st pic) and resize it to print on a tshirt.
I downloaded the upsize plugin and upsized it.
Thing is, it's now got jagged lines all over the place (2nd pic)

I tried checking out some tutorials and forum threads but they dont give me the desired result.
I've tried:
1. selection to path, then use stroke
2. blur image, then use curves from the colours menu
3. using the magic selection tool with feathering

none of these got it right.
Can you please help me!

Image
Image


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: removing jagged lines on upsize
PostPosted: Thu Jan 24, 2013 9:10 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2012
Posts: 949
Location: Mesa, AZ
Try antialiasing. Those jagged lines should smooth out.

_________________
Image

I now have a Tumblr, check it out!


Top
 Post subject: Re: removing jagged lines on upsize
PostPosted: Thu Jan 24, 2013 9:24 am  (#3) 
Offline
GimpChat Member

Joined: Jan 24, 2013
Posts: 7
ek22 wrote:
Try antialiasing. Those jagged lines should smooth out.

You mean Filters> Enhance > Antialias ?
Tried it now... didn't do anything to the image :(
Looks exactly like before.


Top
 Post subject: Re: removing jagged lines on upsize
PostPosted: Thu Jan 24, 2013 9:30 am  (#4) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Select your image > Alpha to selection > Select NONE > open your path dialogue click the stroke button at the bottom :pap pick a width then click stroke.
If this doesn't work then we can try something else.

_________________
Image


Top
 Post subject: Re: removing jagged lines on upsize
PostPosted: Thu Jan 24, 2013 10:21 am  (#5) 
Offline
GimpChat Member

Joined: Jan 24, 2013
Posts: 7
molly wrote:
Select your image > Alpha to selection > Select NONE > open your path dialogue click the stroke button at the bottom :pap pick a width then click stroke.
If this doesn't work then we can try something else.

when you said "Alpha to selection" Did you mean "Selection to path"?
Cos if i follow the above exactly, there is no path object to work on


Top
 Post subject: Re: removing jagged lines on upsize
PostPosted: Thu Jan 24, 2013 10:53 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
upscaling it always problematic
i think the solution is doing it with Inkscape:
vectorize and then scale

very nice picture btw !


Top
 Post subject: Re: removing jagged lines on upsize
PostPosted: Thu Jan 24, 2013 10:54 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Dec 02, 2012
Posts: 203
Location: Cantabria, Spain
How to did you scale up the pic?.

This is a redraw with inkscape, tracing the bitmap, save as *.svg and upload in Gimp


Attachments:
Selección_817.jpg
Selección_817.jpg [ 187.16 KiB | Viewed 3497 times ]

_________________
Image



My Gimp rides on Antergos (Arch), Linux Mint, Debian and Fedora
Top
 Post subject: Re: removing jagged lines on upsize
PostPosted: Thu Jan 24, 2013 11:02 am  (#8) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
:ninja ,i too agree that will be better use inkscape
------------------------------------------------------------------------------------------------
No she mean Layer menu/Transparency/alpha to selection that will work if there is alpha and transparency.

But i suppose she miss a step somewhere, between "alpha to selection" and "select none"

More the image you posted is a jpg it could not have transparency so i can't see how that could work ("alpha" indicate transparency if no transparency "alpha to selection" cannot work)

The best way to deal with a similar image would be convert to vector , vectors may be scaled at any size without quality loss ,but you would need a vector program (inkscape or illustrator )


With gimp you may try to

1 open the image go to Layers /transparency/add alpha channel
2 now get the color selector tool :colsel
3 chose white (click with the tool on a white spot in the image)
4 look well the selection you need all white selected
5 to really look the selection you should click that tiny rectangle at the lower left bottom of gimp image windows, that it is the Quickmask will show the selection as a red overlay on the image, it is more accurate because the "marching ant " display can't show partially selected pixels.
You may correct the quickmask with any painting tool, including eraser, and clicking again the quickmask toggle you correction will be applied to the selection

6 This is not strictly needed but will help to check for defects in your selection:
create a new layer below of a strong color (red, green), then on your image above do Edit/clear
You should now see clearly if are "white fringes" left or part of the black was eroded in case , correct
removing the white or filling the black

7 do again "alpha to selection" , "Selection to Path" and now you should have a clean path to enlarge and stroke as you wish

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: removing jagged lines on upsize
PostPosted: Thu Jan 24, 2013 11:21 am  (#9) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2445
I am with the vector opinion, to print you probably need an image about 2000 pix wide With a vector you can scale up or down.

I did after a little Gimp processing with autotrace (svg attached)


Image


Attachments:
drone.svg.zip [9.23 KiB]
Downloaded 77 times

_________________
Image
Top
 Post subject: Re: removing jagged lines on upsize
PostPosted: Thu Jan 24, 2013 12:18 pm  (#10) 
Offline
GimpChat Member

Joined: Jan 24, 2013
Posts: 7
Thanks to all for the input and for takign the time to respond!!
@molly : tried it and the result is quite decent, but nothing like the 'vectorise and scale' solution presented above.
@Esper : Thanks... when I search for pics to print on tshirts, the Line Drawing filter on Google Image Search is very handy. You cracked it first... 'vectorise and scale' is the way to go! 10/10! :)
@jamac4k : I used a plugin called upsize to scale it uphttp://registry.gimp.org/node/19582 Wow your result is impressive!
@PhotoComix : I will definitely give it a try, even if it is just to learn more about GIMP and the stroke feature
@rich2005 : Super result! Very impressive! Thank you.

WOW! You are all legendary! Busy installing Inkscape right now. New things to try/learn/break!


Top
 Post subject: Re: removing jagged lines on upsize
PostPosted: Thu Jan 24, 2013 8:08 pm  (#11) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Quote:
@PhotoComix : I will definitely give it a try, even if it is just to learn more about GIMP and the stroke feature


You may well give a try but better use the right tool for the right task, to enlarge THAT type of images most neat and simple solution is to convert in Vector,as example use Inkscape to convert in svg

In this case is so simple, only black on white, no gradient fill no photographic details ideal to be painlessly converted in a vector

That i suggested would be more useful to clean the outer edges of images that could not be so easily converted in Vectorial .

Also about the filter you used first i believe that was designed for more "photographic " image and the method to use to scale at best a photography is very different for that would be needed to scale 1bit image as was your, i mean there you should consider only Black OR White , one OR the other, with no intermediate tones , no gray in the middle, not even dithering to emulate gray (if scaled dithering easy create sort of moire effect ) ...that is just the contrary of what was designed to scale :

For photography or other type of graphic are millions of colours that need to be considered and that require a totally different approach, and in case that filter should work much better (but upscaling is always critical for image based on pixels,because the more you enlarge a pixel more will tend to look blocky and squared, and so oblique lines will tend to become more and more jaggy.

There are methods to minimize the visible defects but anyway scaling is always critical and scaling up the most critical

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Removing flare

2

No new posts Removing a mask?

2

No new posts Attachment(s) Descreening or removing moire?

5

No new posts Attachment(s) removing px from the bottom of a image

4

No new posts Help removing mask from face

2



* Login  



Powered by phpBB3 © phpBB Group