Ego Eram Reputo Posted February 12, 2012 Share Posted February 12, 2012 Try searching for the Photo Shop mesh file format. This is the format that Liquify uses. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted May 22, 2012 Share Posted May 22, 2012 Recommended this plugin again today. I love it! I tickled the donate button - hope this is making Pyrochild plenty! Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
pyrochild Posted January 30, 2016 Author Share Posted January 30, 2016 Update: - Fixed color window showing alpha = 0 when a color is opaque black Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
pyrochild Posted April 3, 2016 Author Share Posted April 3, 2016 Liquify is on GitHub! Go check it out! https://github.com/bsneeze/pdn-liquify 2 Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Rickhum Posted August 22, 2016 Share Posted August 22, 2016 Top plugin pyrochild. I've used it for Ebru effects (marbling) and for tricky tweaks. Used it a lot in some of my abstracts as well. 1 Quote “Go as far as you can see; when you get there, you'll be able to see further.” ― Thomas Carlyle Link to comment Share on other sites More sharing options...
BoltBait Posted August 27, 2017 Share Posted August 27, 2017 I can't believe I've never posted on this thread telling you how awesome I think this plugin is. Absolutely brilliant! I love it! 1 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
nicknack23 Posted August 21, 2018 Share Posted August 21, 2018 Photoshop has changed the file format of .msh files created in Photoshop's Liquify. The newer .msh files are much smaller (50-300 kB) compared to the original .msh files which were often 15+ MB each. Probably Adobe is just compressing the old files, but I suspect the compression is lossy because of the massive reduction in file size. The old larger files can still be imported in Photoshop but can only be saved in the new smaller format. What this means is that Paint.net's Liquify is now only partly compatible with Photoshop's. Meshes created in Paint.net can be imported into Photoshop, but not the other way around. So I'd like to know: will the plugin be updated to read Photoshop's newer format? And in any case, would anyone be willing to speculate on how the new meshes may be being compressed? That could help any reverse engineering attempts ... Quote Link to comment Share on other sites More sharing options...
pyrochild Posted August 23, 2018 Author Share Posted August 23, 2018 I don't have Photoshop. Could you attach: A .msh exported from Photoshop Dimensions of the image it was created for Before and after image of the mesh's distortion Then I can take a look... no promises Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
nicknack23 Posted August 26, 2018 Share Posted August 26, 2018 No problem. I made three PNGs of various sizes and used the "push brush" twice in Liquify to make simple test meshes. Dimensions are in the file names. The resulting zip file is too big to attach (still only 1.4 MB), but here's a link to Mega.nz: https://mega.nz/#!We5QkARI!2-qD_qK2e8ADnYJcT578x9RxXo4uvBH0rXeDPeR-pRU I understand there are no promises when trying to reverse engineer something, but thanks a lot for trying! Quote Link to comment Share on other sites More sharing options...
nicknack23 Posted November 23, 2018 Share Posted November 23, 2018 Hey pyrochild, I assume you didn't manage to crack this since I haven't heard anything. But I'm going to need to look into this myself, so please let me know if you made any progress at all that could give me a head start. For example, any thoughts on what kind of compression Adobe is using to get such large compression ratios (see my previous post)? Quote Link to comment Share on other sites More sharing options...
Sigurd Posted March 14, 2019 Share Posted March 14, 2019 Not using paint.net myself (actually making competing app), but since we're all helping each other out. (Yes, it seems new mesh format isn't saving as much data, width/height are smaller than original width/height) Last bit of my code: if (version === 2) { var width = stream.readUint32(); var height = stream.readUint32(); ... } else // version === 4 { var width = stream.readUint32(); var height = stream.readUint32(); if (width > 32768 || height > 32768) { throw new Error("Liquify Mesh File - width or height too large"); } var _unknown0 = stream.readUint32(); var _unknown1 = stream.readUint32(); var _unknown2 = stream.readUint32(); var _unknown3 = stream.readUint32(); var width2 = stream.readUint32(); var height2 = stream.readUint32(); var _unknown4 = stream.readUint32(); var _unknown5 = stream.readUint32(); var width3 = stream.readUint32(); var height3 = stream.readUint32(); var data = new Float32Array(width*height * 2); for (var y = 0; y < height; ++y) { var x = 0; while (x < width) { var skip = stream.readUint32(); x += skip; if (x >= width) { if (x !== width) { throw new Error("Error in file"); } continue; } var offset = (y * width + x) * 2; var count = stream.readUint32(); for (var xend = x+count; x < xend; ++x) { data[offset++] = stream.readFloat32() / width; data[offset++] = stream.readFloat32() / height; } } } assert(stream.pos === stream.length); Quote Link to comment Share on other sites More sharing options...
nicknack23 Posted June 16, 2019 Share Posted June 16, 2019 Wow, thank you so much @Sigurd! So if I'm reading your code right, it seems all Adobe did in the new Liquify file format is to scale down mesh width and height by a factor 4 (each) and implemented a simple compression scheme that skips consecutive zero displacement vectors at the start and end of each line. And to compensate for the lower mesh resolution, displacements are stored as double precision floats instead of single precision. Is that correct? Do you know what width2, height2, width3 and height3 represent? They seem unused in your code. Would you like to share what competing app you're developing? Looks like Javascript so I'm guessing a web app. Great work and thanks again for sharing! Quote Link to comment Share on other sites More sharing options...
Daveth'st Posted June 19, 2019 Share Posted June 19, 2019 hey so I know it's a lil bit late but yeh tried your plugin recently and the result was way too much pixelated, so I'm asking you if I can do something to fix this or if I can just wait some update, thank you! Quote Link to comment Share on other sites More sharing options...
CybOn Posted August 7, 2019 Share Posted August 7, 2019 Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 7, 2019 Share Posted August 7, 2019 @CybOn, your hard drive is at capacity. You should delete or move some stuff off of it. Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
CybOn Posted August 16, 2019 Share Posted August 16, 2019 On 8/7/2019 at 8:24 PM, toe_head2001 said: @CybOn, your hard drive is at capacity. You should delete or move some stuff off of it. i had 10 GB free now its down to 2 out of nowhere. wtf Quote Link to comment Share on other sites More sharing options...
thesammy58 Posted October 20, 2019 Share Posted October 20, 2019 (edited) First off, I want to say that this is by far the plugin I've used most for a few years now. Simple and easy to utilize. So thank you for that! 4 quick gripes/suggestions that you're of course welcome to take with a grain of salt: -Undo/redo is very slow with larger adjustments -The entire paint.net application will crash if your brush size is too large (~700px, which is sometimes needed for high resolutions) -- I've lost work to this -Using the effect near the edge of an image reveals a "wall" against the edge that can't be adjusted -I frequently find myself wishing I could liquify an image while still being able to see the layers above/below it, too Again, I love all of your work, having made use of it for years now. These are just the wishes/issues I've encountered the most. But hey, it's free! 😛 Edited October 20, 2019 by thesammy58 Quote Link to comment Share on other sites More sharing options...
MJW Posted October 20, 2019 Share Posted October 20, 2019 On 10/19/2019 at 7:48 PM, thesammy58 said: I frequently find myself wishing I could liquify an image while still being able to see the layers above/below it, too Unfortunately, that's currently not possible for plugins that operate in separate windows, as Liquefy does. Plugins don't have access to information from any layers except the active layer. However (as you may or may not already know), by right-clicking on the image in Liquify, you can select the Clipboard as the background image. This allows you to copy the merged lower layers to the Clipboard (with Ctrl+Shift+C), then use that as the Liquify background image. Not as good as having the other layers visible, but nevertheless very useful. 1 2 Quote Link to comment Share on other sites More sharing options...
nery89 Posted April 20, 2020 Share Posted April 20, 2020 Would it be possible to add an overlay (not editable) to the image being warped/liquified? I need it in order to have a reference to where pushing the image towards my custom UV... like this one... Quote Link to comment Share on other sites More sharing options...
lolzerper37 Posted May 21, 2021 Share Posted May 21, 2021 Is it possible for this plugin to show other layers? Quote Link to comment Share on other sites More sharing options...
ardneh Posted May 21, 2021 Share Posted May 21, 2021 Yes. Make the layer you want to work on not visible. Press Ctrl+Shift C Open Liquify Right-click From Clipboard 2 1 Quote Link to comment Share on other sites More sharing options...
JustHaven Posted January 20, 2022 Share Posted January 20, 2022 Can there be a way to overlay a .png image as a guideline? Kind of like those face warp videos on TikTok? Quote Link to comment Share on other sites More sharing options...
thesammy58 Posted November 2, 2022 Share Posted November 2, 2022 On 1/19/2022 at 7:46 PM, JustHaven said: Can there be a way to overlay a .png image as a guideline? Kind of like those face warp videos on TikTok? Doesn't look like it. My solution would be to do the reverse--set your guideline image as the background in Liquify so that you can match the two images up. Ideally you would be able to make the layer you're editing slightly transparent so you can see things better but it doesn't look like layer transparency is taken in to account when using the Liquify editor. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.