精华内容
下载资源
问答
  • 代码转二维码
    2021-04-12 14:38:59


    package cn.itcast.action;
     
    import java.awt.image.BufferedImage;
    import java.io.File;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.Map;
     
    import javax.imageio.ImageIO;
    import javax.swing.filechooser.FileSystemView;
     
    import com.google.zxing.BarcodeFormat;
    import com.google.zxing.EncodeHintType;
    import com.google.zxing.MultiFormatWriter;
    import com.google.zxing.common.BitMatrix;
     
    public class QrCodeUtil {
     
        public static void main(String[] args) {
            String url = "http://t.cn/RdZMeZJ111111";
            String path = FileSystemView.getFileSystemView().getHomeDirectory() + File.separator + "testQrcode";
            System.out.println(path);
            String fileName = new SimpleDateFormat("yyyyMMddHHmmss").format(new Date()) + ".jpg";
            createQrCode(url, path, fileName);
        }
     
        public static String createQrCode(String url, String path, String fileName) {
            try {
                Map<EncodeHintType, String> hints = new HashMap<>();
                hints.put(EncodeHintType.CHARACTER_SET, "UTF-8");
                BitMatrix bitMatrix = new MultiFormatWriter().encode(url, BarcodeFormat.QR_CODE, 400, 400, hints);
                File file = new File(path, fileName);
                if (file.exists() || ((file.getParentFile().exists() || file.getParentFile().mkdirs()) && file.createNewFile())) {
                    writeToFile(bitMatrix, "jpg", file);
                    System.out.println("测试完成:" + file);
                }
     
            } catch (Exception e) {
                e.printStackTrace();
            }
            return null;
        }
     
        static void writeToFile(BitMatrix matrix, String format, File file) throws IOException {
            BufferedImage image = toBufferedImage(matrix);
            if (!ImageIO.write(image, format, file)) {
                throw new IOException("Could not write an image of format " + format + " to " + file);
            }
        }
     
        static void writeToStream(BitMatrix matrix, String format, OutputStream stream) throws IOException {
            BufferedImage image = toBufferedImage(matrix);
            if (!ImageIO.write(image, format, stream)) {
                throw new IOException("Could not write an image of format " + format);
            }
        }
     
        private static final int BLACK = 0xFF000000;
        private static final int WHITE = 0xFFFFFFFF;
     
        private static BufferedImage toBufferedImage(BitMatrix matrix) {
            int width = matrix.getWidth();
            int height = matrix.getHeight();
            BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
            for (int x = 0; x < width; x++) {
                for (int y = 0; y < height; y++) {
                    image.setRGB(x, y, matrix.get(x, y) ? BLACK : WHITE);
                }
            }
            return image;
        }
     
    }

    本文是短链接生成二维码图片保存到本地的一个实例demo

    核心包是

    core-3.1.0.jar  自己下载吧

    更多相关内容
  • vb纯代码生成二维码代码,支持低中高容错生成
  • 代码生成二维码(自动更新自动打印)
  • 二维码生成,这是一个html5生成二维码代码,可以参考利用
  • 背景二维码是越来越流行了,很多地方都有可能是使用到。如果是静态的二维码还是比较好处理的,通过在线工具就可以直接生成一张二维码图片,比如:草料二维码。但有的时候是需要动态生成的(根据动态数据...

    背景

    二维码是越来越流行了,很多地方都有可能是使用到。如果是静态的二维码还是比较好处理的,通过在线工具就可以直接生成一张二维码图片,比如:草料二维码。但有的时候是需要动态生成的(根据动态数据生成),这个使用在线就工具就无法实现了。最好是能在代码中直接生成一个二维码图片,这里我就介绍下使用QRCoder类库在代码中生成二维码。

    网上生成二维码的组件还是挺多的,但是真正好用且快速的却不多。QRCoder就是我在众多中找到的,它的生成速度快、而且使用也相当方便。

    开始编码

    1、安装 QRCoder组件。在项目上通过NuGet包管理器来安装,搜索名称:QRCoder

    2、在代码中添加引用:using QRCoder;

    3、编码生成

      private void RenderQrCode()
            {
                string level = comboBoxECC.SelectedItem.ToString();
                QRCodeGenerator.ECCLevel eccLevel = (QRCodeGenerator.ECCLevel)(level == "L" ? 0 : level == "M" ? 1 : level == "Q" ? 2 : 3);
                using (QRCodeGenerator qrGenerator = new QRCodeGenerator())
                {
                    using (QRCodeData qrCodeData = qrGenerator.CreateQrCode(textBoxQRCode.Text, eccLevel))
                    {
                        using (QRCode qrCode = new QRCode(qrCodeData))
                        {
    
    
                            pictureBoxQRCode.BackgroundImage = qrCode.GetGraphic(20, Color.Black, Color.White,
                                GetIconBitmap(), (int) iconSize.Value);
    
    
                             this.pictureBoxQRCode.Size = new System.Drawing.Size(pictureBoxQRCode.Width, pictureBoxQRCode.Height);
                            //Set the SizeMode to center the image.
                            this.pictureBoxQRCode.SizeMode = PictureBoxSizeMode.CenterImage;
    
    
                            pictureBoxQRCode.SizeMode = PictureBoxSizeMode.StretchImage;
                        }
                    }
                }
            }
    

    运行效果

    上面代码运行的结果

    加个Logo吧

    还可以加上logo

      private Bitmap GetIconBitmap()
            {
                Bitmap img = null;
                if (iconPath.Text.Length > 0)
                {
                    try
                    {
                        img = new Bitmap(iconPath.Text);
                    }
                    catch (Exception)
                    {
                    }
                }
                return img;
            }
    

    完整代码

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using QRCoder;
    using System.Drawing.Imaging;
    using System.IO;
    
    
    namespace QRCoderDemo
    {
        public partial class Form1 : Form
        {
            public Form1()
            {
                InitializeComponent();
            }
    
    
            private void Form1_Load(object sender, EventArgs e)
            {
                comboBoxECC.SelectedIndex = 0; //Pre-select ECC level "L"
                RenderQrCode();
            }
    
    
            private void buttonGenerate_Click(object sender, EventArgs e)
            {
                RenderQrCode();
            }
    
    
            private void RenderQrCode()
            {
                string level = comboBoxECC.SelectedItem.ToString();
                QRCodeGenerator.ECCLevel eccLevel = (QRCodeGenerator.ECCLevel)(level == "L" ? 0 : level == "M" ? 1 : level == "Q" ? 2 : 3);
                using (QRCodeGenerator qrGenerator = new QRCodeGenerator())
                {
                    using (QRCodeData qrCodeData = qrGenerator.CreateQrCode(textBoxQRCode.Text, eccLevel))
                    {
                        using (QRCode qrCode = new QRCode(qrCodeData))
                        {
    
    
                            pictureBoxQRCode.BackgroundImage = qrCode.GetGraphic(20, Color.Black, Color.White,
                                GetIconBitmap(), (int) iconSize.Value);
    
    
                             this.pictureBoxQRCode.Size = new System.Drawing.Size(pictureBoxQRCode.Width, pictureBoxQRCode.Height);
                            //Set the SizeMode to center the image.
                            this.pictureBoxQRCode.SizeMode = PictureBoxSizeMode.CenterImage;
    
    
                            pictureBoxQRCode.SizeMode = PictureBoxSizeMode.StretchImage;
                        }
                    }
                }
            }
    
    
            private Bitmap GetIconBitmap()
            {
                Bitmap img = null;
                if (iconPath.Text.Length > 0)
                {
                    try
                    {
                        img = new Bitmap(iconPath.Text);
                    }
                    catch (Exception)
                    {
                    }
                }
                return img;
            }
    
    
            private void selectIconBtn_Click(object sender, EventArgs e)
            {
                OpenFileDialog openFileDlg = new OpenFileDialog();
                openFileDlg.Title = "Select icon";
                openFileDlg.Multiselect = false;
                openFileDlg.CheckFileExists = true;
                if (openFileDlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    iconPath.Text = openFileDlg.FileName;
                    if (iconSize.Value == 0)
                    {
                        iconSize.Value = 15;
                    }
                }
                else
                {
                    iconPath.Text = "";
                }
            }
    
    
    
    
            private void btn_save_Click(object sender, EventArgs e)
            {
    
    
                // Displays a SaveFileDialog so the user can save the Image
                SaveFileDialog saveFileDialog1 = new SaveFileDialog();
                saveFileDialog1.Filter = "Bitmap Image|*.bmp|PNG Image|*.png|JPeg Image|*.jpg|Gif Image|*.gif";
                saveFileDialog1.Title = "Save an Image File";
                saveFileDialog1.ShowDialog();
    
    
                // If the file name is not an empty string open it for saving.
                if (saveFileDialog1.FileName != "")
                {
                    // Saves the Image via a FileStream created by the OpenFile method.
                    using (FileStream fs = (System.IO.FileStream) saveFileDialog1.OpenFile())
                    {
                        // Saves the Image in the appropriate ImageFormat based upon the
                        // File type selected in the dialog box.
                        // NOTE that the FilterIndex property is one-based.
    
    
                        ImageFormat imageFormat = null;
                        switch (saveFileDialog1.FilterIndex)
                        {
                            case 1:
                                imageFormat = ImageFormat.Bmp;
                                break;
                            case 2:
                                imageFormat = ImageFormat.Png;
                                break;
                            case 3:
                                imageFormat = ImageFormat.Jpeg;
                                break;
                            case 4:
                                imageFormat = ImageFormat.Gif;
                                break;
                            default:
                                throw new NotSupportedException("File extension is not supported");
                        }
    
    
                        pictureBoxQRCode.BackgroundImage.Save(fs, imageFormat);
                        fs.Close();
                    }
                }
    
    
    
    
    
    
    
    
    
    
            }
    
    
            public void ExportToBmp(string path)
            {
    
    
            }
    
    
            private void textBoxQRCode_TextChanged(object sender, EventArgs e)
            {
                RenderQrCode();
            }
    
    
            private void comboBoxECC_SelectedIndexChanged(object sender, EventArgs e)
            {
                RenderQrCode();
            }
        }
    }
    
    
    
    展开全文
  • 二维码识别,matlab代码,内附二维码,内有界面,选择输入,注意输入顺序!
  • Java代码生成二维码

    2018-11-04 19:54:45
    java生成二维码,适用与爬虫学习者,使用import com.swetake.util.Qrcode; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.File;...生成二维码
  • java代码生成二维码

    2017-11-12 20:18:16
    里面包含一个java类和一个要依赖的包,我是用代码直接用,里面有注释
  • Java代码实现二维码生成与解析.pdf
  • python下二进制流文件转二维码

    千次阅读 2019-09-28 16:07:01
    python下二进制流文件转二维码 之前做过的一个ctf中的misc,经过一系列操作得到一个flag.txt 里面是一串二进制流 突然束手无策 经简单计算 260^2=67600 所以尝试能否转化为一个二维码 网上找了好久,没找到好用的...

    python下二进制流文件转二维码

    之前做过的一个ctf中的misc,经过一系列操作得到一个flag.txt
    里面是一串二进制流
    突然束手无策
    在这里插入图片描述
    经简单计算
    260^2=67600
    所以尝试能否转化为一个二维码

    网上找了好久,没找到好用的轮子
    然后果断寻求大佬帮助

    大佬毕竟还是大佬啊
    这里直接祭出源码

    import PIL
    from PIL import Image
    MAX = 260
    img = Image.new("RGB",(MAX,MAX))
    str="0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111100000000000000000000000001111111100000000000000000111111111111111110000000011111111111111111000000000000000001111111100000000111111111111111111111111111111111111111111111111111111111110000000000000000011111111111111111111111111111111111111111111111111111111111000000000000000000000000011111111000000000000000001111111111111111100000000111111111111111110000000000000000011111111000000001111111111111111111111111111111111111111111111111111111111100000000000000000111111111111111111111111111111111111111111111111111111111110000000000000000000000000111111110000000000000000011111111111111111000000001111111111111111100000000000000000111111110000000011111111111111111111111111111111111111111111111111111111111000000000000000001111111111111111111111111111111111111111111111111111111111100000000000000000000000001111111100000000000000000111111111111111110000000011111111111111111000000000000000001111111100000000111111111111111111111111111111111111111111111111111111111110000000000000000011111111111111111111111111111111111111111111111111111111111000000000000000000000000011111111000000000000000001111111111111111100000000111111111111111110000000000000000011111111000000001111111111111111111111111111111111111111111111111111111111100000000000000000111111111111111111111111111111111111111111111111111111111110000000000000000000000000111111110000000000000000011111111111111111000000001111111111111111100000000000000000111111110000000011111111111111111111111111111111111111111111111111111111111000000000000000001111111111111111111111111111111111111111111111111111111111100000000000000000000000001111111100000000000000000111111111111111110000000011111111111111111000000000000000001111111100000000111111111111111111111111111111111111111111111111111111111110000000000000000011111111111111111111111111111111111111111111111111111111111000000000000000000000000011111111000000000000000001111111111111111100000000111111111111111110000000000000000011111111000000001111111111111111111111111111111111111111111111111111111111100000000000000000111111110000000000000000000000000000000000000000001111111110000000000000000111111111111111110000000001111111111111111111111111111111110000000000000000000000000000000000111111110000000011111111100000000000000000000000000000000000000000011111111000000000000000001111111100000000000000000000000000000000000000000011111111100000000000000001111111111111111100000000011111111111111111111111111111111100000000000000000000000000000000001111111100000000111111111000000000000000000000000000000000000000000111111110000000000000000011111111000000000000000000000000000000000000000000111111111000000000000000011111111111111111000000000111111111111111111111111111111111000000000000000000000000000000000011111111000000001111111110000000000000000000000000000000000000000001111111100000000000000000111111110000000000000000000000000000000000000000001111111110000000000000000111111111111111110000000001111111111111111111111111111111110000000000000000000000000000000000111111110000000011111111100000000000000000000000000000000000000000011111111000000000000000001111111100000000000000000000000000000000000000000011111111100000000000000001111111111111111100000000011111111111111111111111111111111100000000000000000000000000000000001111111100000000111111111000000000000000000000000000000000000000000111111110000000000000000011111111000000000000000000000000000000000000000000111111111000000000000000011111111111111111000000000111111111111111111111111111111111000000000000000000000000000000000011111111000000001111111110000000000000000000000000000000000000000001111111100000000000000000111111110000000000000000000000000000000000000000001111111110000000000000000111111111111111110000000001111111111111111111111111111111110000000000000000000000000000000000111111110000000011111111100000000000000000000000000000000000000000011111111000000000000000001111111100000000000000000000000000000000000000000011111111100000000000000001111111111111111100000000011111111111111111111111111111111100000000000000000000000000000000001111111100000000111111111000000000000000000000000000000000000000000111111110000000000000000011111111000000000000000000000000000000000000000000111111111000000000000000011111111111111111000000000111111111111111111111111111111111000000000000000000000000000000000011111111000000001111111110000000000000000000000000000000000000000001111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000111111111111111110000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000011111111100000000111111111111111111111111100000000011111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000001111111111111111100000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000111111111000000001111111111111111111111111000000000111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000000000000011111111111111111000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000001111111110000000011111111111111111111111110000000001111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000111111111111111110000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000011111111100000000111111111111111111111111100000000011111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000001111111111111111100000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000111111111000000001111111111111111111111111000000000111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000000000000011111111111111111000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000001111111110000000011111111111111111111111110000000001111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000111111111111111110000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000011111111100000000111111111111111111111111100000000011111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000001111111111111111100000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000111111111000000001111111111111111111111111000000000111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000000000000000000000011111111000000000000000000000000011111111100000000000000001111111111111111100000000011111111000000001111111110000000011111111111111111111111110000000001111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000000000000111111110000000000000000000000000111111111000000000000000011111111111111111000000000111111110000000011111111100000000111111111111111111111111100000000011111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000000000000001111111100000000000000000000000001111111110000000000000000111111111111111110000000001111111100000000111111111000000001111111111111111111111111000000000111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000000000000000000000011111111000000000000000000000000011111111100000000000000001111111111111111100000000011111111000000001111111110000000011111111111111111111111110000000001111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000000000000111111110000000000000000000000000111111111000000000000000011111111111111111000000000111111110000000011111111100000000111111111111111111111111100000000011111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000000000000001111111100000000000000000000000001111111110000000000000000111111111111111110000000001111111100000000111111111000000001111111111111111111111111000000000111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000000000000000000000011111111000000000000000000000000011111111100000000000000001111111111111111100000000011111111000000001111111110000000011111111111111111111111110000000001111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000000000000111111110000000000000000000000000111111111000000000000000011111111111111111000000000111111110000000011111111100000000111111111111111111111111100000000011111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000111111111111111110000000011111111100000000111111111111111111111111100000000000000000000000001111111111111111100000000111111111000000001111111111111111111111111000000000111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000001111111111111111100000000111111111000000001111111111111111111111111000000000000000000000000011111111111111111000000001111111110000000011111111111111111111111110000000001111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000011111111111111111000000001111111110000000011111111111111111111111110000000000000000000000000111111111111111110000000011111111100000000111111111111111111111111100000000011111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000111111111111111110000000011111111100000000111111111111111111111111100000000000000000000000001111111111111111100000000111111111000000001111111111111111111111111000000000111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000001111111111111111100000000111111111000000001111111111111111111111111000000000000000000000000011111111111111111000000001111111110000000011111111111111111111111110000000001111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000011111111111111111000000001111111110000000011111111111111111111111110000000000000000000000000111111111111111110000000011111111100000000111111111111111111111111100000000011111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000111111111111111110000000011111111100000000111111111111111111111111100000000000000000000000001111111111111111100000000111111111000000001111111111111111111111111000000000111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000001111111111111111100000000111111111000000001111111111111111111111111000000000000000000000000011111111111111111000000001111111110000000011111111111111111111111110000000001111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000011111111111111111000000001111111110000000011111111111111111111111110000000000000000000000000111111111111111110000000011111111100000000111111111111111111111111100000000011111111000000000000000001111111100000000000000000000000000000000000000000011111111100000000111111111111111110000000011111111100000000111111110000000001111111111111111111111111111111110000000001111111100000000111111111000000000000000000000000000000000000000000111111110000000000000000011111111000000000000000000000000000000000000000000111111111000000001111111111111111100000000111111111000000001111111100000000011111111111111111111111111111111100000000011111111000000001111111110000000000000000000000000000000000000000001111111100000000000000000111111110000000000000000000000000000000000000000001111111110000000011111111111111111000000001111111110000000011111111000000000111111111111111111111111111111111000000000111111110000000011111111100000000000000000000000000000000000000000011111111000000000000000001111111100000000000000000000000000000000000000000011111111100000000111111111111111110000000011111111100000000111111110000000001111111111111111111111111111111110000000001111111100000000111111111000000000000000000000000000000000000000000111111110000000000000000011111111000000000000000000000000000000000000000000111111111000000001111111111111111100000000111111111000000001111111100000000011111111111111111111111111111111100000000011111111000000001111111110000000000000000000000000000000000000000001111111100000000000000000111111110000000000000000000000000000000000000000001111111110000000011111111111111111000000001111111110000000011111111000000000111111111111111111111111111111111000000000111111110000000011111111100000000000000000000000000000000000000000011111111000000000000000001111111100000000000000000000000000000000000000000011111111100000000111111111111111110000000011111111100000000111111110000000001111111111111111111111111111111110000000001111111100000000111111111000000000000000000000000000000000000000000111111110000000000000000011111111000000000000000000000000000000000000000000111111111000000001111111111111111100000000111111111000000001111111100000000011111111111111111111111111111111100000000011111111000000001111111110000000000000000000000000000000000000000001111111100000000000000000111111111111111111111111111111111111111111111111111111111110000000011111111000000000111111110000000001111111100000000111111111000000001111111100000000011111111000000000111111110000000011111111111111111111111111111111111111111111111111111111111000000000000000001111111111111111111111111111111111111111111111111111111111100000000111111110000000001111111100000000011111111000000001111111110000000011111111000000000111111110000000001111111100000000111111111111111111111111111111111111111111111111111111111110000000000000000011111111111111111111111111111111111111111111111111111111111000000001111111100000000011111111000000000111111110000000011111111100000000111111110000000001111111100000000011111111000000001111111111111111111111111111111111111111111111111111111111100000000000000000111111111111111111111111111111111111111111111111111111111110000000011111111000000000111111110000000001111111100000000111111111000000001111111100000000011111111000000000111111110000000011111111111111111111111111111111111111111111111111111111111000000000000000001111111111111111111111111111111111111111111111111111111111100000000111111110000000001111111100000000011111111000000001111111110000000011111111000000000111111110000000001111111100000000111111111111111111111111111111111111111111111111111111111110000000000000000011111111111111111111111111111111111111111111111111111111111000000001111111100000000011111111000000000111111110000000011111111100000000111111110000000001111111100000000011111111000000001111111111111111111111111111111111111111111111111111111111100000000000000000111111111111111111111111111111111111111111111111111111111110000000011111111000000000111111110000000001111111100000000111111111000000001111111100000000011111111000000000111111110000000011111111111111111111111111111111111111111111111111111111111000000000000000001111111111111111111111111111111111111111111111111111111111100000000111111110000000001111111100000000011111111000000001111111110000000011111111000000000111111110000000001111111100000000111111111111111111111111111111111111111111111111111111111110000000000000000011111111111111111111111111111111111111111111111111111111111000000001111111100000000011111111000000000111111110000000011111111100000000111111110000000001111111100000000011111111000000001111111111111111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111110000000001111111100000000111111111111111110000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111100000000011111111000000001111111111111111100000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111000000000111111110000000011111111111111111000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111110000000001111111100000000111111111111111110000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111100000000011111111000000001111111111111111100000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111000000000111111110000000011111111111111111000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111110000000001111111100000000111111111111111110000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111100000000011111111000000001111111111111111100000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000011111111111111111111111110000000000000000000000000000000000000000001111111100000000011111111000000001111111111111111100000000011111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000111111111111111111111111100000000000000000000000000000000000000000011111111000000000111111110000000011111111111111111000000000111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000001111111111111111111111111000000000000000000000000000000000000000000111111110000000001111111100000000111111111111111110000000001111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000011111111111111111111111110000000000000000000000000000000000000000001111111100000000011111111000000001111111111111111100000000011111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000111111111111111111111111100000000000000000000000000000000000000000011111111000000000111111110000000011111111111111111000000000111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000001111111111111111111111111000000000000000000000000000000000000000000111111110000000001111111100000000111111111111111110000000001111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000011111111111111111111111110000000000000000000000000000000000000000001111111100000000011111111000000001111111111111111100000000011111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000111111111111111111111111100000000000000000000000000000000000000000011111111000000000111111110000000011111111111111111000000000111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111110000000000000000011111111111111110000000000000000011111111100000000111111110000000001111111111111111111111111000000000000000000000000011111111000000000000000000000000001111111100000000111111111000000000000000000000000000000000000000000000000001111111111111111100000000000000000111111111111111100000000000000000111111111000000001111111100000000011111111111111111111111110000000000000000000000000111111110000000000000000000000000011111111000000001111111110000000000000000000000000000000000000000000000000011111111111111111000000000000000001111111111111111000000000000000001111111110000000011111111000000000111111111111111111111111100000000000000000000000001111111100000000000000000000000000111111110000000011111111100000000000000000000000000000000000000000000000000111111111111111110000000000000000011111111111111110000000000000000011111111100000000111111110000000001111111111111111111111111000000000000000000000000011111111000000000000000000000000001111111100000000111111111000000000000000000000000000000000000000000000000001111111111111111100000000000000000111111111111111100000000000000000111111111000000001111111100000000011111111111111111111111110000000000000000000000000111111110000000000000000000000000011111111000000001111111110000000000000000000000000000000000000000000000000011111111111111111000000000000000001111111111111111000000000000000001111111110000000011111111000000000111111111111111111111111100000000000000000000000001111111100000000000000000000000000111111110000000011111111100000000000000000000000000000000000000000000000000111111111111111110000000000000000011111111111111110000000000000000011111111100000000111111110000000001111111111111111111111111000000000000000000000000011111111000000000000000000000000001111111100000000111111111000000000000000000000000000000000000000000000000001111111111111111100000000000000000111111111111111100000000000000000111111111000000001111111100000000011111111111111111111111110000000000000000000000000111111110000000000000000000000000011111111000000001111111110000000000000000000000000000000000000000000000000011111111111111111000000000000000001111111111111111000000000000000001111111110000000011111111000000000111111111111111111111111100000000000000000000000001111111100000000000000000000000000111111110000000011111111100000000000000000000000000000000000000000000000000111111111111111110000000011111111111111111111111110000000001111111111111111111111111111111110000000000000000000000000111111111111111111111111111111111100000000000000000111111111111111111111111100000000111111111111111110000000000000000000000000000000000000000001111111111111111100000000111111111111111111111111100000000011111111111111111111111111111111100000000000000000000000001111111111111111111111111111111111000000000000000001111111111111111111111111000000001111111111111111100000000000000000000000000000000000000000011111111111111111000000001111111111111111111111111000000000111111111111111111111111111111111000000000000000000000000011111111111111111111111111111111110000000000000000011111111111111111111111110000000011111111111111111000000000000000000000000000000000000000000111111111111111110000000011111111111111111111111110000000001111111111111111111111111111111110000000000000000000000000111111111111111111111111111111111100000000000000000111111111111111111111111100000000111111111111111110000000000000000000000000000000000000000001111111111111111100000000111111111111111111111111100000000011111111111111111111111111111111100000000000000000000000001111111111111111111111111111111111000000000000000001111111111111111111111111000000001111111111111111100000000000000000000000000000000000000000011111111111111111000000001111111111111111111111111000000000111111111111111111111111111111111000000000000000000000000011111111111111111111111111111111110000000000000000011111111111111111111111110000000011111111111111111000000000000000000000000000000000000000000111111111111111110000000011111111111111111111111110000000001111111111111111111111111111111110000000000000000000000000111111111111111111111111111111111100000000000000000111111111111111111111111100000000111111111111111110000000000000000000000000000000000000000001111111111111111100000000111111111111111111111111100000000011111111111111111111111111111111100000000000000000000000001111111111111111111111111111111111000000000000000001111111111111111111111111000000001111111111111111100000000000000000111111110000000001111111111111111000000000000000000000000001111111111111111111111111111111110000000001111111100000000111111111111111111111111111111111100000000000000000000000000000000011111111100000000000000000111111110000000011111111100000000000000000000000001111111100000000011111111111111110000000000000000000000000011111111111111111111111111111111100000000011111111000000001111111111111111111111111111111111000000000000000000000000000000000111111111000000000000000001111111100000000111111111000000000000000000000000011111111000000000111111111111111100000000000000000000000000111111111111111111111111111111111000000000111111110000000011111111111111111111111111111111110000000000000000000000000000000001111111110000000000000000011111111000000001111111110000000000000000000000000111111110000000001111111111111111000000000000000000000000001111111111111111111111111111111110000000001111111100000000111111111111111111111111111111111100000000000000000000000000000000011111111100000000000000000111111110000000011111111100000000000000000000000001111111100000000011111111111111110000000000000000000000000011111111111111111111111111111111100000000011111111000000001111111111111111111111111111111111000000000000000000000000000000000111111111000000000000000001111111100000000111111111000000000000000000000000011111111000000000111111111111111100000000000000000000000000111111111111111111111111111111111000000000111111110000000011111111111111111111111111111111110000000000000000000000000000000001111111110000000000000000011111111000000001111111110000000000000000000000000111111110000000001111111111111111000000000000000000000000001111111111111111111111111111111110000000001111111100000000111111111111111111111111111111111100000000000000000000000000000000011111111100000000000000000111111110000000011111111100000000000000000000000001111111100000000011111111111111110000000000000000000000000011111111111111111111111111111111100000000011111111000000001111111111111111111111111111111111000000000000000000000000000000000111111111000000000000000001111111100000000111111111000000000000000000000000011111111000000000111111111111111100000000000000000000000000111111111111111111111111111111111000000000111111110000000011111111111111111111111111111111110000000000000000000000000000000001111111110000000000000000011111111000000001111111110000000000000000000000000000000000000000001111111100000000000000000111111111111111111111111111111111000000000000000001111111111111111111111111111111111000000001111111100000000000000000000000000111111111111111100000000011111111111111111111111111111111111111111111111111000000000000000000000000000000000011111111000000000000000001111111111111111111111111111111110000000000000000011111111111111111111111111111111110000000011111111000000000000000000000000001111111111111111000000000111111111111111111111111111111111111111111111111110000000000000000000000000000000000111111110000000000000000011111111111111111111111111111111100000000000000000111111111111111111111111111111111100000000111111110000000000000000000000000011111111111111110000000001111111111111111111111111111111111111111111111111100000000000000000000000000000000001111111100000000000000000111111111111111111111111111111111000000000000000001111111111111111111111111111111111000000001111111100000000000000000000000000111111111111111100000000011111111111111111111111111111111111111111111111111000000000000000000000000000000000011111111000000000000000001111111111111111111111111111111110000000000000000011111111111111111111111111111111110000000011111111000000000000000000000000001111111111111111000000000111111111111111111111111111111111111111111111111110000000000000000000000000000000000111111110000000000000000011111111111111111111111111111111100000000000000000111111111111111111111111111111111100000000111111110000000000000000000000000011111111111111110000000001111111111111111111111111111111111111111111111111100000000000000000000000000000000001111111100000000000000000111111111111111111111111111111111000000000000000001111111111111111111111111111111111000000001111111100000000000000000000000000111111111111111100000000011111111111111111111111111111111111111111111111111000000000000000000000000000000000011111111000000000000000001111111111111111111111111111111110000000000000000011111111111111111111111111111111110000000011111111000000000000000000000000001111111111111111000000000111111111111111111111111111111111111111111111111110000000000000000000000000111111111111111110000000000000000011111111000000000111111111111111111111111111111111111111111111111110000000011111111111111111000000001111111110000000000000000011111111000000000000000000000000000000000000000000000000001111111111111111100000000000000000000000001111111111111111100000000000000000111111110000000001111111111111111111111111111111111111111111111111100000000111111111111111110000000011111111100000000000000000111111110000000000000000000000000000000000000000000000000011111111111111111000000000000000000000000011111111111111111000000000000000001111111100000000011111111111111111111111111111111111111111111111111000000001111111111111111100000000111111111000000000000000001111111100000000000000000000000000000000000000000000000000111111111111111110000000000000000000000000111111111111111110000000000000000011111111000000000111111111111111111111111111111111111111111111111110000000011111111111111111000000001111111110000000000000000011111111000000000000000000000000000000000000000000000000001111111111111111100000000000000000000000001111111111111111100000000000000000111111110000000001111111111111111111111111111111111111111111111111100000000111111111111111110000000011111111100000000000000000111111110000000000000000000000000000000000000000000000000011111111111111111000000000000000000000000011111111111111111000000000000000001111111100000000011111111111111111111111111111111111111111111111111000000001111111111111111100000000111111111000000000000000001111111100000000000000000000000000000000000000000000000000111111111111111110000000000000000000000000111111111111111110000000000000000011111111000000000111111111111111111111111111111111111111111111111110000000011111111111111111000000001111111110000000000000000011111111000000000000000000000000000000000000000000000000001111111111111111100000000000000000000000001111111111111111100000000000000000111111110000000001111111111111111111111111111111111111111111111111100000000111111111111111110000000011111111100000000000000000111111110000000000000000000000000000000000000000000000000011111111111111111000000000000000001111111111111111100000000000000000000000001111111111111111111111111111111110000000001111111100000000000000000000000000000000000000000011111111111111111000000001111111111111111111111111000000000000000001111111110000000011111111000000000111111110000000000000000011111111111111111000000000000000000000000011111111111111111111111111111111100000000011111111000000000000000000000000000000000000000000111111111111111110000000011111111111111111111111110000000000000000011111111100000000111111110000000001111111100000000000000000111111111111111110000000000000000000000000111111111111111111111111111111111000000000111111110000000000000000000000000000000000000000001111111111111111100000000111111111111111111111111100000000000000000111111111000000001111111100000000011111111000000000000000001111111111111111100000000000000000000000001111111111111111111111111111111110000000001111111100000000000000000000000000000000000000000011111111111111111000000001111111111111111111111111000000000000000001111111110000000011111111000000000111111110000000000000000011111111111111111000000000000000000000000011111111111111111111111111111111100000000011111111000000000000000000000000000000000000000000111111111111111110000000011111111111111111111111110000000000000000011111111100000000111111110000000001111111100000000000000000111111111111111110000000000000000000000000111111111111111111111111111111111000000000111111110000000000000000000000000000000000000000001111111111111111100000000111111111111111111111111100000000000000000111111111000000001111111100000000011111111000000000000000001111111111111111100000000000000000000000001111111111111111111111111111111110000000001111111100000000000000000000000000000000000000000011111111111111111000000001111111111111111111111111000000000000000001111111110000000011111111000000000111111110000000000000000011111111111111111000000000000000000000000011111111111111111111111111111111100000000011111111000000000000000000000000000000000000000000111111111111111110000000011111111111111111111111110000000000000000011111111100000000111111110000000001111111100000000000000000111111111111111110000000000000000000000000111111111111111111111111111111111000000000111111110000000000000000000000000000000000000000001111111111111111100000000111111111111111111111111100000000000000000111111111000000001111111100000000011111111000000000000000000000000011111111100000000111111111111111111111111100000000000000000000000001111111110000000011111111111111111000000001111111110000000011111111000000000111111110000000001111111100000000000000000111111111111111111111111100000000111111111000000000000000000000000000000000111111111000000001111111111111111111111111000000000000000000000000011111111100000000111111111111111110000000011111111100000000111111110000000001111111100000000011111111000000000000000001111111111111111111111111000000001111111110000000000000000000000000000000001111111110000000011111111111111111111111110000000000000000000000000111111111000000001111111111111111100000000111111111000000001111111100000000011111111000000000111111110000000000000000011111111111111111111111110000000011111111100000000000000000000000000000000011111111100000000111111111111111111111111100000000000000000000000001111111110000000011111111111111111000000001111111110000000011111111000000000111111110000000001111111100000000000000000111111111111111111111111100000000111111111000000000000000000000000000000000111111111000000001111111111111111111111111000000000000000000000000011111111100000000111111111111111110000000011111111100000000111111110000000001111111100000000011111111000000000000000001111111111111111111111111000000001111111110000000000000000000000000000000001111111110000000011111111111111111111111110000000000000000000000000111111111000000001111111111111111100000000111111111000000001111111100000000011111111000000000111111110000000000000000011111111111111111111111110000000011111111100000000000000000000000000000000011111111100000000111111111111111111111111100000000000000000000000001111111110000000011111111111111111000000001111111110000000011111111000000000111111110000000001111111100000000000000000111111111111111111111111100000000111111111000000000000000000000000000000000111111111000000001111111111111111111111111000000000000000000000000011111111100000000111111111111111110000000011111111100000000111111110000000001111111100000000011111111000000000000000001111111111111111111111111000000001111111110000000000000000000000000111111111111111110000000000000000111111111111111111111111111111111111111111111111111000000001111111110000000011111111111111111000000001111111111111111111111111111111111111111111111111100000000011111111000000000000000001111111111111111111111111000000000000000001111111111111111100000000000000001111111111111111111111111111111111111111111111111110000000011111111100000000111111111111111110000000011111111111111111111111111111111111111111111111111000000000111111110000000000000000011111111111111111111111110000000000000000011111111111111111000000000000000011111111111111111111111111111111111111111111111111100000000111111111000000001111111111111111100000000111111111111111111111111111111111111111111111111110000000001111111100000000000000000111111111111111111111111100000000000000000111111111111111110000000000000000111111111111111111111111111111111111111111111111111000000001111111110000000011111111111111111000000001111111111111111111111111111111111111111111111111100000000011111111000000000000000001111111111111111111111111000000000000000001111111111111111100000000000000001111111111111111111111111111111111111111111111111110000000011111111100000000111111111111111110000000011111111111111111111111111111111111111111111111111000000000111111110000000000000000011111111111111111111111110000000000000000011111111111111111000000000000000011111111111111111111111111111111111111111111111111100000000111111111000000001111111111111111100000000111111111111111111111111111111111111111111111111110000000001111111100000000000000000111111111111111111111111100000000000000000111111111111111110000000000000000111111111111111111111111111111111111111111111111111000000001111111110000000011111111111111111000000001111111111111111111111111111111111111111111111111100000000011111111000000000000000001111111111111111111111111000000000000000001111111111111111100000000000000001111111111111111111111111111111111111111111111111110000000011111111100000000111111111111111110000000011111111111111111111111111111111111111111111111111000000000111111110000000000000000011111111111111111111111110000000000000000011111111000000000111111111111111111111111111111111000000000000000000000000000000000011111111111111111000000000000000000000000000000000111111111111111110000000011111111111111111111111110000000001111111111111111100000000000000000000000001111111100000000000000000111111110000000001111111111111111111111111111111110000000000000000000000000000000000111111111111111110000000000000000000000000000000001111111111111111100000000111111111111111111111111100000000011111111111111111000000000000000000000000011111111000000000000000001111111100000000011111111111111111111111111111111100000000000000000000000000000000001111111111111111100000000000000000000000000000000011111111111111111000000001111111111111111111111111000000000111111111111111110000000000000000000000000111111110000000000000000011111111000000000111111111111111111111111111111111000000000000000000000000000000000011111111111111111000000000000000000000000000000000111111111111111110000000011111111111111111111111110000000001111111111111111100000000000000000000000001111111100000000000000000111111110000000001111111111111111111111111111111110000000000000000000000000000000000111111111111111110000000000000000000000000000000001111111111111111100000000111111111111111111111111100000000011111111111111111000000000000000000000000011111111000000000000000001111111100000000011111111111111111111111111111111100000000000000000000000000000000001111111111111111100000000000000000000000000000000011111111111111111000000001111111111111111111111111000000000111111111111111110000000000000000000000000111111110000000000000000011111111000000000111111111111111111111111111111111000000000000000000000000000000000011111111111111111000000000000000000000000000000000111111111111111110000000011111111111111111111111110000000001111111111111111100000000000000000000000001111111100000000000000000111111110000000001111111111111111111111111111111110000000000000000000000000000000000111111111111111110000000000000000000000000000000001111111111111111100000000111111111111111111111111100000000011111111111111111000000000000000000000000011111111000000000000000001111111100000000011111111111111111111111111111111100000000000000000000000000000000001111111111111111100000000000000000000000000000000011111111111111111000000001111111111111111111111111000000000111111111111111110000000000000000000000000111111110000000000000000000000000111111111111111111111111100000000000000000111111111000000000000000011111111111111111111111111000000001111111111111111111111111111111110000000000000000011111111111111111111111111111111110000000000000000000000000111111110000000001111111100000000000000000000000001111111111111111111111111000000000000000001111111110000000000000000111111111111111111111111110000000011111111111111111111111111111111100000000000000000111111111111111111111111111111111100000000000000000000000001111111100000000011111111000000000000000000000000011111111111111111111111110000000000000000011111111100000000000000001111111111111111111111111100000000111111111111111111111111111111111000000000000000001111111111111111111111111111111111000000000000000000000000011111111000000000111111110000000000000000000000000111111111111111111111111100000000000000000111111111000000000000000011111111111111111111111111000000001111111111111111111111111111111110000000000000000011111111111111111111111111111111110000000000000000000000000111111110000000001111111100000000000000000000000001111111111111111111111111000000000000000001111111110000000000000000111111111111111111111111110000000011111111111111111111111111111111100000000000000000111111111111111111111111111111111100000000000000000000000001111111100000000011111111000000000000000000000000011111111111111111111111110000000000000000011111111100000000000000001111111111111111111111111100000000111111111111111111111111111111111000000000000000001111111111111111111111111111111111000000000000000000000000011111111000000000111111110000000000000000000000000111111111111111111111111100000000000000000111111111000000000000000011111111111111111111111111000000001111111111111111111111111111111110000000000000000011111111111111111111111111111111110000000000000000000000000111111110000000001111111100000000000000000000000001111111111111111111111111000000000000000001111111110000000000000000111111111111111111111111110000000011111111111111111111111111111111100000000000000000111111111111111111111111111111111100000000000000000000000001111111100000000011111111000000000000000001111111111111111100000000000000000000000000000000000000000000000000111111111111111111111111111111111100000000000000000000000000000000011111111111111111000000000000000001111111100000000000000000000000001111111110000000011111111000000000000000000000000000000000011111111111111111000000000000000000000000000000000000000000000000001111111111111111111111111111111111000000000000000000000000000000000111111111111111110000000000000000011111111000000000000000000000000011111111100000000111111110000000000000000000000000000000000111111111111111110000000000000000000000000000000000000000000000000011111111111111111111111111111111110000000000000000000000000000000001111111111111111100000000000000000111111110000000000000000000000000111111111000000001111111100000000000000000000000000000000001111111111111111100000000000000000000000000000000000000000000000000111111111111111111111111111111111100000000000000000000000000000000011111111111111111000000000000000001111111100000000000000000000000001111111110000000011111111000000000000000000000000000000000011111111111111111000000000000000000000000000000000000000000000000001111111111111111111111111111111111000000000000000000000000000000000111111111111111110000000000000000011111111000000000000000000000000011111111100000000111111110000000000000000000000000000000000111111111111111110000000000000000000000000000000000000000000000000011111111111111111111111111111111110000000000000000000000000000000001111111111111111100000000000000000111111110000000000000000000000000111111111000000001111111100000000000000000000000000000000001111111111111111100000000000000000000000000000000000000000000000000111111111111111111111111111111111100000000000000000000000000000000011111111111111111000000000000000001111111100000000000000000000000001111111110000000011111111000000000000000000000000000000000011111111111111111000000000000000000000000000000000000000000000000001111111111111111111111111111111111000000000000000000000000000000000111111111111111110000000000000000011111111000000000000000000000000011111111100000000111111110000000000000000000000000000000000111111111111111110000000000000000000000000000000000000000000000000011111111111111111111111111111111110000000000000000000000000000000001111111111111111100000000000000000111111110000000000000000000000000111111111000000001111111100000000000000000000000000000000001111111100000000000000000000000000000000001111111111111111100000000111111110000000000000000011111111111111111111111110000000000000000000000000111111111111111110000000001111111111111111111111111111111111111111110000000011111111000000000000000000000000000000000011111111000000000000000000000000000000000011111111111111111000000001111111100000000000000000111111111111111111111111100000000000000000000000001111111111111111100000000011111111111111111111111111111111111111111100000000111111110000000000000000000000000000000000111111110000000000000000000000000000000000111111111111111110000000011111111000000000000000001111111111111111111111111000000000000000000000000011111111111111111000000000111111111111111111111111111111111111111111000000001111111100000000000000000000000000000000001111111100000000000000000000000000000000001111111111111111100000000111111110000000000000000011111111111111111111111110000000000000000000000000111111111111111110000000001111111111111111111111111111111111111111110000000011111111000000000000000000000000000000000011111111000000000000000000000000000000000011111111111111111000000001111111100000000000000000111111111111111111111111100000000000000000000000001111111111111111100000000011111111111111111111111111111111111111111100000000111111110000000000000000000000000000000000111111110000000000000000000000000000000000111111111111111110000000011111111000000000000000001111111111111111111111111000000000000000000000000011111111111111111000000000111111111111111111111111111111111111111111000000001111111100000000000000000000000000000000001111111100000000000000000000000000000000001111111111111111100000000111111110000000000000000011111111111111111111111110000000000000000000000000111111111111111110000000001111111111111111111111111111111111111111110000000011111111000000000000000000000000000000000011111111000000000000000000000000000000000011111111111111111000000001111111100000000000000000111111111111111111111111100000000000000000000000001111111111111111100000000011111111111111111111111111111111111111111100000000111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111000000000000000011111111100000000000000000111111110000000000000000000000000111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111110000000000000000111111111000000000000000001111111100000000000000000000000001111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111100000000000000001111111110000000000000000011111111000000000000000000000000011111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111000000000000000011111111100000000000000000111111110000000000000000000000000111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111110000000000000000111111111000000000000000001111111100000000000000000000000001111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111100000000000000001111111110000000000000000011111111000000000000000000000000011111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111000000000000000011111111100000000000000000111111110000000000000000000000000111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111110000000000000000111111111000000000000000001111111100000000000000000000000001111111111111111100000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111000000001111111100000000011111111111111111000000001111111111111111111111111000000000000000001111111100000000011111111000000001111111110000000011111111100000000111111110000000001111111100000000000000000111111111111111111111111111111111111111111111111111111111110000000011111111000000000111111111111111110000000011111111111111111111111110000000000000000011111111000000000111111110000000011111111100000000111111111000000001111111100000000011111111000000000000000001111111111111111111111111111111111111111111111111111111111100000000111111110000000001111111111111111100000000111111111111111111111111100000000000000000111111110000000001111111100000000111111111000000001111111110000000011111111000000000111111110000000000000000011111111111111111111111111111111111111111111111111111111111000000001111111100000000011111111111111111000000001111111111111111111111111000000000000000001111111100000000011111111000000001111111110000000011111111100000000111111110000000001111111100000000000000000111111111111111111111111111111111111111111111111111111111110000000011111111000000000111111111111111110000000011111111111111111111111110000000000000000011111111000000000111111110000000011111111100000000111111111000000001111111100000000011111111000000000000000001111111111111111111111111111111111111111111111111111111111100000000111111110000000001111111111111111100000000111111111111111111111111100000000000000000111111110000000001111111100000000111111111000000001111111110000000011111111000000000111111110000000000000000011111111111111111111111111111111111111111111111111111111111000000001111111100000000011111111111111111000000001111111111111111111111111000000000000000001111111100000000011111111000000001111111110000000011111111100000000111111110000000001111111100000000000000000111111111111111111111111111111111111111111111111111111111110000000011111111000000000111111111111111110000000011111111111111111111111110000000000000000011111111000000000111111110000000011111111100000000111111111000000001111111100000000011111111000000000000000001111111111111111111111111111111111111111111111111111111111100000000111111110000000001111111111111111100000000111111111111111111111111100000000000000000111111110000000001111111100000000111111111000000001111111110000000011111111000000000111111110000000000000000011111111000000000000000000000000000000000000000000111111111000000001111111111111111111111111000000000111111111111111100000000011111111000000000000000001111111111111111111111111000000000000000000000000011111111111111111000000000000000001111111100000000000000000111111110000000000000000000000000000000000000000001111111110000000011111111111111111111111110000000001111111111111111000000000111111110000000000000000011111111111111111111111110000000000000000000000000111111111111111110000000000000000011111111000000000000000001111111100000000000000000000000000000000000000000011111111100000000111111111111111111111111100000000011111111111111110000000001111111100000000000000000111111111111111111111111100000000000000000000000001111111111111111100000000000000000111111110000000000000000011111111000000000000000000000000000000000000000000111111111000000001111111111111111111111111000000000111111111111111100000000011111111000000000000000001111111111111111111111111000000000000000000000000011111111111111111000000000000000001111111100000000000000000111111110000000000000000000000000000000000000000001111111110000000011111111111111111111111110000000001111111111111111000000000111111110000000000000000011111111111111111111111110000000000000000000000000111111111111111110000000000000000011111111000000000000000001111111100000000000000000000000000000000000000000011111111100000000111111111111111111111111100000000011111111111111110000000001111111100000000000000000111111111111111111111111100000000000000000000000001111111111111111100000000000000000111111110000000000000000011111111000000000000000000000000000000000000000000111111111000000001111111111111111111111111000000000111111111111111100000000011111111000000000000000001111111111111111111111111000000000000000000000000011111111111111111000000000000000001111111100000000000000000111111110000000000000000000000000000000000000000001111111110000000011111111111111111111111110000000001111111111111111000000000111111110000000000000000011111111111111111111111110000000000000000000000000111111111111111110000000000000000011111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000000000000001111111111111111100000000111111111111111111111111111111111111111111000000001111111111111111111111111111111111111111111111111110000000000000000111111111111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000000000000000000000011111111111111111000000001111111111111111111111111111111111111111110000000011111111111111111111111111111111111111111111111111100000000000000001111111111111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000000000000111111111111111110000000011111111111111111111111111111111111111111100000000111111111111111111111111111111111111111111111111111000000000000000011111111111111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000000000000001111111111111111100000000111111111111111111111111111111111111111111000000001111111111111111111111111111111111111111111111111110000000000000000111111111111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000000000000000000000011111111111111111000000001111111111111111111111111111111111111111110000000011111111111111111111111111111111111111111111111111100000000000000001111111111111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000000000000111111111111111110000000011111111111111111111111111111111111111111100000000111111111111111111111111111111111111111111111111111000000000000000011111111111111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000000000000001111111111111111100000000111111111111111111111111111111111111111111000000001111111111111111111111111111111111111111111111111110000000000000000111111111111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000000000000000000000011111111111111111000000001111111111111111111111111111111111111111110000000011111111111111111111111111111111111111111111111111100000000000000001111111111111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000000000000111111111111111110000000011111111111111111111111111111111111111111100000000111111111111111111111111111111111111111111111111111000000000000000011111111111111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000001111111110000000000000000000000000000000000000000001111111111111111111111111000000001111111110000000011111111111111111111111111111111111111111111111111111111111111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000000000000011111111100000000000000000000000000000000000000000011111111111111111111111110000000011111111100000000111111111111111111111111111111111111111111111111111111111111111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000111111111000000000000000000000000000000000000000000111111111111111111111111100000000111111111000000001111111111111111111111111111111111111111111111111111111111111111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000001111111110000000000000000000000000000000000000000001111111111111111111111111000000001111111110000000011111111111111111111111111111111111111111111111111111111111111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000000000000011111111100000000000000000000000000000000000000000011111111111111111111111110000000011111111100000000111111111111111111111111111111111111111111111111111111111111111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000111111111000000000000000000000000000000000000000000111111111111111111111111100000000111111111000000001111111111111111111111111111111111111111111111111111111111111111111000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000001111111110000000000000000000000000000000000000000001111111111111111111111111000000001111111110000000011111111111111111111111111111111111111111111111111111111111111111110000000000000000011111111000000000111111111111111111111111100000000111111111000000000000000011111111100000000000000000000000000000000000000000011111111111111111111111110000000011111111100000000111111111111111111111111111111111111111111111111111111111111111111100000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000111111111000000000000000001111111100000000000000000000000000000000011111111111111111111111111000000001111111100000000000000000000000000000000001111111111111111100000000000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000001111111110000000000000000011111111000000000000000000000000000000000111111111111111111111111110000000011111111000000000000000000000000000000000011111111111111111000000000000000000000000011111111000000000111111111111111111111111100000000111111111000000000000000011111111100000000000000000111111110000000000000000000000000000000001111111111111111111111111100000000111111110000000000000000000000000000000000111111111111111110000000000000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000111111111000000000000000001111111100000000000000000000000000000000011111111111111111111111111000000001111111100000000000000000000000000000000001111111111111111100000000000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000001111111110000000000000000011111111000000000000000000000000000000000111111111111111111111111110000000011111111000000000000000000000000000000000011111111111111111000000000000000000000000011111111000000000111111111111111111111111100000000111111111000000000000000011111111100000000000000000111111110000000000000000000000000000000001111111111111111111111111100000000111111110000000000000000000000000000000000111111111111111110000000000000000000000000111111110000000001111111111111111111111111000000001111111110000000000000000111111111000000000000000001111111100000000000000000000000000000000011111111111111111111111111000000001111111100000000000000000000000000000000001111111111111111100000000000000000000000001111111100000000011111111111111111111111110000000011111111100000000000000001111111110000000000000000011111111000000000000000000000000000000000111111111111111111111111110000000011111111000000000000000000000000000000000011111111111111111000000000000000000000000011111111000000000000000000000000000000000000000000111111111000000001111111100000000000000000111111111111111110000000011111111111111111000000000000000000000000011111111100000000111111110000000000000000000000000000000000111111111111111111111111100000000000000000111111110000000000000000000000000000000000000000001111111110000000011111111000000000000000001111111111111111100000000111111111111111110000000000000000000000000111111111000000001111111100000000000000000000000000000000001111111111111111111111111000000000000000001111111100000000000000000000000000000000000000000011111111100000000111111110000000000000000011111111111111111000000001111111111111111100000000000000000000000001111111110000000011111111000000000000000000000000000000000011111111111111111111111110000000000000000011111111000000000000000000000000000000000000000000111111111000000001111111100000000000000000111111111111111110000000011111111111111111000000000000000000000000011111111100000000111111110000000000000000000000000000000000111111111111111111111111100000000000000000111111110000000000000000000000000000000000000000001111111110000000011111111000000000000000001111111111111111100000000111111111111111110000000000000000000000000111111111000000001111111100000000000000000000000000000000001111111111111111111111111000000000000000001111111100000000000000000000000000000000000000000011111111100000000111111110000000000000000011111111111111111000000001111111111111111100000000000000000000000001111111110000000011111111000000000000000000000000000000000011111111111111111111111110000000000000000011111111000000000000000000000000000000000000000000111111111000000001111111100000000000000000111111111111111110000000011111111111111111000000000000000000000000011111111100000000111111110000000000000000000000000000000000111111111111111111111111100000000000000000111111110000000000000000000000000000000000000000001111111110000000011111111000000000000000001111111111111111100000000111111111111111110000000000000000000000000111111111000000001111111100000000000000000000000000000000001111111111111111111111111000000000000000001111111100000000000000000000000000000000000000000011111111100000000111111110000000000000000011111111111111111000000001111111111111111100000000000000000000000001111111110000000011111111000000000000000000000000000000000011111111111111111111111110000000000000000011111111111111111111111111111111111111111111111111111111111000000000000000011111111111111111000000000000000001111111100000000011111111000000001111111111111111111111111111111111000000001111111110000000000000000000000000111111111111111110000000000000000000000000111111111111111111111111111111111111111111111111111111111110000000000000000111111111111111110000000000000000011111111000000000111111110000000011111111111111111111111111111111110000000011111111100000000000000000000000001111111111111111100000000000000000000000001111111111111111111111111111111111111111111111111111111111100000000000000001111111111111111100000000000000000111111110000000001111111100000000111111111111111111111111111111111100000000111111111000000000000000000000000011111111111111111000000000000000000000000011111111111111111111111111111111111111111111111111111111111000000000000000011111111111111111000000000000000001111111100000000011111111000000001111111111111111111111111111111111000000001111111110000000000000000000000000111111111111111110000000000000000000000000111111111111111111111111111111111111111111111111111111111110000000000000000111111111111111110000000000000000011111111000000000111111110000000011111111111111111111111111111111110000000011111111100000000000000000000000001111111111111111100000000000000000000000001111111111111111111111111111111111111111111111111111111111100000000000000001111111111111111100000000000000000111111110000000001111111100000000111111111111111111111111111111111100000000111111111000000000000000000000000011111111111111111000000000000000000000000011111111111111111111111111111111111111111111111111111111111000000000000000011111111111111111000000000000000001111111100000000011111111000000001111111111111111111111111111111111000000001111111110000000000000000000000000111111111111111110000000000000000000000000111111111111111111111111111111111111111111111111111111111110000000000000000111111111111111110000000000000000011111111000000000111111110000000011111111111111111111111111111111110000000011111111100000000000000000000000001111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
    i = 0
    for y in range (0,MAX):
    
    
        for x in range (0,MAX):
    
    
            if(str[i] == '1'):
    
    
                img.putpixel([x,y],(0, 0, 0))
    
    
            else:
    
    
                img.putpixel([x,y],(255,255,255))
    
    
            i = i+1
    img.show()
    img.save("flag.png")
    
    

    然后这里需要注意
    win下的PIL并不太容易装
    而kali下集成了python环境,而且内置很多库
    所以这里需要在kali下run
    然后秒出

    在这里插入图片描述
    同时在文件夹下多了一个这玩意
    在这里插入图片描述

    展开全文
  • 本资源使用两种方式生成二维码,一种不带logo,另一种带logo;项目里面已经添加了qrcode等二维码辅助包,不用再下载!直接通过集成工具运行即可
  • 二维码JAVA生成代码
  • 代码生成二维码
  • 最近有朋友问小编这样一个问题,先给大家说下项目需求:扫描二维码打开app如果用户没有这个app则提示它跳转。 用网页直接来调用app是不打可能的,必须原生那边先做一些配置。 首先,安卓和苹果的调用方法是不同的。 ...
  • 大神写的用原生代码生成二维码。 喜欢研究的朋友下载。 不用原生代码生成的demo我之前有发过那个还有条形码的生成 都可以使用
  • 用VBA语言生成二维码
  • 简洁易用,且支持二维码扫描,返回网页顶部功能 默认橘红色,折叠在网页右侧 当鼠标点击后,展开隐藏部分,QQ头像带有一点小动画效果 文字部分可以放或者qq交谈代码等等 使用方法: 1、将lanrenzhijia....
  • 纯CSS右下角固定微信二维码代码是一款仿嘻嘻哈哈右下角固定的二维码代码,无JS。
  • 主要介绍了一行Python代码制作动态二维码的实现,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
  • java 代码生成二维码

    2018-01-12 15:20:53
    使用java代码生成二维码使用java代码生成二维码使用java代码生成二维码使用java代码生成二维码使用java代码生成二维码使用java代码生成二维码使用java代码生成二维码
  • 如何把自己的视频生成二维码,扫一扫二维码,就能直接观看视频?还有,最好不要有任何广告? 能实现吗?能!用酷播云视频二维码,一键搞定! 官网地址:http://www.cuplayer.com/cloud/qrcode.html 上两个...

    如何把自己的视频生成二维码,扫一扫二维码,就能直接观看视频?还有,最好不要有任何广告?

    能实现吗?能!用酷播云视频二维码,一键搞定!

    官网地址http://www.cuplayer.com/cloud/qrcode.html

     

     上两个实际的视频二维码效果吧,大家扫二维码实测效果:

    酷吗?心动吗?哈哈哈!!!

     

    应用场景说明:

    1. 我没有网站,但我想把自己录的视频,生成一个二维码,以分享给朋友(不要含任何广告);
    2. 我是一个小公司,自己没有视频服务器,但我想把自己的产品视频,用二维码的形式发给我的客户(不要其他广告);
    3. 我想把自己的视频,分享到朋友圈中;
    4. 我要把视频直接生成二维码,发给朋友,要求是免费没有广告。

    好吧,都可以实现,是免费的,没有广告的。
    ---------------------

    我的热门文章推荐

     

     

    展开全文
  • 复制代码 代码如下: <?php /**  * 微信公众平台PHP-SDK  * Wechatauth为非官方微信登陆API  * 用户通过扫描网页提供的二维码实现登陆信息获取  * 主要实现如下功能:  * get_login_code() 获取登陆授权...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 152,916
精华内容 61,166
关键字:

代码转二维码