|
Best Porn Sites | Live Sex | Register | FAQ | Members List | Calendar |
Help Section If you have technical problems or questions then post or look for answers here. |
|
Thread Tools | Display Modes |
July 9th, 2017, 09:40 AM | #1 |
Senior Member
Join Date: Jun 2017
Posts: 135
Thanks: 421
Thanked 2,139 Times in 133 Posts
|
Merging multiple images into a single image
I'm not trying to do photomerging where you combine two separate halves of an image together, but rather I am trying to merge a whole bunch of smaller (tiles) together into a single big image.
If you look at the page at http://tittiesondisplay.com/PBLinks/...hp?y=1979&m=08 it has a whole bunch of smaller images stuck together to form one high resolution centerf0ld. I don't need to do any kind of color matching or alignment as all the various smaller images already fit together. I just need some way to merge them into a single image so I don't have 500 smaller images per picture. |
The Following 5 Users Say Thank You to theLoster For This Useful Post: |
|
July 9th, 2017, 11:33 AM | #2 |
Senior Member
Join Date: Apr 2007
Posts: 131
Thanks: 4,361
Thanked 787 Times in 125 Posts
|
I think you need some script that combine the files looking at the names, because the names look like x and y coordinates, to me...
LE: See this if you have Photoshop: https://forums.adobe.com/thread/492005 or this(not tested by me): https://github.com/Markavian/tile-merger
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. Last edited by pigulici; July 9th, 2017 at 01:34 PM.. |
The Following 8 Users Say Thank You to pigulici For This Useful Post: |
July 9th, 2017, 09:18 PM | #3 |
in memoriam Max
Join Date: Jun 2009
Location: Germany
Posts: 3,586
Thanks: 122,083
Thanked 47,469 Times in 3,337 Posts
|
You really want something that can be scripted here, nobody wants to work on 560 files with mouse clicks. Fortunately that's not too difficult since the big picture is nicely grouped into a grid of 35x16 small images, each one 256x256 pixels (except for the last row which is only 211 pixels high).
The convert command from the ImageMagick suite can stitch these together, I did it the following way (this assumes a shell like bash): Code:
for column in {0..15}; do convert -append 6-$column-{0..34}.jpg ${column}.jpg; done convert +append {0..15}.jpg Dorothy_Stratten.jpg Enjoy!
__________________
Genius may have its limitations, but stupidity is not thus handicapped. |
July 9th, 2017, 11:29 PM | #4 |
Senior Member
Join Date: Jun 2017
Posts: 135
Thanks: 421
Thanked 2,139 Times in 133 Posts
|
Thanks for the heads up on ImageMagick. I've been playing around with it in php. I've been able to assemble various tiles together into a single image. The code I have for displaying it is
Code:
header("Content-Type: image/png"); $combined->setImageFormat("png"); echo $combined; Code:
echo " <img alt=\"Embedded Image\" src=\""; echo $combined; echo "\">"; (disclaimer: I don't know a whole lot about scripting, but I'm pretty good and copying examples and beating on it till I'm able to force it to do what I want) |
July 10th, 2017, 12:04 AM | #5 |
Senior Member
Join Date: Jun 2017
Posts: 135
Thanks: 421
Thanked 2,139 Times in 133 Posts
|
A little more internet searching found the trick for me. The line I ended up with is
Code:
echo "<img src='data:image/png;base64,".base64_encode($combined)."' />"; I'm probably not going to modify the script that I have at the above provided link (sorry). I'd be too afraid that someone might get the impression that I'm hosting the images rather than merely linking back to playb0y for them. I think I will put a link on the index page for them back to here to show others how they might be able to do it (if you don't mind). |
October 2nd, 2020, 05:31 PM | #6 | |
Member
Join Date: Mar 2008
Posts: 99
Thanks: 1,423
Thanked 1,025 Times in 91 Posts
|
Quote:
|
|
The Following User Says Thank You to yag-kosha For This Useful Post: |
October 3rd, 2020, 05:09 AM | #7 |
Senior Member
Join Date: Jun 2017
Posts: 135
Thanks: 421
Thanked 2,139 Times in 133 Posts
|
What's described here would require at least php programming. Also, the individual image tiles on the megazoom page used to be freely available to download from the rabbit company's website, but they are no longer available (at least that I've been able to find).
If you have the patience, you can find some of them still available from the wayback machine (via the link you included). I just checked one and it wasn't there, then checked another and it was, so it seems to be a hit or miss proposition. That alphanumeric stuff you're seeing is the indication that the image tiles are no longer available. |
The Following User Says Thank You to theLoster For This Useful Post: |
September 14th, 2023, 01:26 AM | #8 | ||
Junior Member
Join Date: Oct 2018
Posts: 9
Thanks: 3,520
Thanked 81 Times in 9 Posts
|
Sorry for reviving a rather old thread, but the web page in question still links to here, and the info in this thread still contains useful and relevant information. I'll just comment on a couple of points which might be useful for anyone else trying to do the same (kind of) thing.
Quote:
BUT this does not necessarily mean that you can get the full centerf0ld image for every Pl@ymate since 2000 in this way. For example, for Tiffany Toth (Miss September 2011), a few whole columns on the right are missing, so you'd only get a truncated image once you stitch all the tiles together. Unfortunately, what seems like a simple oversight when the web page in question was put together means that only 476 tiles were linked back to the source (the rabbit company's site) when there are probably 544 tiles (my guess) for this one image. You can tell something is definitely amiss since the tiles on the right-edge are 256 pixels wide - the same as a whole tile. It's a pity for anyone late to the party trying to get these zoom centerf0lds as close to the source as possible. There are many of these zoom CF images out there, including even a thread on this forum, but either they are not of the same quality or you cannot be sure that they have not been edited in some way by a third party (which, judging by Exif tags, most of them have been). This might not matter to most, but might bother those who collect such things. Quote:
Ideally all the image data should just be combined without any decoding and re-encoding taking place. Some people might not care about this, but given that these are high-resolution images it could be argued that it is an important point. Stitching the tiles together in a lossless way can be done by using recent versions of jpegtran, as explained here. In the case of these centerf0ld tiles, they are all somewhat conveniently named (6-$C-$R.jpg or sometimes 5-$C-$R.jpg where $C and $R are the 0-based indices for the column and row respectively) that the stitching can easily be done on one (long) line in a shell like bash. Since all the tiles (except those on the right and bottom edges) are 256x256 pixels, the only other info needed in advance is the name and dimensions of the bottom-right corner tile. As an example, assuming that this tile is called 6-15-33.jpg with dimensions 120x192 (so the whole image consists of 16 * 34 = 544 tiles) and no other similar-named image files exist in the same working directory, the stitching can be done as follows (using GNU Parallel for the loop and a simple progress bar): Code:
jpegtran -crop $((15*256+120))x$((33*256+192))+0+0 -outfile big.jpg ?-0-0.jpg && \ parallel -j1 --bar jpegtran -drop '+{=s/^\d-(\d+).*/$1/;$_*=256=}+{=s/^\d-\d+-(\d+).*/$1/;$_*=256=}' {} -outfile big.jpg big.jpg ::: ?-*-*.jpg && \ jpegtran -opt -outfile big.jpg big.jpg (The usual disclaimer applies: you probably should not blindly run these commands without having some idea of what they do. YMMV etc.) |
||
The Following 4 Users Say Thank You to premu For This Useful Post: |
|
|