Jump to content

Recommended Posts

Posted

Hi,

I've tried to create a 'pixel stretch' using an image I found online (attached below). I didn't even know that it was called 'Pixel Stretch' when I first came across the images I had seen. I just liked the cool effect...

image.thumb.png.d5ac815d8ed4a237a15fe48c16a016f4.png

So I masked out the man dancing (below) so I had him on a separate layer, then removed the shadow...

image.thumb.png.5e6da6c14296787325b7d9e117cc7fc7.png

I thought the Image Brush might have been the best way to achieve this, but when you create a strip of the man jumping...

image.png.be7b4bf9a4a4387dbc63fcda4bd0d62f.png

...then create an image brush from it, the image brush does not paint the way it should on the curves because you cannot get the 'Spacing' close enough (the smallest is 1). When you paint a curved stroke using the image brush, it is missing segments on the curve.

Frustrating...

NB. I wish they would make a 'negative' spacing in the Image Brush Settings so that when you painted a curve with the Image Brush those jagged holes on the curve would be eliminated... 

But graphic design is all about finding ways to achieve something that you see (and like) or that a client wants, but you don't know how it was done, so...

I duplicated the strip and created vertical and horizontal guides, then set the centre of rotation of the strip and rotated each new instance of the strip around this point (see screengrab below)...

image.thumb.png.e62fed5a939403639ab58d9238c682d7.png

I created the strip of image until I had a quarter circle of them (rotated around the point you see above. I moved the object's centre point), then I grouped them and rasterised the group so that it was one layer. Then I duplicated it three times until I had a full circle. Then I grouped them and rasterised them too so that it was one layer...

image.thumb.png.9537e8e826b3c83f58babc9a0d23935b.png

...then I placed this circle layer beneath the man jumping and masked out the area of the circle to achieve the 'pixel stretch' effect I was after. I created a shadow (I didn't like the shadow on the original image) and then created a straight line using the original strip of the image by stretching it.

Then, using the Mesh Warp Tool, I dragged the line across itself and manipulated the nodes until it had the effect I was after.

This is how I did it. There may be easier ways. I just don't know them...

It's all in the Affinity Photo file (with layers), which I attach. You can open it and check out the layers.

Try one for yourself. It's quite time-consuming, but if you've seen pixel-stretch images and wondered how it was done, then this is how I did it (cos I wondered too 😶)... 

DelN

Man Jumping Pixel Stretch.afphoto

Posted

Nice job.

some of you assumptions are not true.

  • you can use a image brush to get perfectly stretched strokes, and you can use the „dynamics“ control in brush settings set to rotation to even get rotation variations during brush strokes, and using e.g. keyboard or pressure to control rotation.
  • a brush stabilizer and smooth hand helps to avoid the gaps. You may need to stretch the source image to get it wider. It must be rotated 90 degree (x axis) before creating the brush
  • to get the circle effect, simply make a full canvas brush stroke (quadratic area) and then use rectangular to polar distortion filter to get perfect circle.

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

Thanks, NotMyFault. I tried the Rectangular to Polar distortion filter but I didn't get what I was hoping for. And I used a mouse, so I couldn't use a lighter or heavier stroke as you can with a pen...

But it was fun doing it... 😃

  • 3 months later...
Posted

Nice work!
Noticed with Pixel Stretch, that the edges (each side of the stretch) becomes a bit transparent. Not sure if a bug or "just how it is". But be nice to have clear cut on the edges. Any experience / thoughts from someone tried this?
Thanks!

Posted
13 minutes ago, Darner said:

that the edges (each side of the stretch) becomes a bit transparent. Not sure if a bug or "just how it is"

It’s a bug already reported. 

 

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

That’s not the same issue. Mine was related to the heads and tails of vector brushes. 

I played around with yours and tried to duplicate it and got the same transparent edge. Interestingly it only appeared at certain aspect rations. That is, I could stretch the width of the strip and get transparent edges but if I then stretched it lengthwise the transparency went away. I wondered if it was related to some antialiasing getting baked in and stretched to exaggeration but it’s hard to say. 

the only way I could think of to get rid of it is to use a mask to clip off that transparent section.  Or clip it inside another shape, but that will be hard for your Pixel Stretch Section layer. 
 

it looks cool, though!

Posted

I've noticed that you can stretch a bitmap line (including a pixel stretch line of colours speed from the image, as above) vertcally or horizontally and you get very little pixelation (except maybe at the ends). But pixelation of a bitmap line is worse at some angles more than at others if the line is rotated. If the line is rotated 90 degrees, it is not so noticeable, but if it is rotated only slightly eg 30 degrees, then the pixelation is worse.

When I worked as a graphic designer  we were always looking for a fix for this. I even invested in a small program that 'filled in' the missing pixels, which did do a good job at the time. 

However, I found that working at a higher resolution (300dpi+) also solved the problem.

When I do a pixel stretch, I copy the figure and the pixel stretch line into a separate (larger) image and stretch it there. Then I drop it back into my file. 

Otherwise, when I am attempting a pixel stretch, it goes outside of the canvas and I can no longer see what I am doing and the results are not always what I wanted.

Not sure if this helps you guys.

I have found that you can do a Pixel Stretch using a combination of Symmetry, Mirror, the Mesh Warp Tool and the Perspective Tool and Ctrl J (Repeat), which is how I did the one at the top of this post.

 

 

Posted
1 hour ago, DelN said:

I've noticed that you can stretch a bitmap line (including a pixel stretch line of colours speed from the image, as above) vertcally or horizontally and you get very little pixelation (except maybe at the ends). But pixelation of a bitmap line is worse at some angles more than at others if the line is rotated. If the line is rotated 90 degrees, it is not so noticeable, but if it is rotated only slightly eg 30 degrees, then the pixelation is worse.

When I worked as a graphic designer  we were always looking for a fix for this. I even invested in a small program that 'filled in' the missing pixels, which did do a good job at the time. 

However, I found that working at a higher resolution (300dpi+) also solved the problem.

When I do a pixel stretch, I copy the figure and the pixel stretch line into a separate (larger) image and stretch it there. Then I drop it back into my file. 

Otherwise, when I am attempting a pixel stretch, it goes outside of the canvas and I can no longer see what I am doing and the results are not always what I wanted.

Not sure if this helps you guys.

I have found that you can do a Pixel Stretch using a combination of Symmetry, Mirror, the Mesh Warp Tool and the Perspective Tool and Ctrl J (Repeat), which is how I did the one at the top of this post.

 

 

Tried copy paste original pixel selection to a new artboard and increase the resolution as suggested.
Came across another issue / bug...the document stretches faaaar outside the artboard, as in not able to zoom enough out to see the end of it😂

Posted

He-he! You're having fun today!

1. I would only put the pixel stretch image into a larger file if you need to. Ie if you want to twist and stretch it and it extends out beyond the canvas.

Did you increase the resolution of the image before you pasted the pixel stretch image or after?

I tend to drop the object that I want to stretch into a 300dpi image, rather than change it once I have pasted the pixel stretch image in.

2. And I would only drop it into an image of a higher resolution to see whether you get the same pixelation when you twist and rotate it. Its more of an experiment.

But these are two different issues...

No. 1 above is if you stretch the pixel stretch image beyond the canvas.

No. 2 above is an experiment to see if it solves the pixelation on the edge of the pixel image.

I think I wrote a step-by-step Word doc on how I created my pixel stretch. I'll see if I can find it and post it here.

I'm no expert in pixel stretch. I only did a few to see if I could do it cos I just wondered how it had been done. When I first saw the effect, I loved it. but didn't know what it was called. I now know it's called 'Pixel Stretch'. There are loads of YouTube videos on how you can do it...

 

Posted

No, unfortunately I didn't create a Word doc step-by-step of how I did a pixel stretch, but I explain above how I did mine. I attach my two pixel stretch Affinity Photo files for you to open and look at (if this helps)... 🙂

And familiarise yourself with the Mesh Warp Tool. That's what I used to do mine...

image.png.0b2ad66e4ca439c78a4ea1894dccc218.png

Pixel Stretch on YouTube. This one's good (Photoshop though)...

https://www.youtube.com/watch?v=4YDghCx77rQ

 

Hummingbird Pixel Stretch 03.afphoto Man Jumping 01.afphoto

Posted

Yes familiar with the Mesh Warp, thanks @DelN.
Correction from what wrote earlier...the file is sized well within the doc artboard, but as soon as hitting Mesh Warp, the MW lines for adjustment goes far far far outside the artboard. So far not possible to drag them inside with max zoom out😂

Posted
9 minutes ago, Darner said:

Yes familiar with the Mesh Warp, thanks @DelN.
Correction from what wrote earlier...the file is sized well within the doc artboard, but as soon as hitting Mesh Warp, the MW lines for adjustment goes far far far outside the artboard. So far not possible to drag them inside with max zoom out😂

But...When cutting away the buggy half transparent edges on the sides after dragging the pixels out, it remains within the doc when going Mesh Warp mode.

Posted

Yes, I've had that a few times too. 

Can you size down the pixel stretch layer so that it is really small, do the pixel stretch (if it will let you), then size it back up again. 

Might work...😀

 

Posted
5 minutes ago, Darner said:

But...When cutting away the buggy half transparent edges on the sides after dragging the pixels out, it remains within the doc when going Mesh Warp mode.

Hmmm. Is it possible to do the pixel stretch in stages and join them together afterwards?

 

Posted

As for your pixel stretched circles you referred to earlier that seemed bit tricky process, you can do your pixel strecting, and use "rectangular to polar filter". Might help speeding up the process.

Posted

A live mesh warp is probably far easier 

I used the tiny color stripe, stretched it, rasterized, filled alpha channel to avoid transparency, rasterized again.

then just add a live mesh warp, add 2 nodes in middle horizontal, and play with nodes

 

IMG_2079.png

IMG_2078.png

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted
1 hour ago, Darner said:

As for your pixel stretched circles you referred to earlier that seemed bit tricky process, you can do your pixel strecting, and use "rectangular to polar filter". Might help speeding up the process.

Tried that. It doesn't give a very nice circle at all. It's a kind of out of shape and unfinished circle.

However, what NotMyFault said above sounds interesting. I'm going to check that out myself. 

Thanks, NotMyFault... 😃

Good luck, Darner, on whatever method you use to achieve it. Would love to see the finished result...

49 minutes ago, NotMyFault said:

A live mesh warp is probably far easier 

I used the tiny color stripe, stretched it, rasterized, filled alpha channel to avoid transparency, rasterized again.

then just add a live mesh warp, add 2 nodes in middle horizontal, and play with nodes

 

Posted
1 hour ago, NotMyFault said:

A live mesh warp is probably far easier 

I used the tiny color stripe, stretched it, rasterized, filled alpha channel to avoid transparency, rasterized again.

then just add a live mesh warp, add 2 nodes in middle horizontal, and play with nodes

 

IMG_2079.png

IMG_2078.png

Yes familiar with this method also. Thanks @NotMyFault
Was referring more to having symmetric round circle.
When doing a little bit of mix, the method you showed is of course more efficient.

Posted
17 minutes ago, DelN said:

Tried that. It doesn't give a very nice circle at all. It's a kind of out of shape and unfinished circle.

However, what NotMyFault said above sounds interesting. I'm going to check that out myself. 

Thanks, NotMyFault... 😃

Good luck, Darner, on whatever method you use to achieve it. Would love to see the finished result...

 

@DelN the trick is to first make the canvas 100% squared (all sides equal) and all filled:)
But as mentioned for more abstract, Mesh works better. 
Thank you and good luck yourself!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.