Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411525 Posts in 69377 Topics- by 58431 Members - Latest Member: Bohdan_Zoshchenko

April 28, 2024, 06:24:53 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperArt (Moderator: JWK5)Pixel art scaling apps/filters ?
Pages: [1]
Print
Author Topic: Pixel art scaling apps/filters ?  (Read 4682 times)
JackieJay
Level 3
***



View Profile WWW
« on: April 19, 2010, 09:49:37 AM »

Does anyone know of any Photoshop filters or any app that could resize images using HQx2 or any other similar pixel art scaling algorithm? 
Been searching around for over a hour and can't find any.  Concerned
Logged

JaJitsu
Level 10
*****


View Profile WWW
« Reply #1 on: April 19, 2010, 09:38:06 PM »

if you want to scale pixels in photoshop just go to image > image size and select 200%

BUT you have to choose "Nearest Neighbor" or else the pixels will become fuzzy
Logged

Core Xii
Level 10
*****


the resident dissident


View Profile WWW
« Reply #2 on: April 20, 2010, 01:54:23 AM »

That's not what he was asking for.

I've been wondering about this myself. There are plenty of libraries implementing such algorithms for applications but really no standalone solutions for scaling individual images.

Maybe there exist Photoshop plugins?
Logged
Ravey
Level 0
***


View Profile
« Reply #3 on: April 20, 2010, 03:50:02 AM »

You can find the algorithms here and Grafx2 supports Lua scripting, maybe it's possible to make scripts to do this for you?
Logged
raleigh
Level 0
**


View Profile
« Reply #4 on: April 21, 2010, 01:07:00 PM »

http://web.archive.org/web/20070624082212/www.hiend3d.com/hq2x.html

There is a link for an executable that works on .bmp and .tga at the bottom of the page.

The good ones like hq2x and 2xSaI aren't ideal for preprocessing though because they antialias so you get bits of the background color mixed in along the edge. I don't know of anything out there right now that supports transparency.
Logged
JackieJay
Level 3
***



View Profile WWW
« Reply #5 on: April 23, 2010, 01:48:34 PM »

Thanks for the links Ravey and raleigh.  Hand Thumbs Up LeftSmiley

btw I tried playing with PS's artistic filters and I got half-decent results, though not exactly what I was looking for.

edit: raleigh,do you know how the does the app in the link you sent me works ?  Tongue
Clicking the executable or dragging a image to it doesn't do anything. I tried recompiling the source but it still doesn't work.  Concerned
« Last Edit: April 23, 2010, 02:01:00 PM by JackieJay » Logged

Hangedman
Level 10
*****


Two milkmen go comedy


View Profile WWW
« Reply #6 on: April 23, 2010, 02:04:51 PM »

run it through dos.

go to the folder: 'programname'.exe 'sourceimage'.tga 'outputimage'.tga

For me it didn't work anyway, so I found a different iteration elsewhere.
Logged

AUST
ITIAMOSIWE (Play it on NG!) - Vision
There but for the grace of unfathomably complex math go I
JackieJay
Level 3
***



View Profile WWW
« Reply #7 on: April 23, 2010, 06:11:42 PM »

I managed to get it working, I had to drag two files into the executable, but it messes with the colors pretty bad.  Undecided
Like what used to be yellow is now blue and vice versa. Basically the only color that remained intact was green, which is kinda odd.
Logged

John Nesky
Level 10
*****


aka shaktool


View Profile WWW
« Reply #8 on: April 23, 2010, 06:19:02 PM »

Did it swap the red and blue color channels? That's not unusual if a program is not careful about color channels.
Logged
Hangedman
Level 10
*****


Two milkmen go comedy


View Profile WWW
« Reply #9 on: April 23, 2010, 06:48:40 PM »

Try other iterations that are out there. I found a different one that works perfectly but you have to manually select the size. Still command line.
Logged

AUST
ITIAMOSIWE (Play it on NG!) - Vision
There but for the grace of unfathomably complex math go I
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic